[wp-trac] [WordPress Trac] #20299: Preview changes on a published post makes all post meta "live"

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 21 20:13:24 UTC 2012


#20299: Preview changes on a published post makes all post meta "live"
--------------------------+------------------------------
 Reporter:  jakemgold     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.3.1
 Severity:  major         |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by ryanduff):

 So instead of updating the actual post_meta values with each revision, how
 about it saves an array of the post meta in one row of the post_meta table
 with the meta key being something like _revision and the id being that of
 the revision and not of the actual post?

 The preview could work with that since you're essentially viewing that
 revision and we could grab the meta array for that and expand it out. The
 actual post would continue to use the unmodified entries in the post_meta
 table. On save the values would finally be pushed to the respective
 entries in post_meta.

 The other option is a full blown post meta revisions system that Alex King
 proposed over in #20564

 Either way, one route or the other needs to be picked before something can
 be implemented.

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


More information about the wp-trac mailing list