Changeset 14365 for trunk/wp-includes/theme.php
- Timestamp:
- 05/03/2010 09:57:24 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/theme.php
r14360 r14365 984 984 * 985 985 * Checks for comment popup template in current template, if it exists or in the 986 * parent template. If it doesn't exist, then it retrieves the comment-popup.php 987 * file from the WP_FALLBACK_THEME theme. The WP_FALLBACK_THEME theme must then exist for it to 988 * work. 986 * parent template. 989 987 * 990 988 * @since 1.5.0 … … 995 993 function get_comments_popup_template() { 996 994 $template = locate_template(array("comments-popup.php")); 995 996 // Backward compat code will be removed in a future release 997 997 if ('' == $template) 998 $template = get_theme_root() . '/' . WP_FALLBACK_THEME . '/comments-popup.php';998 $template = WPINC . '/theme-compat/comments-popup.php'; 999 999 1000 1000 return apply_filters('comments_popup_template', $template);
Note: See TracChangeset
for help on using the changeset viewer.