[wp-trac] [WordPress Trac] #37721: improve error handling of is_object_in_term in taxonomy.php

WordPress Trac noreply at wordpress.org
Wed Aug 24 09:19:50 UTC 2016


#37721: improve error handling of is_object_in_term in taxonomy.php
--------------------------+---------------------------
 Reporter:  rpayne7264    |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.6.1
Component:  Taxonomy      |     Version:  4.6
 Severity:  normal        |  Resolution:  fixed
 Keywords:  commit        |     Focuses:
--------------------------+---------------------------
Changes (by boonebgorges):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"38346"]:
 {{{
 #!CommitTicketReference repository="" revision="38346"
 In `is_object_in_term()`, return error object rather than caching it.

 This change prevents an error object from being stored in the cache,
 and prevents notices from being thrown when plucking term IDs to put
 into the relationship cache.

 See #32044, #36814.

 Merges [38277] to the 4.6 branch.

 Props rpayne7264.
 Fixes #37721.
 }}}

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


More information about the wp-trac mailing list