Changeset 50981 for trunk/src/wp-admin/includes/nav-menu.php
- Timestamp:
- 05/24/2021 07:58:13 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/nav-menu.php
r50505 r50981 155 155 if ( false === get_user_option( 'managenav-menuscolumnshidden' ) ) { 156 156 $user = wp_get_current_user(); 157 update_user_ option(157 update_user_meta( 158 158 $user->ID, 159 159 'managenav-menuscolumnshidden', … … 164 164 3 => 'description', 165 165 4 => 'title-attribute', 166 ), 167 true 166 ) 168 167 ); 169 168 } … … 200 199 201 200 $user = wp_get_current_user(); 202 update_user_ option( $user->ID, 'metaboxhidden_nav-menus', $hidden_meta_boxes, true);201 update_user_meta( $user->ID, 'metaboxhidden_nav-menus', $hidden_meta_boxes ); 203 202 } 204 203
Note: See TracChangeset
for help on using the changeset viewer.