Changeset 51595
- Timestamp:
- 08/10/2021 05:55:37 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-blocks.php
r51200 r51595 120 120 */ 121 121 $available_templates = wp_get_theme()->get_page_templates( get_post( $post->ID ) ); 122 $available_templates = ! empty( $available_templates ) ? array_ merge(122 $available_templates = ! empty( $available_templates ) ? array_replace( 123 123 array( 124 124 /** This filter is documented in wp-admin/includes/meta-boxes.php */
Note: See TracChangeset
for help on using the changeset viewer.