Make WordPress Core

Ticket #26186: 26186.diff

File 26186.diff, 977 bytes (added by DrewAPicture, 11 years ago)
  • src/wp-admin/includes/misc.php

     
    405405                        default:
    406406
    407407                                /**
    408                                  * Filter the default of number of rows value to use for item listings.
     408                                 * Filter a screen option value before it is set.
    409409                                 *
     410                                 * The filter can also be used to modify non-standard [items]_per_page
     411                                 * settings. See the parent function for a full list of standard options.
     412                                 *
     413                                 * Returning false to the filter will skip saving the current option.
     414                                 *
    410415                                 * @since 2.8.0
    411416                                 *
    412                                  * @param bool|int $value  The number of rows value. Default false.
     417                                 * @see set_screen_options()
     418                                 *
     419                                 * @param bool|int $value  Screen option value. Default false to skip.
    413420                                 * @param string   $option The option name.
    414421                                 * @param int      $value  The number of rows to use.
    415422                                 */