Make WordPress Core

Ticket #58658: diff.patch

File diff.patch, 1.1 KB (added by Tkama, 2 years ago)
  • wp-includes/class-wp-locale.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
    diff --git a/wp-includes/class-wp-locale.php b/wp-includes/class-wp-locale.php
    a b  
    319319                return $this->month[ zeroise( $month_number, 2 ) ];
    320320        }
    321321
     322        /**
     323         * Retrieves the full translated month in genitive case by month number.
     324         *
     325         * @since 6.2.3
     326         *
     327         * @param string|int $month_number  From 1 to 12. If a number less than 10 is passed in integer
     328         *                                  or string format, a '0' will be added before it.
     329         *
     330         * @return string Translated full month name in genitive case.
     331         */
     332        public function get_month_genitive( $month_number ) {
     333                return $this->month_genitive[ zeroise( $month_number, 2 ) ];
     334        }
     335
    322336        /**
    323337         * Retrieves translated version of month abbreviation string.
    324338         *