Changeset 13819
- Timestamp:
- 03/26/2010 01:52:43 PM (15 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template-loader.php
r13268 r13819 36 36 elseif ( is_comments_popup() && $template = get_comments_popup_template() ) : 37 37 elseif ( is_paged() && $template = get_paged_template() ) : 38 else if ( file_exists( TEMPLATEPATH . '/index.php' ) ):39 $template = TEMPLATEPATH . '/index.php';38 else : 39 $template = get_index_template(); 40 40 endif; 41 41 if ( $template = apply_filters( 'template_include', $template ) ) -
trunk/wp-includes/theme.php
r13673 r13819 687 687 688 688 /** 689 * Retrieve path of index template in current or parent template. 690 * 691 * @since 3.0.0 692 * 693 * @return string 694 */ 695 function get_index_template() { 696 return get_query_template('index'); 697 } 698 699 /** 689 700 * Retrieve path of 404 template in current or parent template. 690 701 *
Note: See TracChangeset
for help on using the changeset viewer.