WordPress.org

Make WordPress Core

Ticket #22385: 22385.patch

File 22385.patch, 3.0 KB (added by johnbillion, 18 months ago)
  • wp-admin/custom-background.php

     
    260260                <input type="file" id="upload" name="import" /> 
    261261                <input type="hidden" name="action" value="save" /> 
    262262                <?php wp_nonce_field( 'custom-background-upload', '_wpnonce-custom-background-upload' ); ?> 
    263                 <?php submit_button( __( 'Upload' ), 'small', 'submit', false ); ?> 
     263                <?php submit_button( __( 'Upload' ), 'button', 'submit', false ); ?> 
    264264        </p> 
    265265        <?php 
    266266                $image_library_url = get_upload_iframe_src( 'image', null, 'library' ); 
  • wp-admin/custom-header.php

     
    531531                <input type="file" id="upload" name="import" /> 
    532532                <input type="hidden" name="action" value="save" /> 
    533533                <?php wp_nonce_field( 'custom-header-upload', '_wpnonce-custom-header-upload' ); ?> 
    534                 <?php submit_button( __( 'Upload' ), 'small', 'submit', false ); ?> 
     534                <?php submit_button( __( 'Upload' ), 'button', 'submit', false ); ?> 
    535535        </p> 
    536536        <?php 
    537537                $image_library_url = get_upload_iframe_src( 'image', null, 'library' ); 
  • wp-admin/install.php

     
    136136                        <td colspan="2"><label><input type="checkbox" name="blog_public" value="1" <?php checked( $blog_public ); ?> /> <?php _e( 'Allow search engines to index this site.' ); ?></label></td> 
    137137                </tr> 
    138138        </table> 
    139         <p class="step"><input type="submit" name="Submit" value="<?php esc_attr_e( 'Install WordPress' ); ?>" class="button button-large" /></p> 
     139        <p class="step"><input type="submit" name="Submit" value="<?php esc_attr_e( 'Install WordPress' ); ?>" class="button button-large button-primary" /></p> 
    140140</form> 
    141141<?php 
    142142} // end display_setup_form() 
     
    144144// Let's check to make sure WP isn't already installed. 
    145145if ( is_blog_installed() ) { 
    146146        display_header(); 
    147         die( '<h1>' . __( 'Already Installed' ) . '</h1><p>' . __( 'You appear to have already installed WordPress. To reinstall please clear your old database tables first.' ) . '</p><p class="step"><a href="../wp-login.php" class="button button-large">' . __( 'Log In' ) . '</a></p></body></html>' ); 
     147        die( '<h1>' . __( 'Already Installed' ) . '</h1><p>' . __( 'You appear to have already installed WordPress. To reinstall please clear your old database tables first.' ) . '</p><p class="step"><a href="../wp-login.php" class="button button-large button-primary">' . __( 'Log In' ) . '</a></p></body></html>' ); 
    148148} 
    149149 
    150150$php_version    = phpversion(); 
     
    243243        </tr> 
    244244</table> 
    245245 
    246 <p class="step"><a href="../wp-login.php" class="button button-large"><?php _e( 'Log In' ); ?></a></p> 
     246<p class="step"><a href="../wp-login.php" class="button button-large button-primary"><?php _e( 'Log In' ); ?></a></p> 
    247247 
    248248<?php 
    249249                }