fix problem with save

This commit is contained in:
Denis Baranov
2018-07-03 13:29:40 +03:00
parent c1badd0bca
commit 0e6f5d0e2d
4 changed files with 74 additions and 17 deletions
+3 -3
View File
@@ -606,8 +606,6 @@ if ( ! class_exists( 'um\admin\core\Admin_Builder' ) ) {
*
*/
function update_field() {
// var_dump($_POST);
// die;
if ( ! is_user_logged_in() || ! current_user_can( 'manage_options' ) )
die( __('Please login as administrator','ultimate-member') );
@@ -691,7 +689,9 @@ if ( ! class_exists( 'um\admin\core\Admin_Builder' ) ) {
$field_ID = $_metakey;
$field_args = $save[ $_metakey ];
// if () {
//
// }
/**
* UM hook
*