Changeset 27079
- Timestamp:
- 02/02/2014 11:49:05 PM (11 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/meta-boxes.php
r27036 r27079 54 54 } 55 55 ?> 56 <a class="preview button" href="<?php echo $preview_link; ?>" target="wp-preview " id="post-preview"><?php echo $preview_button; ?></a>56 <a class="preview button" href="<?php echo $preview_link; ?>" target="wp-preview-<?php echo (int) $post->ID; ?>" id="post-preview"><?php echo $preview_button; ?></a> 57 57 <input type="hidden" name="wp-preview" id="wp-preview" value="" /> 58 58 </div> -
trunk/src/wp-admin/js/post.js
r27038 r27079 384 384 385 385 postboxes.add_postbox_toggles(pagenow); 386 387 // Clear the window name. Otherwise if this is a former preview window where the user navigated to edit another post, 388 // and the first post is still being edited, clicking Preview there will use this window to show the preview. 389 window.name = ''; 386 390 387 391 // Post locks: contain focus inside the dialog. If the dialog is shown, focus the first item.
Note: See TracChangeset
for help on using the changeset viewer.