Make WordPress Core

Changeset 37214


Ignore:
Timestamp:
04/15/2016 05:18:41 PM (10 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct description for override_load_textdomain and override_unload_textdomain filters.

Props dimadin.
Fixes #36537.

File:
1 edited

Legend:

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

    r36765 r37214  
    520520
    521521        /**
    522          * Filter text domain and/or MO file path for loading translations.
     522         * Filter whether to override the .mo file loading.
    523523         *
    524524         * @since 2.9.0
    525525         *
    526          * @param bool   $override Whether to override the text domain. Default false.
     526         * @param bool   $override Whether to override the .mo file loading. Default false.
    527527         * @param string $domain   Text domain. Unique identifier for retrieving translated strings.
    528528         * @param string $mofile   Path to the MO file.
     
    581581
    582582        /**
    583          * Filter the text domain for loading translation.
     583         * Filter whether to override the text domain unloading.
    584584         *
    585585         * @since 3.0.0
    586586         *
    587          * @param bool   $override Whether to override unloading the text domain. Default false.
     587         * @param bool   $override Whether to override the text domain unloading. Default false.
    588588         * @param string $domain   Text domain. Unique identifier for retrieving translated strings.
    589589         */
Note: See TracChangeset for help on using the changeset viewer.