- purge temp files dir upgrade;

This commit is contained in:
nikitozzzzzzz
2018-08-15 12:46:28 +03:00
parent 33c23bd4c2
commit c539b4deab
6 changed files with 15 additions and 29 deletions
+2 -2
View File
@@ -3,14 +3,14 @@
<script type="text/javascript">
jQuery( document ).ready( function() {
//upgrade styles
um_add_upgrade_log( '<?php echo esc_js( __( 'Upgrade Privacy Settings...', 'ultimate-member' ) ) ?>' );
um_add_upgrade_log( '<?php echo esc_js( __( 'Purge temp files dir...', 'ultimate-member' ) ) ?>' );
jQuery.ajax({
url: '<?php echo admin_url( 'admin-ajax.php' ) ?>',
type: 'POST',
dataType: 'json',
data: {
action: 'um_privacy2024'
action: 'um_tempfolder2024'
},
success: function( response ) {
if ( typeof response.data != 'undefined' ) {