diff --git a/src/wp-includes/class-wp-locale.php b/src/wp-includes/class-wp-locale.php index 2c42e3a8c7..81a80a59f0 100644 --- a/src/wp-includes/class-wp-locale.php +++ b/src/wp-includes/class-wp-locale.php @@ -254,8 +254,8 @@ class WP_Locale { * * @since 2.1.0 * - * @param int $weekday_number 0 for Sunday through 6 Saturday - * @return string Full translated weekday + * @param int $weekday_number 0 for Sunday through 6 Saturday. + * @return string Full translated weekday. */ public function get_weekday( $weekday_number ) { return $this->weekday[ $weekday_number ]; @@ -271,8 +271,8 @@ class WP_Locale { * * @since 2.1.0 * - * @param string $weekday_name - * @return string + * @param string $weekday_name Full translated weekday word. + * @return string Translated weekday initial. */ public function get_weekday_initial( $weekday_name ) { return $this->weekday_initial[ $weekday_name ]; @@ -286,8 +286,8 @@ class WP_Locale { * * @since 2.1.0 * - * @param string $weekday_name Full translated weekday word - * @return string Translated weekday abbreviation + * @param string $weekday_name Full translated weekday word. + * @return string Translated weekday abbreviation. */ public function get_weekday_abbrev( $weekday_name ) { return $this->weekday_abbrev[ $weekday_name ]; @@ -306,8 +306,8 @@ class WP_Locale { * * @since 2.1.0 * - * @param string|int $month_number '01' through '12' - * @return string Translated full month name + * @param string|int $month_number '01' through '12'. + * @return string Translated full month name. */ public function get_month( $month_number ) { return $this->month[ zeroise( $month_number, 2 ) ]; @@ -321,8 +321,8 @@ class WP_Locale { * * @since 2.1.0 * - * @param string $month_name Translated month to get abbreviated version - * @return string Translated abbreviated month + * @param string $month_name Translated month to get abbreviated version. + * @return string Translated abbreviated month. */ public function get_month_abbrev( $month_name ) { return $this->month_abbrev[ $month_name ];