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-includes/general-template.php

    r24053 r24189  
    15801580 */
    15811581function the_weekday_date($before='',$after='') {
    1582     global $wp_locale, $day, $previousweekday;
     1582    global $wp_locale, $currentday, $previousweekday;
    15831583    $the_weekday_date = '';
    15841584    if ( $currentday != $previousweekday ) {
Note: See TracChangeset for help on using the changeset viewer.