Changeset 46569 for trunk/src/wp-includes/functions.php
- Timestamp:
- 10/22/2019 05:29:02 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r46476 r46569 255 255 switch ( $format[ $i ] ) { 256 256 case 'D': 257 $new_format .= backslashit( $wp_locale->get_weekday_abbrev( $weekday ));257 $new_format .= addcslashes( $wp_locale->get_weekday_abbrev( $weekday ), '\\A..Za..z' ); 258 258 break; 259 259 case 'F': 260 $new_format .= backslashit( $month);260 $new_format .= addcslashes( $month, '\\A..Za..z' ); 261 261 break; 262 262 case 'l': 263 $new_format .= backslashit( $weekday);263 $new_format .= addcslashes( $weekday, '\\A..Za..z' ); 264 264 break; 265 265 case 'M': 266 $new_format .= backslashit( $wp_locale->get_month_abbrev( $month ));266 $new_format .= addcslashes( $wp_locale->get_month_abbrev( $month ), '\\A..Za..z' ); 267 267 break; 268 268 case 'a': 269 $new_format .= backslashit( $wp_locale->get_meridiem( $datetime->format( 'a' ) ));269 $new_format .= addcslashes( $wp_locale->get_meridiem( $datetime->format( 'a' ) ), '\\A..Za..z' ); 270 270 break; 271 271 case 'A': 272 $new_format .= backslashit( $wp_locale->get_meridiem( $datetime->format( 'A' ) ));272 $new_format .= addcslashes( $wp_locale->get_meridiem( $datetime->format( 'A' ) ), '\\A..Za..z' ); 273 273 break; 274 274 case '\\':
Note: See TracChangeset
for help on using the changeset viewer.