[wp-trac] [WordPress Trac] #26728: Previous fix for get_queried_object, gives notices for tax queries

WordPress Trac noreply at wordpress.org
Fri Dec 27 15:44:41 UTC 2013


#26728: Previous fix for get_queried_object, gives notices for tax queries
--------------------------+-----------------------------
 Reporter:  layotte       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Query         |    Version:  trunk
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Seeing this notice when browsing to a taxonomy archive page (several
 times):
 'Notice: Undefined variable: query in /home/lew/public_html/wp-
 includes/query.php on line 3274'

 Changed in my patch to $this->is_tax, since $query isn't defined anywhere
 beforehand.

 related [26864], [26634], [26627].

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


More information about the wp-trac mailing list