[wp-trac] [WordPress Trac] #6984: wpautop() formats the the contents of shortcodes
WordPress Trac
noreply at wordpress.org
Wed May 7 22:31:01 UTC 2014
#6984: wpautop() formats the the contents of shortcodes
---------------------------------+-----------------------------
Reporter: Viper007Bond | Owner:
Type: defect (bug) | Status: new
Priority: low | Milestone: Future Release
Component: Formatting | Version: 2.6
Severity: normal | Resolution:
Keywords: needs-patch wpautop | Focuses:
---------------------------------+-----------------------------
Comment (by collinsinternet):
Replying to [comment:12 Viper007Bond]:
> Replying to [comment:11 collinsinternet]:
> > What are your thoughts about changing the priority of when the
do_shortcode filter is run from 11 to 9?
>
> This would likely break a ton of plugins. A better solution would be a
priority parameter on `add_shortcode()`.
>
> It's pretty easy to run (but hacky) to run your shortcodes earlier
today:
>
> http://www.viper007bond.com/2009/11/22/wordpress-code-earlier-
shortcodes/
>
> That's the solution I've been using in my plugins for years.
----
That's what I was afraid of. I've got an idea on how to make this work --
patch to follow.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/6984#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list