Changeset 53593 for trunk/src/wp-includes/block-template.php
- Timestamp:
- 06/30/2022 03:46:06 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-template.php
r53093 r53593 313 313 */ 314 314 function _resolve_template_for_new_post( $wp_query ) { 315 if ( ! $wp_query->is_main_query() ) { 316 return; 317 } 318 315 319 remove_filter( 'pre_get_posts', '_resolve_template_for_new_post' ); 316 320
Note: See TracChangeset
for help on using the changeset viewer.