Files
wordpress/wp-includes
audrasjb 365645c608 Date/Time: Add sanitization to WP_Locale::get_month().
By adding a sanitization to `$wp_locale->get_month()`, this changeset prevents a PHP Warning: `Undefined array key "00"` caused by `single_month_title()`. This function previously assumed that `get_query_var( 'm' )` is always at least 6 digits, and always contains the year and the month, which is not necessarily true.

Props apermo, audrasjb, xateman.
Fixes #62824.


Built from https://develop.svn.wordpress.org/trunk@59870


git-svn-id: http://core.svn.wordpress.org/trunk@59212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-02-25 22:40:22 +00:00
..