Opened 14 years ago
Closed 14 years ago
#14285 closed defect (bug) (fixed)
Redundant application of 'wptexturize' for 'single_post_title'
Reported by: | coffee2code | Owned by: | |
---|---|---|---|
Milestone: | 3.1 | Priority: | normal |
Severity: | trivial | Version: | 3.0 |
Component: | Formatting | Keywords: | has-patch |
Focuses: | Cc: |
Description
In wp-includes/default-filters.php, 'wptexturize' is being applied twice to the 'single_post_title' filter. In one instance (the oldest of the two cases), 'wptexturize' was applied directly and singularly. [13467] changed things to iterate an array of filters (which includes 'single_post_title') to apply 'wptexturize' and 'strip_tags' consistently for them all. However, the actual changeset did not remove the original line.
Looks like in #10900, scribu's original patch removed the line, but the refreshed version of the patch (which was ultimately committed in [13467]) omitted the removal of the line.
Patch is attached.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Patch to remove redundant line.