Ticket #12613: #12613.patch
File #12613.patch, 900 bytes (added by , 15 years ago) |
---|
-
wp-admin/includes/template.php
3738 3738 $per_page_label = __('Plugins per page:'); 3739 3739 break; 3740 3740 default: 3741 return ''; 3741 $per_page_label = apply_filters('per_page_label', '', $screen); // for plugins 3742 if (empty($per_page_label)) return ''; 3742 3743 } 3743 3744 3744 3745 $option = str_replace( '-', '_', "{$screen->id}_per_page" ); … … 3771 3772 $return .= "<input type='submit' class='button' value='" . esc_attr__('Apply') . "' />"; 3772 3773 $return .= "<input type='hidden' name='wp_screen_options[option]' value='" . esc_attr($option) . "' />"; 3773 3774 $return .= "</div>\n"; 3774 return $return; 3775 3776 return apply_filters('screen_options', $return, $screen); // for plugins 3775 3777 } 3776 3778 3777 3779 function screen_icon($screen = '') {