[wp-trac] [WordPress Trac] #34723: Warning in get_the_terms() because of non-array

WordPress Trac noreply at wordpress.org
Thu Jan 7 03:51:54 UTC 2016


#34723: Warning in get_the_terms() because of non-array
-----------------------------------+---------------------------
 Reporter:  mrppp                  |       Owner:  boonebgorges
     Type:  defect (bug)           |      Status:  closed
 Priority:  normal                 |   Milestone:  4.4.1
Component:  Taxonomy               |     Version:  4.4
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  fixed-major has-patch  |     Focuses:
-----------------------------------+---------------------------

Comment (by boonebgorges):

 Replying to [comment:21 DvanKooten]:
 > Hi @boonebgorges ,
 >
 > But an empty array would pass the `is_array` check and thus be cached,
 unless I am missing something here?

 Oh right, sorry, long day.

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


More information about the wp-trac mailing list