[wp-trac] [WordPress Trac] #19411: do_shortcode() runs before wpautop() in the text widget
WordPress Trac
wp-trac at lists.automattic.com
Fri Dec 2 17:29:43 UTC 2011
#19411: do_shortcode() runs before wpautop() in the text widget
------------------------------------+------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 3.3
Component: General | Version: 3.3
Severity: major | Resolution:
Keywords: has-patch dev-feedback |
------------------------------------+------------------
Comment (by nacin):
westi: Ah, yes, that was the same mess I was trying to avoid.
I like aaroncampbell's ideas. There's also the opportunity to do a
maybe_wpautop callback that accepts 2 parameters, thus receiving
$instance, and thus being able to determine whether wpautop should be
applied.
Example incoming.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19411#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list