$_tab =
esc_attr( $tab );
// Default to the Description tab, Do not translate, API returns English.
$section =
isset( $_REQUEST['section'
] ) ?
wp_unslash( $_REQUEST['section'
] ) : 'description';
if ( empty( $section ) || !
isset( $api->sections
[ $section ] ) ) { $section_titles =
array_keys( (array) $api->sections
);
$section =
reset( $section_titles );
} iframe_header( __( 'Plugin Installation'
) );
$_with_banner = '';
if ( !
empty( $api->banners
) && ( !
empty( $api->banners
['low'
] ) || !
empty( $api->banners
['high'
] ) ) ) { $_with_banner = 'with-banner';
$low =
empty( $api->banners
['low'
] ) ?
$api->banners
['high'
] :
$api->banners
['low'
];
$high =
empty( $api->banners
['high'
] ) ?
$api->banners
['low'
] :
$api->banners
['high'
];
?>
<style type="text/css">
#plugin-information-title.with-banner {
background-image: url( <?php
echo esc_url( $low ); ?> );
}
@media only screen and ( -webkit-min-device-pixel-ratio: 1.5 ) {
#plugin-information-title.with-banner {
background-image: url(