Make WordPress Core

Ticket #16216: 16216.diff

File 16216.diff, 768 bytes (added by solarissmoke, 14 years ago)
  • wp-admin/update-core.php

     
    139139        echo ' &nbsp; <a class="button" href="' . esc_url( self_admin_url('update-core.php') ) . '">' . __( 'Check Again' ) . '</a>';
    140140        echo '</p>';
    141141
     142        if ( file_exists( '.svn' ) )
     143                echo '<div class="updated inline"><p>' . __( '<strong>Warning:</strong> It appears that you are running an SVN checkout of Wordpress. You may wish to keep up to date using SVN instead of the auto-updater.' ) . '</p></div>';
     144               
    142145        if ( !isset($updates[0]->response) || 'latest' == $updates[0]->response ) {
    143146                echo '<h3>';
    144147                _e('You have the latest version of WordPress.');