Make WordPress Core


Ignore:
Timestamp:
10/07/2016 09:02:39 PM (8 years ago)
Author:
johnbillion
Message:

Themes: Remove paged.php from the theme template hierarchy.

The position of this template within the hierarchy is of so little use that zero themes in the WordPress.org theme directory make use of it. It's second only to index.php in the hierarchy, meaning that any archive template such as category.php or archive.php will be chosen before it.

Fixes #38162
Props ryankienstra for initial patch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/theme.php

    r35849 r38755  
    268268                $this->assertEquals(get_home_template(), get_query_template('home', array('home.php','index.php')));
    269269                $this->assertEquals(get_page_template(), get_query_template('page'));
    270                 $this->assertEquals(get_paged_template(), get_query_template('paged'));
    271270                $this->assertEquals(get_search_template(), get_query_template('search'));
    272271                $this->assertEquals(get_single_template(), get_query_template('single'));
Note: See TracChangeset for help on using the changeset viewer.