Changes between Version 2 and Version 3 of Ticket #44296, comment 9
- Timestamp:
- 07/11/2018 04:20:43 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #44296, comment 9
v2 v3 61 61 I'm not sure about the general support for the PCRE {{{u}}} modifier though and the security aspect of it. 62 62 63 Ticket #24661 introduces the {{{_wp_can_use_pcre_u()}}} function. 63 There's a core [https://github.com/WordPress/WordPress/blob/29d5e980cc0324da3260943e9ddd2088a3919fad/wp-includes/compat.php#L16 _wp_can_use_pcre_u()] function and ticket #24661 introduces the {{{_wp_can_use_pcre_ucp()}}} function. 64 64 65 65 66 It's interesting to see how core uses the {{{u}}} modifier, both with a support check and also without such a check, e.g. in {{{sanitize_file_name()}}}, {{{WP_Text_Diff_Renderer_inline::_splitOnWords()}}} and {{{wp_maybe_decline_date()}}}.