From 558d5b371cce0ec9529b2a890110276203599b32 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 22 May 2016 18:48:28 +0000 Subject: [PATCH] Docs: Standardize filter docs in wp-includes/l10n.php to use third-person singular verbs per the inline documentation standards for PHP. See #36913. Built from https://develop.svn.wordpress.org/trunk@37517 git-svn-id: http://core.svn.wordpress.org/trunk@37485 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/l10n.php | 20 ++++++++++---------- wp-includes/version.php | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/wp-includes/l10n.php b/wp-includes/l10n.php index 2023baa1d0..fa63b19b25 100644 --- a/wp-includes/l10n.php +++ b/wp-includes/l10n.php @@ -32,7 +32,7 @@ function get_locale() { if ( isset( $locale ) ) { /** - * Filter WordPress install's locale ID. + * Filters WordPress install's locale ID. * * @since 1.5.0 * @@ -94,7 +94,7 @@ function translate( $text, $domain = 'default' ) { $translations = $translations->translate( $text ); /** - * Filter text with its translation. + * Filters text with its translation. * * @since 2.0.11 * @@ -145,7 +145,7 @@ function translate_with_gettext_context( $text, $context, $domain = 'default' ) $translations = get_translations_for_domain( $domain ); $translations = $translations->translate( $text, $context ); /** - * Filter text with its translation based on context information. + * Filters text with its translation based on context information. * * @since 2.8.0 * @@ -334,7 +334,7 @@ function _n( $single, $plural, $number, $domain = 'default' ) { $translation = $translations->translate_plural( $single, $plural, $number ); /** - * Filter the singular or plural form of a string. + * Filters the singular or plural form of a string. * * @since 2.2.0 * @@ -374,7 +374,7 @@ function _nx($single, $plural, $number, $context, $domain = 'default') { $translation = $translations->translate_plural( $single, $plural, $number, $context ); /** - * Filter the singular or plural form of a string with gettext context. + * Filters the singular or plural form of a string with gettext context. * * @since 2.8.0 * @@ -519,7 +519,7 @@ function load_textdomain( $domain, $mofile ) { global $l10n; /** - * Filter whether to override the .mo file loading. + * Filters whether to override the .mo file loading. * * @since 2.9.0 * @@ -544,7 +544,7 @@ function load_textdomain( $domain, $mofile ) { do_action( 'load_textdomain', $domain, $mofile ); /** - * Filter MO file path for loading translations for a specific text domain. + * Filters MO file path for loading translations for a specific text domain. * * @since 2.9.0 * @@ -580,7 +580,7 @@ function unload_textdomain( $domain ) { global $l10n; /** - * Filter whether to override the text domain unloading. + * Filters whether to override the text domain unloading. * * @since 3.0.0 * @@ -665,7 +665,7 @@ function load_default_textdomain( $locale = null ) { */ function load_plugin_textdomain( $domain, $deprecated = false, $plugin_rel_path = false ) { /** - * Filter a plugin's locale. + * Filters a plugin's locale. * * @since 3.0.0 * @@ -738,7 +738,7 @@ function load_muplugin_textdomain( $domain, $mu_plugin_rel_path = '' ) { */ function load_theme_textdomain( $domain, $path = false ) { /** - * Filter a theme's locale. + * Filters a theme's locale. * * @since 3.0.0 * diff --git a/wp-includes/version.php b/wp-includes/version.php index ff516c6a39..1c7ca36a0b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-alpha-37516'; +$wp_version = '4.6-alpha-37517'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.