[wp-trac] [WordPress Trac] #21267: Kill the serialization of $wp_filter in get_terms()

WordPress Trac noreply at wordpress.org
Tue Jan 22 19:33:32 UTC 2013


#21267: Kill the serialization of $wp_filter in get_terms()
--------------------------+-----------------------------
 Reporter:  nacin         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Cache         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------------

Comment (by scribu):

 > this could be our chance to have an md5'd output buffer of
 `ReflectionFunction::__toString` in Core, which everyone's been asking for

 Everybode? Really? :P

 > or should we ditch the filter and throw a doing_it_wrong or something?

 Instead of basing the cache key on the list of callbacks attached to that
 filter, why not just use the term IDs currently returned by the filter?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21267#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list