Changeset 3791 for trunk/wp-includes/template-loader.php
- Timestamp:
- 05/22/2006 10:06:06 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template-loader.php
r3638 r3791 2 2 if ( defined('WP_USE_THEMES') && constant('WP_USE_THEMES') ) { 3 3 do_action('template_redirect'); 4 if ( is_feed() ) { 4 if ( is_robots() ) { 5 do_action('do_robots'); 6 exit; 7 } else if ( is_feed() ) { 5 8 do_feed(); 6 9 exit; … … 56 59 } else { 57 60 // Process feeds and trackbacks even if not using themes. 58 if ( is_feed() ) { 61 if ( is_robots() ) { 62 do_action('do_robots'); 63 exit; 64 } else if ( is_feed() ) { 59 65 do_feed(); 60 66 exit;
Note: See TracChangeset
for help on using the changeset viewer.