Opened 10 years ago
Closed 10 years ago
#30344 closed defect (bug) (fixed)
Curly Quotes Missing for Strange Input
Reported by: | miqrogroove | Owned by: | wonderboymusic |
---|---|---|---|
Milestone: | 4.2 | Priority: | normal |
Severity: | trivial | Version: | 4.0 |
Component: | Formatting | Keywords: | wptexturize has-patch 4.2-early commit |
Focuses: | Cc: |
Description
wptexturize() gives unexpected results if an Administrator uses a post body like this:
<> "Hello world" <>
This was caused by a small mistake in the new regexp.
Attachments (1)
Change History (11)
#1
@
10 years ago
- Keywords wptexturize needs-unit-tests added
- Severity changed from normal to trivial
This ticket was mentioned in Slack in #core by drew. View the logs.
10 years ago
#6
@
10 years ago
- Keywords good-first-bug reporter-feedback added
@miqrogroove: Could you possibly be a little more specific on what "unexpected results" looks like? I got the same result with and without the patch using your test content.
#8
@
10 years ago
- Keywords reporter-feedback removed
Add the unit tests without the changes to wptexturize and the tests should fail in phpunit. That would be the unexpected result.
Note: See
TracTickets for help on using
tickets.
has-patch 4.2-early so moving to 4.2.