[wp-trac] [WordPress Trac] #21949: public in register_taxonomy is not working properly

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 21 14:00:05 UTC 2012


#21949: public in register_taxonomy is not working properly
------------------------------------+------------------
 Reporter:  wpsmith                 |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  3.5
Component:  Taxonomy                |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+------------------
Changes (by wpsmith):

 * keywords:  needs-patch => dev-feedback has-patch


Comment:

 Added a helper method _limit_public() to reduce redundant code. However,
 this checks 'taxonomy' and '{taxonomy_name}' to determine whether the
 taxonomy is public removing if not. If 'taxonomy' is set (instead of
 '{taxonomy_name}'), then term is removed.

 I tested the following successfully basic queries:
 http://localhost:8888/www/wordpress-
 trunk/?taxonomy=wps_theme_colors&term=blue
 http://localhost:8888/www/wordpress-trunk/?wps_theme_colors=blue

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


More information about the wp-trac mailing list