Make WordPress Core


Ignore:
Timestamp:
05/22/2016 06:47:37 PM (10 years ago)
Author:
DrewAPicture
Message:

Docs: Standardize filter docs in wp-includes/l10n.php to use third-person singular verbs per the inline documentation standards for PHP.

See #36913.

File:
1 edited

Legend:

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

    r37440 r37517  
    3333        if ( isset( $locale ) ) {
    3434                /**
    35                  * Filter WordPress install's locale ID.
     35                 * Filters WordPress install's locale ID.
    3636                 *
    3737                 * @since 1.5.0
    … …  
    9595
    9696        /**
    97          * Filter text with its translation.
     97         * Filters text with its translation.
    9898         *
    9999         * @since 2.0.11
    … …  
    146146        $translations = $translations->translate( $text, $context );
    147147        /**
    148          * Filter text with its translation based on context information.
     148         * Filters text with its translation based on context information.
    149149         *
    150150         * @since 2.8.0
    … …  
    335335
    336336        /**
    337          * Filter the singular or plural form of a string.
     337         * Filters the singular or plural form of a string.
    338338         *
    339339         * @since 2.2.0
    … …  
    375375
    376376        /**
    377          * Filter the singular or plural form of a string with gettext context.
     377         * Filters the singular or plural form of a string with gettext context.
    378378         *
    379379         * @since 2.8.0
    … …  
    520520
    521521        /**
    522          * Filter whether to override the .mo file loading.
     522         * Filters whether to override the .mo file loading.
    523523         *
    524524         * @since 2.9.0
    … …  
    545545
    546546        /**
    547          * Filter MO file path for loading translations for a specific text domain.
     547         * Filters MO file path for loading translations for a specific text domain.
    548548         *
    549549         * @since 2.9.0
    … …  
    581581
    582582        /**
    583          * Filter whether to override the text domain unloading.
     583         * Filters whether to override the text domain unloading.
    584584         *
    585585         * @since 3.0.0
    … …  
    666666function load_plugin_textdomain( $domain, $deprecated = false, $plugin_rel_path = false ) {
    667667        /**
    668          * Filter a plugin's locale.
     668         * Filters a plugin's locale.
    669669         *
    670670         * @since 3.0.0
    … …  
    739739function load_theme_textdomain( $domain, $path = false ) {
    740740        /**
    741          * Filter a theme's locale.
     741         * Filters a theme's locale.
    742742         *
    743743         * @since 3.0.0
Note: See TracChangeset for help on using the changeset viewer.