[wp-trac] [WordPress Trac] #34271: Searching for a pages returns posts.

WordPress Trac noreply at wordpress.org
Mon Oct 12 21:35:46 UTC 2015


#34271: Searching for a pages returns posts.
--------------------------+-----------------------------
 Reporter:  dan@…         |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  4.3.1
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:  administration
--------------------------+-----------------------------
Changes (by johnbillion):

 * keywords:  reporter-feedback =>
 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Thanks for the feedback.

 A custom `search.php` in your theme shouldn't affect the admin area
 because this file doesn't get loaded in the admin area. Your theme's
 `functions.php` file does load in the admin area though, so I suspect this
 may be the cause of your problem if it's making unbounded changes to the
 search results query.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34271#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list