Make WordPress Core


Ignore:
Timestamp:
04/12/2014 12:00:32 AM (10 years ago)
Author:
DrewAPicture
Message:

Priority fixes for various existing hook documentation.

Props kpdesign.
See #26869

File:
1 edited

Legend:

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

    r25991 r28083  
    5454        $locale = 'en_US';
    5555
    56     // duplicate_hook
     56    /** This filter is documented in wp-includes/l10n.php */
    5757    return apply_filters( 'locale', $locale );
    5858}
     
    425425     * @since 2.9.0
    426426     *
    427      * @param boolean        Whether to override the text domain. Default false.
    428      * @param string $domain Text domain. Unique identifier for retrieving translated strings.
    429      * @param string $mofile Path to the MO file.
     427     * @param bool   $override Whether to override the text domain. Default false.
     428     * @param string $domain   Text domain. Unique identifier for retrieving translated strings.
     429     * @param string $mofile   Path to the MO file.
    430430     */
    431431    $plugin_override = apply_filters( 'override_load_textdomain', false, $domain, $mofile );
     
    480480
    481481    /**
    482      * Filter text text domain for loading translation.
     482     * Filter the text domain for loading translation.
    483483     *
    484484     * @since 3.0.0
    485485     *
    486      * @param boolean        Whether to override unloading the text domain. Default false.
    487      * @param string $domain Text domain. Unique identifier for retrieving translated strings.
     486     * @param bool   $override Whether to override unloading the text domain. Default false.
     487     * @param string $domain   Text domain. Unique identifier for retrieving translated strings.
    488488     */
    489489    $plugin_override = apply_filters( 'override_unload_textdomain', false, $domain );
     
    592592 */
    593593function load_muplugin_textdomain( $domain, $mu_plugin_rel_path = '' ) {
    594     // duplicate_hook
     594    /** This filter is documented in wp-includes/l10n.php */
    595595    $locale = apply_filters( 'plugin_locale', get_locale(), $domain );
    596596    $path = trailingslashit( WPMU_PLUGIN_DIR . '/' . ltrim( $mu_plugin_rel_path, '/' ) );
Note: See TracChangeset for help on using the changeset viewer.