[wp-trac] [WordPress Trac] #46921: Improper use of ’ (quotation mark)
WordPress Trac
noreply at wordpress.org
Thu Jun 26 12:30:26 UTC 2025
#46921: Improper use of ’ (quotation mark)
--------------------------+------------------------------
Reporter: marcochiesi | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version:
Severity: minor | Resolution:
Keywords: close | Focuses: ui-copy
--------------------------+------------------------------
Changes (by jonsurrell):
* keywords: => close
Comment:
This seems like the expected behavior. It's very common
[https://github.com/search?q=repo%3AWordPress%2Fwordpress-
develop%208217&type=code in the WordPress source].
I'd reference the behavior of
[https://developer.wordpress.org/reference/functions/wptexturize/
wptexturize] which will apply this type of transformation, suggesting it's
desirable:
> Replaces common plain text characters with formatted entities.
>
> …
>
> As an example,
>
> 'cause today's effort makes it worth tomorrow's "holiday" ...
>
> Becomes:
>
> ’cause today’s effort makes it worth tomorrow’s
“holiday” …
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46921#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list