Changeset 44244 for trunk/src/wp-admin/includes/meta-boxes.php
- Timestamp:
- 12/16/2018 11:23:38 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 43885
- Property svn:mergeinfo changed
-
trunk/src/wp-admin/includes/meta-boxes.php
r44214 r44244 1464 1464 1465 1465 if ( post_type_supports( $post_type, 'custom-fields' ) ) { 1466 add_meta_box( 'postcustom', __( 'Custom Fields' ), 'post_custom_meta_box', null, 'normal', 'core', array( '__back_compat_meta_box' => true ) ); 1466 $args = array( 1467 '__back_compat_meta_box' => ! (bool) get_user_meta( get_current_user_id(), 'enable_custom_fields', true ), 1468 '__block_editor_compatible_meta_box' => true, 1469 ); 1470 add_meta_box( 'postcustom', __( 'Custom Fields' ), 'post_custom_meta_box', null, 'normal', 'core', $args ); 1467 1471 } 1468 1472
Note: See TracChangeset
for help on using the changeset viewer.