Make WordPress Core


Ignore:
Timestamp:
10/29/2010 12:31:27 AM (14 years ago)
Author:
nacin
Message:

Revert submit_button() for wp-includes, setup-config, install, login, signup. see [16061], see #15064, fixes #15247.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post-template.php

    r16061 r16066  
    10261026    $output = '<form action="' . get_option('siteurl') . '/wp-pass.php" method="post">
    10271027    <p>' . __("This post is password protected. To view it please enter your password below:") . '</p>
    1028     <p>
    1029         <label for="' . $label . '">' . __("Password:") . '
    1030             <input name="post_password" id="' . $label . '" type="password" size="20" />
    1031         </label>' . get_submit_button( __( 'Submit' ), '', 'Submit', false ) . '
    1032     </p>
     1028    <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>
    10331029    </form>
    10341030    ';
     
    12131209<div class="tablenav">
    12141210    <div class="alignleft">
    1215         <?php submit_button( __( 'Compare Revisions' ), 'secondary', '', false ); ?>
     1211        <input type="submit" class="button-secondary" value="<?php esc_attr_e( 'Compare Revisions' ); ?>" />
    12161212        <input type="hidden" name="action" value="diff" />
    12171213        <input type="hidden" name="post_type" value="<?php echo esc_attr($post->post_type); ?>" />
Note: See TracChangeset for help on using the changeset viewer.