Changeset 33272
- Timestamp:
- 07/14/2015 09:58:16 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/template.php
r33239 r33272 28 28 29 29 $template = locate_template( $templates ); 30 30 31 /** 31 32 * Filter the path of the queried template by type. … … 277 278 * 278 279 * Looks for 'front-page.php'. The template path is filterable via the 279 * 'front_page_template' hook.280 * dynamic {@see '$type_template'} hook, e.g. 'frontpage_template'. 280 281 * 281 282 * @since 3.0.0 … … 448 449 * parent template. 449 450 * 450 * The template path is filterable via the 'comments_popup_template' hook. 451 * The template path is filterable via the dynamic {@see '$type_template'} hook, 452 * e.g. 'commentspopup_template'. 451 453 * 452 454 * @since 1.5.0 … … 459 461 $template = get_query_template( 'comments_popup', array( 'comments-popup.php' ) ); 460 462 461 // Backward compat code will be removed in a future release 463 // Backward compat code will be removed in a future release. 462 464 if ('' == $template) 463 465 $template = ABSPATH . WPINC . '/theme-compat/comments-popup.php';
Note: See TracChangeset
for help on using the changeset viewer.