[wp-meta] [Making WordPress.org] #5495: Array to string conversion notice when querying multiple post_types

Making WordPress.org noreply at wordpress.org
Sun Nov 1 18:49:35 UTC 2020


#5495: Array to string conversion notice when querying multiple post_types
----------------------+--------------------
 Reporter:  luckyape  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:
Component:  General   |   Keywords:
----------------------+--------------------
 When multiple post_types are queried from `pre_get_posts` hook the
 resulting list page renders as expected however wp-admin/edit.php gives up
 a:

 `Notice: Array to string conversion` on line 319


 Thanks!

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/5495>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list