[wp-trac] [WordPress Trac] #53018: trim issue in class-wp-query

WordPress Trac noreply at wordpress.org
Mon Apr 12 07:52:08 UTC 2021


#53018: trim issue in class-wp-query
--------------------------+-----------------------------
 Reporter:  islp          |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  trivial       |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hi, I found this while reviewing my debug.log:


 {{{
 [11-Apr-2021 19:15:42 UTC] PHP Warning:  trim() expects parameter 1 to be
 string, array given in /home/repo/www/wp-includes/class-wp-query.php on
 line 782
 [11-Apr-2021 19:16:00 UTC] PHP Warning:  trim() expects parameter 1 to be
 string, array given in /home/repo/www/wp-includes/class-wp-query.php on
 line 782
 }}}


 I'm using WordPress 5.7 on PHP 7.4.15.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53018>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list