Skip to content

Commit

Permalink
Remove called to deprecated screen_icon() for 2.4.2 branch
Browse files Browse the repository at this point in the history
See #224, #234, #244.
  • Loading branch information
thomasgriffin authored and GaryJones committed Apr 27, 2015
1 parent c047bcc commit a00e713
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions class-tgm-plugin-activation.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin installation and activation for WordPress themes.
*
* @package TGM-Plugin-Activation
* @version 2.4.1
* @version 2.4.2-dev
* @author Thomas Griffin <thomasgriffinmedia.com>
* @author Gary Jones <gamajo.com>
* @copyright Copyright (c) 2012, Thomas Griffin
Expand Down Expand Up @@ -376,10 +376,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 @@ -1587,9 +1583,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 a00e713

Please sign in to comment.