WordPress.org

Make WordPress Core

Changeset 25812


Ignore:
Timestamp:
10/16/2013 05:06:58 PM (8 years ago)
Author:
dd32
Message:

Fix a issue where the translation name isn't showing up in the Background Update emails, caused by a PHP Warning/missing variable in [25806]. See #18200

File:
1 edited

Legend:

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

    r25806 r25812  
    17011701                break;
    17021702            case 'language':
    1703                 $name = $upgrader->get_name_for_update( $item );
    1704                 $skin->feedback( sprintf( __( 'Updating translations for %1$s (%2$s)…' ), $name, $item->language ) );
     1703                $language_item_name = $upgrader->get_name_for_update( $item );
     1704                $item_name = sprintf( __( 'Translations for %s' ), $language_item_name );
     1705                $skin->feedback( sprintf( __( 'Updating translations for %1$s (%2$s)…' ), $language_item_name, $item->language ) );
    17051706                break;
    17061707        }
Note: See TracChangeset for help on using the changeset viewer.