diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index ebec668bc9..c37a936b71 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -1918,7 +1918,11 @@ function screen_options($screen) { return $return; } -function screen_icon($screen = '') { +function screen_icon( $screen = '' ) { + echo get_screen_icon( $screen ); +} + +function get_screen_icon( $screen = '' ) { global $current_screen, $typenow; if ( empty($screen) ) @@ -1946,9 +1950,7 @@ function screen_icon($screen = '') { $class .= ' ' . sanitize_html_class( 'icon32-posts-' . $post_type ); } -?> -

-
'; } /** @@ -2185,4 +2187,3 @@ function get_submit_button( $text = NULL, $type = 'primary', $name = 'submit', $ return $button; } -