[wp-trac] [WordPress Trac] #43810: Apostrophe issue

WordPress Trac noreply at wordpress.org
Fri Sep 12 19:01:36 UTC 2025


#43810: Apostrophe issue
-------------------------------------+------------------------------
 Reporter:  colomet                  |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Formatting               |     Version:  4.9.5
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch wptexturize  |     Focuses:
-------------------------------------+------------------------------

Comment (by jdeep):

 After a bit of digging, I am unsure if this is a bug or an expected
 behaviour. The content is filtered through `wptexturize` which converts
 `'` (ASCII 39) to open and closed apostrophes based on regex. So the
 apostrophes do appear correctly when the text is bold. Now, why it is not
 being done when the content is not between tags like `<strong>` is another
 issue.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43810#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list