[wp-trac] Re: [WordPress Trac] #4095: get_bookmarks: add query hooks, wpcache argument hooks

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 6 05:49:09 GMT 2007


#4095: get_bookmarks: add query hooks, wpcache argument hooks
--------------------------------+-------------------------------------------
 Reporter:  kevinB              |        Owner:  rob1n
     Type:  enhancement         |       Status:  new  
 Priority:  normal              |    Milestone:  2.2  
Component:  General             |      Version:       
 Severity:  normal              |   Resolution:       
 Keywords:  get_bookmarks hook  |  
--------------------------------+-------------------------------------------
Comment (by kevinB):

 Replying to [comment:3 ryan]:
 > Why do the cache id and group need to be run through a filter?  The
 cache key changing arbitrarily as plugins are activated doesn't seem
 useful.


 Because I want to implement user groups and group-specific capabilities
 per page.  I need the hooks to do query filtering, but that does me no
 good if wp_cache is short-circuiting each request to (anybody's) last
 results set.  I need to maintain my own separate cache for each user
 group.  Adding the requested hooks would let me do it without messing with
 the default wp_cache contents.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4095#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list