WordPress.org

Make WordPress Core

Ticket #26869: 26869-misc.php.diff

File 26869-misc.php.diff, 1.4 KB (added by GaryJ, 4 years ago)
  • src/wp-admin/includes/misc.php

    diff --git src/wp-admin/includes/misc.php src/wp-admin/includes/misc.php
    index 3680f8e..6e39592 100644
    function got_mod_rewrite() { 
    2222         * This filter was previously used to force URL rewriting for other servers,
    2323         * like nginx. Use the got_url_rewrite filter in got_url_rewrite() instead.
    2424         *
     25         * @since 2.5.0
     26         *
    2527         * @see got_url_rewrite()
    2628         *
    27          * @since 2.5.0
    2829         * @param bool $got_rewrite Whether Apache and mod_rewrite are present.
    2930         */
    3031        return apply_filters( 'got_rewrite', $got_rewrite );
    function got_url_rewrite() { 
    4647         * Filter whether URL rewriting is available.
    4748         *
    4849         * @since 3.7.0
     50         *
    4951         * @param bool $got_url_rewrite Whether URL rewriting is available.
    5052         */
    5153        return apply_filters( 'got_url_rewrite', $got_url_rewrite );
    function wp_doc_link_parse( $content ) { 
    336338        sort( $functions );
    337339
    338340        /**
    339          * Filter the list of functions/classes to be ignored from the documentation lookup.
     341         * Filter the list of functions and classes to be ignored from the documentation lookup.
    340342         *
    341343         * @since 2.8.0
    342344         *
    343          * @param array $ignore_functions Functions/Classes to be ignored.
     345         * @param array $ignore_functions Functions and classes to be ignored.
    344346         */
    345347        $ignore_functions = apply_filters( 'documentation_ignore_functions', $ignore_functions );
    346348