WordPress.org

Make WordPress Core

Ticket #9605: #9605.diff

File #9605.diff, 700 bytes (added by arena, 9 years ago)

simple and trivial !

  • wp-admin/includes/template.php

     
    34243424                $show_on_screen = true;
    34253425        }
    34263426
    3427         $screen_options = screen_options($screen);
     3427        add_filter('screen_options', 'screen_options', 1, 2);
     3428        $screen_options = apply_filters('screen_options', false, $screen);
    34283429        if ( $screen_options )
    34293430                $show_screen = true;
    34303431
     
    36263627        return $return;
    36273628}
    36283629
    3629 function screen_options($screen) {
     3630function screen_options($return, $screen) {
    36303631        switch ( $screen ) {
    36313632                case 'edit':
    36323633                        $per_page_label = __('Posts per page:');