Make WordPress Core


Ignore:
Timestamp:
05/07/2013 04:35:03 PM (11 years ago)
Author:
nacin
Message:

Fix usage of undeclared variables.

  • the_weekday_date() needs the global $currentday
  • ms_site_check() needs the global $current_site
  • media list table does not need to check for $total_orphans
  • upgrader has no $feedback variable, appears to be copypasta from other upgrade APIs
  • install_themes_feature_list() has no $features variable, return array() instead of a new return type of WP_Error

see #24210.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-upgrader.php

    r24188 r24189  
    10301030        $this->upgrade_strings();
    10311031
    1032         if ( !empty($feedback) )
    1033             add_filter('update_feedback', $feedback);
    1034 
    10351032        // Is an update available?
    10361033        if ( !isset( $current->response ) || $current->response == 'latest' )
Note: See TracChangeset for help on using the changeset viewer.