[wp-trac] Re: [WordPress Trac] #9227: in get_the_category_list(), filter categories before constructing list

WordPress Trac wp-trac at lists.automattic.com
Mon May 18 15:18:01 GMT 2009


#9227: in get_the_category_list(), filter categories before constructing list
-------------------------+--------------------------------------------------
 Reporter:  KevinB       |       Owner:  anonymous                                         
     Type:  enhancement  |      Status:  new                                               
 Priority:  normal       |   Milestone:  2.8                                               
Component:  Template     |     Version:  2.8                                               
 Severity:  normal       |    Keywords:  category, template, filter has-patch tested commit
-------------------------+--------------------------------------------------
Changes (by kevinb):

  * version:  2.7 => 2.8


Comment:

 The wp_get_object_terms filter added in #8704 is not, as the seasoned
 professionals say, a "robust" solution to the issue I raised here.

 The wp_get_object_terms filter alone (and the term_cache which it loads)
 does not allow for any distinction between '''terms which an object has'''
 and '''terms which the current user can view'''.

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


More information about the wp-trac mailing list