[wp-trac] [WordPress Trac] #47638: Undefined variable: climits in class-wp-query.php at line 2632.

WordPress Trac noreply at wordpress.org
Wed Jul 3 01:13:34 UTC 2019


#47638: Undefined variable: climits in class-wp-query.php at line 2632.
-------------------------------------------------+-------------------------
 Reporter:  agengineering                        |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.3
Component:  Query                                |     Version:  5.2.2
 Severity:  minor                                |  Resolution:  fixed
 Keywords:  has-screenshots good-first-bug has-  |     Focuses:
  patch                                          |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45591" 45591]:
 {{{
 #!CommitTicketReference repository="" revision="45591"
 Query: Make sure `$climits` variable in `WP_Query::get_posts()` is always
 defined to avoid a PHP notice.

 Props juiiee8487, agengineering.
 Fixes #47638.
 }}}

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


More information about the wp-trac mailing list