WordPress.org

Make WordPress Core

Ticket #6238: 6238.diff

File 6238.diff, 745 bytes (added by mdawaffe, 10 years ago)
  • wp-includes/script-loader.php

     
    482482        wp_localize_script( 'tiny_mce', 'wpTinyMCEConfig', array( 'defaultEditor' => wp_default_editor() ) );
    483483        wp_localize_script( 'autosave', 'autosaveL10n', array(
    484484                'autosaveInterval' => AUTOSAVE_INTERVAL,
    485                 'previewPageText' => __('View this Page'),
    486                 'previewPostText' => __('View this Post'),
     485                'previewPageText' => __('Preview this Page'),
     486                'previewPostText' => __('Preview this Post'),
    487487                'requestFile' => get_option( 'siteurl' ) . '/wp-admin/admin-ajax.php',
    488488                'savingText' => __('Saving Draft…')
    489489        ) );