WordPress.org

Make WordPress Core

Changeset 28137


Ignore:
Timestamp:
04/15/2014 10:56:56 AM (6 years ago)
Author:
dd32
Message:

Background Updates: Avoid a PHP warning during theme update checks when there are multiple theme directories registered. Fixes #27815

File:
1 edited

Legend:

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

    r28134 r28137  
    19631963            case 'theme':
    19641964                $upgrader = new Theme_Upgrader( $skin );
    1965                 $context  = get_theme_root( $item );
     1965                $context  = get_theme_root( $item->theme );
    19661966                break;
    19671967            case 'translation':
Note: See TracChangeset for help on using the changeset viewer.