mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-17 13:43:38 +09:00
CSS conflicts fixed
This commit is contained in:
@@ -1327,9 +1327,11 @@
|
||||
|
||||
add_submenu_page( $this->slug, __('Forms', $this->slug), __('Forms', $this->slug), 'manage_options', 'edit.php?post_type=um_form', '', '' );
|
||||
|
||||
add_submenu_page( $this->slug, __('Member Levels', $this->slug), __('Member Levels', $this->slug), 'manage_options', 'edit.php?post_type=um_role', '', '' );
|
||||
add_submenu_page( $this->slug, __('User Roles', $this->slug), __('User Roles', $this->slug), 'manage_options', 'edit.php?post_type=um_role', '', '' );
|
||||
|
||||
if ( um_get_option('members_page' ) ){
|
||||
add_submenu_page( $this->slug, __('Member Directories', $this->slug), __('Member Directories', $this->slug), 'manage_options', 'edit.php?post_type=um_directory', '', '' );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
$save[ $_metakey ]['icon'] = '';
|
||||
foreach( $array['post'] as $key => $val){
|
||||
|
||||
if ( substr( $key, 0, 1) === '_' ) { // field attribute
|
||||
if ( substr( $key, 0, 1) === '_' && $val != '' ) { // field attribute
|
||||
$new_key = ltrim ($key,'_');
|
||||
|
||||
if ( $new_key == 'options' ) {
|
||||
|
||||
@@ -23,11 +23,6 @@ class UM_Admin_Enqueue {
|
||||
***/
|
||||
function admin_footer_text() {
|
||||
$copyright = sprintf(__('Thank you for creating with <a href="http://ultimatemember.com">Ultimate Member</a> and <a href="https://wordpress.org">WordPress</a>.','ultimatemember'));
|
||||
|
||||
if ( um_get_option('admin_load_time') == 1 ) {
|
||||
$copyright .= '<br />' . sprintf(__('%1$s queries made in %2$s seconds','ultimatemember'), get_num_queries(), timer_stop(0) );
|
||||
}
|
||||
|
||||
return '<span id="footer-thankyou">' . $copyright . '</span>';
|
||||
}
|
||||
|
||||
|
||||
@@ -309,6 +309,7 @@ class UM_Admin_Metabox {
|
||||
// save
|
||||
delete_post_meta( $post_id, '_um_can_view_roles' );
|
||||
delete_post_meta( $post_id, '_um_can_edit_roles' );
|
||||
delete_post_meta( $post_id, '_um_can_delete_roles' );
|
||||
foreach( $_POST as $k => $v ) {
|
||||
if (strstr($k, '_um_')){
|
||||
update_post_meta( $post_id, $k, $v);
|
||||
|
||||
Reference in New Issue
Block a user