Changeset 3092 for trunk/wp-includes/template-loader.php
- Timestamp:
- 11/15/2005 10:55:24 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template-loader.php
r2958 r3092 17 17 include(get_home_template()); 18 18 exit; 19 } else if ( is_ subpost() && get_subpost_template() ) {20 include(get_ subpost_template());19 } else if ( is_attachment() && get_attachment_template() ) { 20 include(get_attachment_template()); 21 21 exit; 22 22 } else if ( is_single() && get_single_template() ) { 23 if ( is_ subpost() )24 add_filter('the_content', 'prepend_ object');23 if ( is_attachment() ) 24 add_filter('the_content', 'prepend_attachment'); 25 25 include(get_single_template()); 26 26 exit; 27 27 } else if ( is_page() && get_page_template() ) { 28 if ( is_ subpost() )29 add_filter('the_content', 'prepend_ object');28 if ( is_attachment() ) 29 add_filter('the_content', 'prepend_attachment'); 30 30 include(get_page_template()); 31 31 exit;
Note: See TracChangeset
for help on using the changeset viewer.