[wp-trac] [WordPress Trac] #30013: Array to string conversion notice when multiple post types are queried in edit.php

WordPress Trac noreply at wordpress.org
Fri Oct 24 08:31:14 UTC 2014


#30013: Array to string conversion notice when multiple post types are queried in
edit.php
--------------------------------------+-----------------------------
 Reporter:  jeremyfelt                |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Future Release
Component:  Posts, Post Types         |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:  administration
--------------------------------------+-----------------------------
Changes (by Kloon):

 * keywords:  needs-patch good-first-bug => good-first-bug has-patch


Comment:

 Since edit.php does not support multiple post types the patch does a check
 to ensure that the $typenow var is a string.

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


More information about the wp-trac mailing list