[wp-trac] [WordPress Trac] #11838: Add hierarchical taxonomies to the Menu bar

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 19 11:32:15 UTC 2010

#11838: Add hierarchical taxonomies to the Menu bar
 Reporter:  dd32          |       Owner:  filosofo 
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  3.0      
Component:  Taxonomy      |     Version:  3.0      
 Severity:  normal        |    Keywords:  has-patch

Comment(by dd32):

 Just looking at this closely, I've got some huge worries about continuing
 to modify the category functions to pass a taxonomy.

 I'm coming to the thought, of that perhaps, it'll be better to delete the
 categories.php file, and merge into a generic taxonomy terms page,
 specifically, tags.php for a start.

 A lot of the category functionality is wraped in functions which wrap the
 taxonomy API, which makes it hard, as you're then only returning either
 "category"-specific errors, or preventing deleting the default term.

 My suggestion is to move the default-deletion from the wrappers, into a
 hook of wp_delete_term, and merge the hierachial functionalities from
 categories.php into tags.php, or perhaps, into a new file terms.php as to
 stay reasonably filename-neutral.

 Any feedback on that thought line?

 Eg. Look at the category related functions in
 admin/includes/taxonomy.php combine that with get_category() and the
 compat code for categories.. I'd rather just deprecate the functions there
 and move to the taxonomy API directly or create a new set of neutral

Ticket URL: <http://core.trac.wordpress.org/ticket/11838#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list