[wp-trac] [WordPress Trac] #20564: Framework for storing revisions of Post Meta

WordPress Trac noreply at wordpress.org
Tue Apr 2 15:39:24 UTC 2013


#20564: Framework for storing revisions of Post Meta
-------------------------------------------------+------------------
 Reporter:  alexkingorg                          |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  3.6
Component:  Revisions                            |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-codex  |
-------------------------------------------------+------------------

Comment (by WraithKenny):

 For the unique key issue, if the key is actually unique, then
 `get_post_meta( $revision['ID'], $meta_key )` should only have one value
 in the array making it unneeded to pass a unique flag to add_post_meta
 (since the loop only goes once). I had a unique param in my patch
 originally, but after I saw the commit I thought it unnecessary. Is there
 a different unique assumption that I'm missing?

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


More information about the wp-trac mailing list