[wp-trac] [WordPress Trac] #25677: Avoid notice with search feed without orderby

WordPress Trac noreply at wordpress.org
Wed Oct 23 20:26:40 UTC 2013


#25677: Avoid notice with search feed without orderby
--------------------------+-----------------
 Reporter:  nacin         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  3.7
Component:  Query         |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------
 A conditional assumes that 'orderby' is set as a query variable, but
 that's only fair to assume when we're not looking at feeds. Turns out it
 isn't a query variable that is filled, so we'll need to add an isset
 check.

 This would be minor but a displayed notice could screw up feed parsing.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25677>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list