[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 17:15: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:  3.8.1
Component:  Query         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------
Changes (by SergeyBiryukov):

 * milestone:  Awaiting Review => 3.8.1


Old description:

> 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].

New description:

 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#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list