Changeset 34748
- Timestamp:
- 10/01/2015 08:24:18 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-upgrader.php
r34717 r34748 1868 1868 } 1869 1869 1870 $skin = new Language_Pack_Upgrader_Skin( array( 1871 'skip_header_footer' => true, 1872 ) ); 1870 // Re-use the automatic upgrader skin if the parent upgrader is using it. 1871 if ( $upgrader && $upgrader->skin instanceof Automatic_Upgrader_Skin ) { 1872 $skin = $upgrader->skin; 1873 } else { 1874 $skin = new Language_Pack_Upgrader_Skin( array( 1875 'skip_header_footer' => true, 1876 ) ); 1877 } 1873 1878 1874 1879 $lp_upgrader = new Language_Pack_Upgrader( $skin ); … … 3369 3374 // Plugins, Themes, Translations 3370 3375 foreach ( array( 'plugin', 'theme', 'translation' ) as $type ) { 3371 3376 3372 3377 /** 3373 3378 * Filter to control whether a notification email is sent to the site admin email address for
Note: See TracChangeset
for help on using the changeset viewer.