Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.9/wp-admin/update-core.php

    r12453 r12498  
    154154
    155155    $core_updates = get_core_updates();
    156     if ( !isset($core_updates[0]->response) || 'latest' == $core_updates[0]->response || 'development' == $core_updates[0]->response )
     156    if ( !isset($core_updates[0]->response) || 'latest' == $core_updates[0]->response || 'development' == $core_updates[0]->response || version_compare( $core_updates[0]->current, $cur_wp_version, '=') )
    157157        $core_update_version = false;
    158158    else
     
    160160    ?>
    161161<h3><?php _e('Plugins'); ?></h3>
    162 <p><?php _e('The following plugins have new versions available.  Check the ones you want to upgrade and then click "Upgrade Plugins".'); ?><p>
     162<p><?php _e('The following plugins have new versions available.  Check the ones you want to upgrade and then click "Upgrade Plugins".'); ?></p>
    163163<form method="post" action="<?php echo $form_action; ?>" name="upgrade-plugins" class="upgrade">
    164164<?php wp_nonce_field('upgrade-core'); ?>
Note: See TracChangeset for help on using the changeset viewer.