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

WordPress Trac noreply at wordpress.org
Thu Mar 28 22:06:40 UTC 2013


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

Comment (by WraithKenny):

 #20564 blocks this ticket, but if/when that goes in, the show preview
 functionality would have to somehow pull the meta from the $preview
 instead of the $post :

 In revision.php -> `function _set_preview($post)`... maybe set
 `$post->preview_id = $preview->ID` (or use a global) then set up a filter
 on 'get_post_metadata' to pull out the right data.

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


More information about the wp-trac mailing list