[wp-trac] [WordPress Trac] #20867: Notice: Array to string conversion

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 9 01:23:33 UTC 2012


#20867: Notice: Array to string conversion
-------------------------------+------------------------------
 Reporter:  arieputranto       |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Post Types         |     Version:  3.4
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------
Changes (by SergeyBiryukov):

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


Comment:

 Confirmed. `$templates` in `get_archive_template()` ends up being this:
 {{{
 Array
 (
     [0] => archive-Array.php
     [1] => archive.php
 )
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20867#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list