Make WordPress Core

Ticket #35042: 35042.diff

File 35042.diff, 2.3 KB (added by karmatosed, 8 years ago)

A patch to start with for the changes.

  • wp-admin/includes/dashboard.php

     
    178178        wp_dashboard_trigger_widget_control( $meta_box['id'] );
    179179        wp_nonce_field( 'edit-dashboard-widget_' . $meta_box['id'], 'dashboard-widget-nonce' );
    180180        echo '<input type="hidden" name="widget_id" value="' . esc_attr($meta_box['id']) . '" />';
    181         submit_button( __('Submit') );
     181        submit_button( __('Add') );
    182182        echo '</form>';
    183183}
    184184
  • wp-admin/setup-config.php

     
    216216        </table>
    217217        <?php if ( isset( $_GET['noapi'] ) ) { ?><input name="noapi" type="hidden" value="1" /><?php } ?>
    218218        <input type="hidden" name="language" value="<?php echo esc_attr( $language ); ?>" />
    219         <p class="step"><input name="submit" type="submit" value="<?php echo htmlspecialchars( __( 'Submit' ), ENT_QUOTES ); ?>" class="button button-large" /></p>
     219        <p class="step"><input name="submit" type="submit" value="<?php echo htmlspecialchars( __( 'Add details' ), ENT_QUOTES ); ?>" class="button button-large" /></p>
    220220</form>
    221221<?php
    222222        break;
  • wp-includes/post-template.php

     
    15251525        $label = 'pwbox-' . ( empty($post->ID) ? rand() : $post->ID );
    15261526        $output = '<form action="' . esc_url( site_url( 'wp-login.php?action=postpass', 'login_post' ) ) . '" class="post-password-form" method="post">
    15271527        <p>' . __( 'This content is password protected. To view it please enter your password below:' ) . '</p>
    1528         <p><label for="' . $label . '">' . __( 'Password:' ) . ' <input name="post_password" id="' . $label . '" type="password" size="20" /></label> <input type="submit" name="Submit" value="' . esc_attr__( 'Submit' ) . '" /></p></form>
     1528        <p><label for="' . $label . '">' . __( 'Password:' ) . ' <input name="post_password" id="' . $label . '" type="password" size="20" /></label> <input type="submit" name="Submit" value="' . esc_attr__( 'View Post' ) . '" /></p></form>
    15291529        ';
    15301530
    15311531        /**