[wp-trac] [WordPress Trac] #48319: About wp_date function when locale is 'ja'
WordPress Trac
noreply at wordpress.org
Wed Oct 16 19:52:15 UTC 2019
#48319: About wp_date function when locale is 'ja'
--------------------------+---------------------
Reporter: tmatsuur | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.3
Component: Date/Time | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+---------------------
Comment (by SergeyBiryukov):
Replying to [comment:4 Rarst]:
> So far I am thinking a conservative fix, changing to `addcslashes(
$string, 'A..Za..z' )` in `wp_date()` implementation. Not going to date
format only yet. Probably more future proof too (e.g. what if new format
character is added upstream).
Sounds good to me.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48319#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list