Changeset 35848 for trunk/src/wp-includes/template.php
- Timestamp:
- 12/10/2015 03:05:34 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/template.php
r35413 r35848 467 467 468 468 /** 469 * Retrieve path of comment popup template in current or parent template.470 *471 * Checks for comment popup template in current template, if it exists or in the472 * parent template.473 *474 * The template path is filterable via the dynamic {@see '$type_template'} hook,475 * e.g. 'commentspopup_template'.476 *477 * @since 1.5.0478 *479 * @see get_query_template()480 *481 * @return string Full path to comments popup template file.482 */483 function get_comments_popup_template() {484 $template = get_query_template( 'comments_popup', array( 'comments-popup.php' ) );485 486 // Backward compat code will be removed in a future release.487 if ('' == $template)488 $template = ABSPATH . WPINC . '/theme-compat/comments-popup.php';489 490 return $template;491 }492 493 /**494 469 * Retrieve the name of the highest priority template file that exists. 495 470 *
Note: See TracChangeset
for help on using the changeset viewer.