- added redirect after metatable settings upgrade

This commit is contained in:
nikitasinelnikov
2020-01-03 12:49:26 +02:00
parent 53a3b037d1
commit 26065a1aa3
4 changed files with 19 additions and 5 deletions
@@ -131,6 +131,8 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
update_option( 'um_member_directory_update_meta', time() );
UM()->options()->update( 'member_directory_own_table', true );
wp_send_json_success();
} elseif ( 'um_get_metadata' == $_POST['cb_func'] ) {
global $wpdb;