Ticket #15377: 15377.003.diff
File 15377.003.diff, 824 bytes (added by , 14 years ago) |
---|
-
wp-admin/includes/template.php
1918 1918 return $return; 1919 1919 } 1920 1920 1921 function screen_icon($screen = '') { 1921 function screen_icon( $screen = '' ) { 1922 echo get_screen_icon( $screen ); 1923 } 1924 1925 function get_screen_icon( $screen = '' ) { 1922 1926 global $current_screen, $typenow; 1923 1927 1924 1928 if ( empty($screen) ) … … 1946 1950 $class .= ' ' . sanitize_html_class( 'icon32-posts-' . $post_type ); 1947 1951 } 1948 1952 1949 ?> 1950 <div id="icon-<?php echo $name; ?>" class="<?php echo $class; ?>"><br /></div> 1951 <?php 1953 return '<div id="icon-' . esc_attr( $name ) . '" class="' . $class . '"><br /></div>'; 1952 1954 } 1953 1955 1954 1956 /** … … 2185 2187 2186 2188 return $button; 2187 2189 } 2188