WordPress.org

Make WordPress Core

Ticket #42165: 42165.1.diff

File 42165.1.diff, 1.8 KB (added by Mirucon, 4 years ago)
  • wp-admin/includes/meta-boxes.php

     
    289289if ( !in_array( $post->post_status, array('publish', 'future', 'private') ) || 0 == $post->ID ) {
    290290        if ( $can_publish ) :
    291291                if ( !empty($post->post_date_gmt) && time() < strtotime( $post->post_date_gmt . ' +0000' ) ) : ?>
    292                 <input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr_e('Schedule') ?>" />
    293                 <?php submit_button( __( 'Schedule' ), 'primary large', 'publish', false ); ?>
     292                <input name="original_publish" type="hidden" id="original_publish" value="<?php echo esc_attr_x( 'Schedule', 'customizer changeset action/button label' ); ?>" />
     293                <?php submit_button( _x( 'Schedule', 'customizer changeset action/button label' ), 'primary large', 'publish', false ); ?>
    294294<?php   else : ?>
    295295                <input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr_e('Publish') ?>" />
    296296                <?php submit_button( __( 'Publish' ), 'primary large', 'publish', false ); ?>
  • wp-includes/script-loader.php

     
    551551                'draftSaved'         => __( 'Draft Saved' ),
    552552                'updating'           => __( 'Updating' ),
    553553                'schedule'           => _x( 'Schedule', 'customizer changeset action/button label' ),
    554                 'scheduled'          => __( 'Scheduled' ),
     554                'scheduled'          => _x( 'Scheduled', 'customizer status' ),
    555555                'invalid'            => __( 'Invalid' ),
    556556                'saveBeforeShare'    => __( 'Please save your changes in order to share the preview.' ),
    557557                'futureDateError'    => __( 'You must supply a future date to schedule.' ),