Make WordPress Core

Ticket #42793: 42793.2.diff

File 42793.2.diff, 533 bytes (added by 1naveengiri, 8 years ago)

I think the patch you added is correct but there doc is missing for return param too.

  • wp-includes/class-wp-locale.php

    diff --git a/wp-includes/class-wp-locale.php b/wp-includes/class-wp-locale.php
    index 2c42e3a8c7..0f97518baa 100644
    a b class WP_Locale { 
    271271         *
    272272         * @since 2.1.0
    273273         *
    274          * @param string $weekday_name
    275          * @return string
     274         * @param string $weekday_name Full translated weekday word
     275         * @return string Translated weekday initial
    276276         */
    277277        public function get_weekday_initial( $weekday_name ) {
    278278                return $this->weekday_initial[ $weekday_name ];