[wp-trac] [WordPress Trac] #20233: Preview opens in the same window when edit panel was previously another Preview window

WordPress Trac noreply at wordpress.org
Mon Oct 14 20:42:49 UTC 2013


#20233: Preview opens in the same window when edit panel was previously another
Preview window
--------------------------------+------------------------------
 Reporter:  hd-J                |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Editor              |     Version:  3.3.1
 Severity:  normal              |  Resolution:
 Keywords:  easy-fix has-patch  |
--------------------------------+------------------------------
Changes (by westonruter):

 * cc: weston@… (added)


Comment:

 I wasn't aware of this ticket and addressed the problem in the Customizer
 Everywhere plugin. It seems I came up with the exact same solution by
 including the current post ID in the window target name. Here's the
 relevant part of the plugin: https://github.com/x-team/wp-customizer-
 everywhere/blob/454c6debcc1ac0f34caeda3f217542b1d1cb3b21/edit-
 post.js#L29-L77

 I also alerted @azaozz in ticket:25272#comment:7 to preserve the change in
 the preview window target in his work to refactor autosave.

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


More information about the wp-trac mailing list