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

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 23 13:51:26 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):

 I thought of a better alternative to the tag_id issue: just use the slugs
 in the URL. So I'm about to attach a second patch that is fully working.

 Regarding the number of tags to display, the post screen is hard-wired at
 15 per page, and changing it looks like a pain. Categories are not paged
 -- the Manage screen always lists all your categories, which is probably
 OK for most users.

 So, in this patch (which I'll submit shortly), I decided to hard-wire the
 tags at 20 per page, but it's done with a global variable called
 $tagsperpage. If that variable is set (by a plugin or whatever) before the
 tag list is printed out, then that many tags are shown instead. (I tested
 that and it works fine.)

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


More information about the wp-trac mailing list