Skip to content

Commit d35d512

Browse files
authored
Merge pull request #53 from evemf/fix/php-notice-caused-by-deprecated-screen-icon
Fix for PHP notice caused by deprecated screen_icon.
2 parents 95b23ac + 6867c7c commit d35d512

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

AdminPage.php

-3
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ protected function page_help() { }
186186
*/
187187
protected function page_header() {
188188
echo "<div class='wrap'>\n";
189-
screen_icon( $this->args['screen_icon'] );
190189
echo html( 'h2', $this->args['page_title'] );
191190
}
192191

@@ -510,7 +509,6 @@ private function check_args() {
510509
'toplevel' => '',
511510
'position' => null,
512511
'icon_url' => '',
513-
'screen_icon' => '',
514512
'parent' => 'options-general.php',
515513
'capability' => 'manage_options',
516514
'menu_title' => $this->args['page_title'],
@@ -581,4 +579,3 @@ public function _action_link( $links ) {
581579
return $links;
582580
}
583581
}
584-

0 commit comments

Comments
 (0)