Skip to content

Commit

Permalink
Remove call to deprecated function screen_icon()
Browse files Browse the repository at this point in the history
Manually re-applied to develop branch due to merge conflict after applying to master branch.

props @NateWr, see #244, fixes #234
  • Loading branch information
NateWr authored and GaryJones committed Apr 21, 2015
1 parent ad571d4 commit 96ba3f4
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions class-tgm-plugin-activation.php
Expand Up @@ -404,12 +404,6 @@ public function install_plugins_page() {

?>
<div class="tgmpa wrap">

<?php
if ( version_compare( $this->wp_version, '3.8', '<' ) ) {
screen_icon( apply_filters( 'tgmpa_default_screen_icon', 'themes' ) );
}
?>
<h2><?php echo esc_html( get_admin_page_title() ); ?></h2>
<?php $plugin_table->prepare_items(); ?>

Expand Down Expand Up @@ -1634,9 +1628,6 @@ public function process_bulk_actions() {

// Wrap the install process with the appropriate HTML.
echo '<div class="tgmpa wrap">';
if ( version_compare( TGM_Plugin_Activation::$instance->wp_version, '3.8', '<' ) ) {
screen_icon( apply_filters( 'tgmpa_default_screen_icon', 'themes' ) );
}
echo '<h2>' . esc_html( get_admin_page_title() ) . '</h2>';
// Process the bulk installation submissions.
$installer->bulk_install( $sources );
Expand Down

0 comments on commit 96ba3f4

Please sign in to comment.