Changeset 60681 for trunk/src/wp-admin/includes/post.php
- Timestamp:
- 08/27/2025 10:32:57 AM (8 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/post.php
r60275 r60681 2443 2443 */ 2444 2444 $script = 'window._wpLoadBlockEditor.then( function() { 2445 wp.data.dispatch( \'core/edit-post\' ).setAvailableMetaBoxesPerLocation( ' . wp_json_encode( $meta_boxes_per_location ) . ' );2445 wp.data.dispatch( \'core/edit-post\' ).setAvailableMetaBoxesPerLocation( ' . wp_json_encode( $meta_boxes_per_location, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ) . ' ); 2446 2446 } );'; 2447 2447
Note: See TracChangeset
for help on using the changeset viewer.