public function get_remote_theme_meta()
{
foreach ((array) $this->config as $theme) {
if (!$this->get_remote_repo_meta($theme)) {
continue;
}
// Update theme transient with rollback (branch switching) data.
add_filter('wp_get_update_data', array(&$this, 'set_rollback'));
/*
* Add update row to theme row, only in multisite.
*/
if (is_multisite()) {
add_action('after_theme_row', array(&$this, 'remove_after_theme_row'), 10, 2);
if (!$this->tag) {
add_action("after_theme_row_{$theme->repo}", array(&$this, 'wp_theme_update_row'), 10, 2);
if (!$theme->release_asset) {
add_action("after_theme_row_{$theme->repo}", array(&$this, 'multisite_branch_switcher'), 15, 2);
}
}
}
}
$this->load_pre_filters();
}