[wp-trac] [WordPress Trac] #48176: Deprecated get_all_category_ids() call can return incorrect results

WordPress Trac noreply at wordpress.org
Mon Dec 2 14:41:04 UTC 2019


#48176: Deprecated get_all_category_ids() call can return incorrect results
-----------------------------------+-----------------------------
 Reporter:  johnjamesjacoby        |       Owner:  SergeyBiryukov
     Type:  defect (bug)           |      Status:  reviewing
 Priority:  low                    |   Milestone:  5.4
Component:  Taxonomy               |     Version:  4.0
 Severity:  minor                  |  Resolution:
 Keywords:  2nd-opinion has-patch  |     Focuses:
-----------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Some history on the `'all_category_ids'` cache key:

 * Added in [3011/trunk/wp-admin/admin-db.php]
 * Replaced with `clean_category_cache()` in [4631/trunk/wp-admin/admin-
 db.php]
 * Removed in favor of `clean_term_cache( $id, 'category' )` in [5555].

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


More information about the wp-trac mailing list