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

WordPress Trac noreply at wordpress.org
Mon Sep 30 06:55:34 UTC 2019


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

Comment (by johnjamesjacoby):

 Recommend to simply remove caching from this deprecated function
 completely.

 At this point, anyone still using it is not likely doing so for the
 performance benefit, and `get_terms` combined with `WP_Term_Query` now
 provides caching by default.

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


More information about the wp-trac mailing list