do_shortcode() runs before wpautop() in the text widget
|Reported by:||nacin||Owned by:|
Follow-up from #10457, where do_shortcode was added to widget_text.
wpautop() is conditionally run against widget text after the widget_text filter fires. This means that do_shortcode() will run before wpautop(), and it's possible for shortcode_unautop() to run when wpautop() isn't run at all.
Coming up with a patch with a suggested solution.
Change History (11)
- Milestone 3.3 deleted
- Resolution set to duplicate
- Status changed from new to closed