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

WordPress Trac noreply at wordpress.org
Tue Jul 2 14:22:00 UTC 2019


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

 * keywords:  needs-patch has-screenshots dev-feedback => needs-patch has-
     screenshots good-first-bug
 * milestone:  Awaiting Review => 5.3


Comment:

 Hi @agengineering, welcome to WordPress Trac! Thanks for the report.

 Indeed, `$climits` is only defined inside a conditional. Good catch!

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


More information about the wp-trac mailing list