[wp-trac] [WordPress Trac] #14285: Redundant application of 'wptexturize' for 'single_post_title'
WordPress Trac
wp-trac at lists.automattic.com
Mon Jul 12 19:38:41 UTC 2010
#14285: Redundant application of 'wptexturize' for 'single_post_title'
--------------------------+-------------------------------------------------
Reporter: coffee2code | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 3.0
Severity: trivial | Keywords: has-patch
--------------------------+-------------------------------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14285>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list