[wp-trac] [WordPress Trac] #13288: Shortcodes getting wrapped with a "p" tag by rich editor
WordPress Trac
wp-trac at lists.automattic.com
Fri May 7 01:32:57 UTC 2010
#13288: Shortcodes getting wrapped with a "p" tag by rich editor
--------------------------+-------------------------------------------------
Reporter: aizatto | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: General | Version:
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
This bug appeared when trying to hunt down a bug with the TinyMCE Advanced
( http://wordpress.org/extend/plugins/tinymce-advanced/ ) plugin where
extra spaces were being added ( http://wordpress.org/support/topic/350867
), and was related to the WordPress code.
It appears that shortcodes are wrapped with a "p" tag, before being sent
to the rich editor.
This patch removes the "p" tag, by calling shortcode_unautop.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13288>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list