public function check_parent_theme_filter( $install_result,
$hook_extra,
$child_result ) { // Check to see if we need to install a parent theme.
$theme_info =
$this->
theme_info();
if ( !
$theme_info->
parent() ) { return $install_result;
} $this->skin->
feedback( 'parent_theme_search'
);
if ( !
$theme_info->
parent()->
errors() ) { $this->skin->
feedback( 'parent_theme_currently_installed',
$theme_info->
parent()->
display( 'Name'
),
$theme_info->
parent()->
display( 'Version'
) );
// We already have the theme, fall through.
return $install_result;
}