[wp-trac] Re: [WordPress Trac] #5684: Tags should be able to edit names/slugs

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 22 19:00:31 GMT 2008


#5684: Tags should be able to edit names/slugs
----------------------------+-----------------------------------------------
 Reporter:  jhodgdon        |        Owner:  anonymous
     Type:  defect          |       Status:  new      
 Priority:  normal          |    Milestone:  2.5      
Component:  Administration  |      Version:  2.5      
 Severity:  normal          |   Resolution:           
 Keywords:  tags has-patch  |  
----------------------------+-----------------------------------------------
Comment (by jhodgdon):

 OK, I've added a patch.

 This adds a Manage / Tags screen to the admin, next to Manage /
 Categories.

 It pretty much works like Manage / Categories, except that because users
 can have tons of tags, it uses a paging system (currently set to 10 tags
 displayed at a time) to display the tags on the manage screen. Maybe it
 should be set to 20 tags at a time? I wasn't sure. That variable is inside
 the new wp-admin/tags.php file, just before where it generates the list of
 tags.

 Only one thing I didn't yet get working: if you click on the link that
 shows how many posts there are for a given tag, it should take you to the
 Manage / Posts screen, with only those posts displayed (just like it does
 for categories). But this doesn't work. The reason is that post querying
 is not currently set up for tag IDs as it is for category IDs. There is
 some provision for tag_id as a query variable, but it isn't completed
 enough to work.

 Maybe someone else can make that part working? It looks like it would
 require some changes to the WP->parse_request function in wp-
 includes/classes.php (to make tag_id be an acceptable query variable), and
 then to WP_Query->get_posts (in wp-includes/query.php) to take that
 variable and do the right thing with it.

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


More information about the wp-trac mailing list