Make WordPress Core


Ignore:
Timestamp:
05/07/2013 04:35:03 PM (14 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-includes/ms-load.php

    r22449 r24189  
    7070 */
    7171function ms_site_check() {
    72         global $wpdb;
     72        global $wpdb, $current_site;
    7373
    7474        $blog = get_blog_details();
Note: See TracChangeset for help on using the changeset viewer.