[wp-trac] [WordPress Trac] #19111: Post ID by Hash

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 2 06:09:26 UTC 2011


#19111: Post ID by Hash
-------------------------+-----------------------------
 Reporter:  braydonf     |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:
 Severity:  normal       |   Keywords:
-------------------------+-----------------------------
 Post IDs are currently stored as incrementing values. In the case with
 merging posts from two separate WordPress databases it introduces the
 problem of ID collisions. The step to merge posts becomes a process of
 importing with new IDs and breaks continuity since there would be an issue
 with maintaining the original ID, and able to sync back.

 I'm suggesting using hashed IDs instead of incremented ID values, similar
 to how version control systems are currently designed.

 GUID values are useful for site to site reference, however doesn't take
 into consideration having multiple and simultaneous systems that are able
 to be easily merged and branched, just like distributed version control.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19111>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list