WordPress.org

Make WordPress Core

Changeset 49859


Ignore:
Timestamp:
12/21/2020 06:24:53 PM (4 weeks ago)
Author:
SergeyBiryukov
Message:

Docs: Move locale filter documentation to the canonical place.

See #51800.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/l10n.php

    r49639 r49859  
    3232
    3333    if ( isset( $locale ) ) {
    34         /**
    35          * Filters the locale ID of the WordPress installation.
    36          *
    37          * @since 1.5.0
    38          *
    39          * @param string $locale The locale ID.
    40          */
     34        /** This filter is documented in wp-includes/l10n.php */
    4135        return apply_filters( 'locale', $locale );
    4236    }
     
    7771    }
    7872
    79     /** This filter is documented in wp-includes/l10n.php */
     73    /**
     74     * Filters the locale ID of the WordPress installation.
     75     *
     76     * @since 1.5.0
     77     *
     78     * @param string $locale The locale ID.
     79     */
    8080    return apply_filters( 'locale', $locale );
    8181}
Note: See TracChangeset for help on using the changeset viewer.