Skip to content

Commit

Permalink
Remove screen_icon() from Options Framework options page
Browse files Browse the repository at this point in the history
screen_icon and get_screen_icon are deprecated since WordPress 4.8.

screen_icon() triggers a _deprecated_function() call and calls
get_screen_icon(), which outputs an HTML comment:
https://developer.wordpress.org/reference/functions/get_screen_icon/
  • Loading branch information
benlk committed Sep 11, 2018
1 parent f8b5d04 commit 2de80fc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/options-framework/options-framework.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ function optionsframework_page() {
settings_errors(); ?>

<div id="optionsframework-wrap" class="wrap">
<?php screen_icon( 'themes' ); ?>
<h2 class="nav-tab-wrapper">
<?php echo optionsframework_tabs(); ?>
</h2>
Expand Down

0 comments on commit 2de80fc

Please sign in to comment.