WordPress.org

Make WordPress Core

Changeset 13603


Ignore:
Timestamp:
03/06/2010 08:42:04 AM (10 years ago)
Author:
dd32
Message:

Do not count Development versions of WordPress as having a core-update available. See #12517

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/menu.php

    r13593 r13603  
    5959            $update_count += count( $update_themes->response );
    6060        $update_wordpress = get_core_updates( array('dismissed' => false) );
    61         if ( !empty($update_wordpress) && !in_array( $update_wordpress[0]->response, array(/*'development',*/ 'latest') ) ) // @TODO: Do we count Development installs as having an update available?
     61        if ( !empty($update_wordpress) && !in_array( $update_wordpress[0]->response, array('development', 'latest') ) )
    6262            $update_count++;
    6363
Note: See TracChangeset for help on using the changeset viewer.