[wp-trac] [WordPress Trac] #18733: Show revision number for post/pages in Revision list

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 3 09:00:53 UTC 2011


#18733: Show revision number for post/pages in Revision list
-------------------------------------+------------------------------
 Reporter:  midhund                  |       Owner:  midhund
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Revisions                |     Version:  3.3
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------------------

Comment (by midhund):

 @nacin: or else I can provide sequential number from the field name
 'wp_posts.post_name'.
 In post_type revision, the value is notated as

 25-revision

 25-revision-1

 ..

 ..

 ..

 25-revision-5

 25-revision-6

 25-revision-7


 for post id '''25'''

 for eg: by exploding the 25-revision-5 will get the sequence number of
 that revision as 5.

 hope this makes sense.

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


More information about the wp-trac mailing list