[wp-trac] [WordPress Trac] #35173: in_category function doesn't work after update to WP 4.4

WordPress Trac noreply at wordpress.org
Mon Dec 21 02:56:13 UTC 2015


#35173: in_category function doesn't work after update to WP 4.4
-------------------------------+------------------------------
 Reporter:  artem.kolotilkin   |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Taxonomy           |     Version:  4.4
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by boonebgorges):

 * keywords:   => reporter-feedback


Comment:

 Hi @artem.kolotilkin - Thanks for the report, and welcome to Trac!

 The value returned by `get_object_term_cache()` should only by an empty
 array if some other function has set the `{$taxonomy}_relationships` cache
 to an empty array. Are you able to debug whether a plugin on your system
 is setting the relationships cache?

 Possibly related: https://core.trac.wordpress.org/ticket/34723#comment:9
 and the comments that follow.

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


More information about the wp-trac mailing list