Changeset 44244 for trunk/src/wp-admin/includes/template.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/template.php
r44178 r44244 1162 1162 1163 1163 $i++; 1164 $hidden_class = in_array( $box['id'], $hidden ) ? ' hide-if-js' : ''; 1164 // get_hidden_meta_boxes() doesn't apply in the block editor. 1165 $hidden_class = ( ! $screen->is_block_editor() && in_array( $box['id'], $hidden ) ) ? ' hide-if-js' : ''; 1165 1166 echo '<div id="' . $box['id'] . '" class="postbox ' . postbox_classes( $box['id'], $page ) . $hidden_class . '" ' . '>' . "\n"; 1166 1167 if ( 'dashboard_browser_nag' != $box['id'] ) {
Note: See TracChangeset
for help on using the changeset viewer.