[wp-trac] [WordPress Trac] #55104: is_main_query() fatal error on null

WordPress Trac noreply at wordpress.org
Mon May 16 14:09:55 UTC 2022


#55104: is_main_query() fatal error on null
-------------------------------------------------+-------------------------
 Reporter:  nhadsall                             |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.1
Component:  Query                                |     Version:
 Severity:  major                                |  Resolution:
 Keywords:  good-first-bug has-patch 2nd-        |     Focuses:
  opinion                                        |
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 In [changeset:"53400" 53400]:
 {{{
 #!CommitTicketReference repository="" revision="53400"
 Tests: Use a data provider in the test for conditional tags returning
 early if `$wp_query` is not set.

 Follow-up to [53395], [53396].

 Props peterwilsoncc.
 See #55104.
 }}}

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


More information about the wp-trac mailing list