Skip to content

Commit 96ba3f4

Browse files
NateWrGaryJones
authored andcommitted
Remove call to deprecated function screen_icon()
Manually re-applied to develop branch due to merge conflict after applying to master branch. props @NateWr, see #244, fixes #234
1 parent ad571d4 commit 96ba3f4

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

class-tgm-plugin-activation.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -404,12 +404,6 @@ public function install_plugins_page() {
404404

405405
?>
406406
<div class="tgmpa wrap">
407-
408-
<?php
409-
if ( version_compare( $this->wp_version, '3.8', '<' ) ) {
410-
screen_icon( apply_filters( 'tgmpa_default_screen_icon', 'themes' ) );
411-
}
412-
?>
413407
<h2><?php echo esc_html( get_admin_page_title() ); ?></h2>
414408
<?php $plugin_table->prepare_items(); ?>
415409

@@ -1634,9 +1628,6 @@ public function process_bulk_actions() {
16341628

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

0 commit comments

Comments
 (0)