Make WordPress Core


Ignore:
Timestamp:
06/16/2015 11:12:21 PM (10 years ago)
Author:
azaozz
Message:

Editor: do not reuse the preview tab when the user has navigated away.
See #32588.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/default-filters.php

    r32633 r32809  
    291291add_action( 'init', '_show_post_preview' );
    292292
     293// Output JS to reset window.name for previews
     294add_action( 'wp_head', 'wp_post_preview_js', 1 );
     295
    293296// Timezone
    294297add_filter( 'pre_option_gmt_offset','wp_timezone_override_offset' );
Note: See TracChangeset for help on using the changeset viewer.