[wp-trac] [WordPress Trac] #22847: Include search.php to archives template hierarchy

WordPress Trac noreply at wordpress.org
Mon Dec 10 20:47:31 UTC 2012


#22847: Include search.php to archives template hierarchy
-------------------------------+------------------------------
 Reporter:  alexvorn2          |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Template           |     Version:  3.4.2
 Severity:  normal             |  Resolution:
 Keywords:  2nd-opinion close  |
-------------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:  2nd-opinion => 2nd-opinion close


Comment:

 > in the search.php file willget a false result from is_archive
 function...

 Same as in `index.php` (which acts as a fallback if `search.php` is
 missing), so the template isn't actually relevant here. The search results
 page isn't considered an archive, and changing that may cause backwards
 compatibility issues.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22847#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list