WordPress.org

Make WordPress Core

Ticket #16216: 16216.3.diff

File 16216.3.diff, 796 bytes (added by solarissmoke, 3 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 ( is_dir( ABSPATH . '.svn' ) ) 
     143                echo '<div class="updated inline"><p>' . __( '<strong>Warning:</strong> It appears that you are running a Subversion checkout of WordPress. You may wish to keep WordPress up to date using Subversion 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.');