[wp-trac] [WordPress Trac] #60055: Array to string conversion warning after r50157

WordPress Trac noreply at wordpress.org
Fri Jun 21 22:13:35 UTC 2024


#60055: Array to string conversion warning after r50157
-----------------------------------------+------------------------------
 Reporter:  dcavins                      |       Owner:  (none)
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  REST API                     |     Version:  6.4.2
 Severity:  minor                        |  Resolution:
 Keywords:  has-patch reporter-feedback  |     Focuses:
-----------------------------------------+------------------------------
Changes (by antonvlasenko):

 * keywords:  has-patch => has-patch reporter-feedback


Comment:

 When I use a query like the one in the example, I cannot replicate the
 issue, at least not with a standard WordPress setup. Here are the queries
 I've tested:
 {{{
 1.
 wp/v2/posts?categories%5Bterms%5D%5B0%5D=1&categories%5Bterms%5D%5B1%5D=2&categories%5Bterms%5D%5B2%5D=4&categories%5Binclude_children%5D=1
 2.
 wp/v2/posts?categories%5Bterms%5D%5B0%5D=3&categories%5Bterms%5D%5B1%5D=5&categories%5Bterms%5D%5B2%5D=7&categories%5Binclude_children%5D=true
 }}}

 I am curious to know the exact query used to reproduce the issue.

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


More information about the wp-trac mailing list