add_action( 'upgrader_process_complete', 'wp_update_plugins', 10, 0
);
add_action( 'upgrader_process_complete', 'wp_update_themes', 10, 0
);
$this->skin->
bulk_footer();
$this->skin->
footer();
// Clean up our hooks, in case something else does an upgrade on this connection.
remove_filter( 'upgrader_source_selection', array
( $this, 'check_package'
) );
if ( $parsed_args['clear_update_cache'
] ) { wp_clean_update_cache();
} return $results;
} /**
* Checks that the package source contains .mo and .po files.
*
* Hooked to the {@see 'upgrader_source_selection'} filter by
* Language_Pack_Upgrader::bulk_upgrade().
*
* @since 3.7.0
*
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
*
* @param string|WP_Error $source The path to the downloaded package source.
* @param string $remote_source Remote file source location.
* @return string|WP_Error The source as passed, or a WP_Error object on failure.
*/