[wp-trac] [WordPress Trac] #30531: Make wptexturize the last filter before output
WordPress Trac
noreply at wordpress.org
Thu Nov 27 20:30:23 UTC 2014
#30531: Make wptexturize the last filter before output
-------------------------+----------------------------
Reporter: azaozz | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Formatting | Version:
Severity: normal | Keywords: 4.2-early
Focuses: |
-------------------------+----------------------------
This will allow it to be simplified/refactored and run faster.
Advantages:
- Not looking at shortcodes as it will run after do_shortcode(). That will
make it less complex and faster. This also avoids all edge cases with
shortcodes.
- Better detection/handling of quotes around `<p>` tags as it will run
after wpautop(). Also, preg_split() will split the text in more chunks
which will be easier to process.
Disadvantage: the `no_texturize_shortcodes` filter will stop working.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30531>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list