Make WordPress Core

Ticket #26186: wp-admin_includes_misc-php.diff

File wp-admin_includes_misc-php.diff, 1.4 KB (added by JoshuaAbenazer, 11 years ago)
  • wp-admin/includes/misc.php

     
    330330
    331331        $functions = array_unique( $functions );
    332332        sort( $functions );
     333        /**
     334         * Filter the array of functions/classes that should be ignored from
     335         * the documentation lookup.
     336         *
     337         * @since 2.8.0
     338         *
     339         * @param array $ignore_functions Functions/Classes to be ignored.
     340         */
    333341        $ignore_functions = apply_filters( 'documentation_ignore_functions', $ignore_functions );
    334342        $ignore_functions = array_unique( $ignore_functions );
    335343
     
    390398                                        return;
    391399                                break;
    392400                        default:
     401                                /**
     402                                 * Filters the number of rows value for custom item listing.
     403                                 *
     404                                 * @since 2.8.0
     405                                 *
     406                                 * @param bool/int $value  The number of rows value.
     407                                 * @param string   $option The option name.
     408                                 * @param int      $value  The actual number of rows value.
     409                                 */
    393410                                $value = apply_filters('set-screen-option', false, $option, $value);
    394411                                if ( false === $value )
    395412                                        return;