[wp-trac] Re: [WordPress Trac] #10269: wysiwyg bug with shortcodes
WordPress Trac
wp-trac at lists.automattic.com
Thu Jun 25 11:49:09 GMT 2009
#10269: wysiwyg bug with shortcodes
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: Formatting | Version:
Severity: normal | Keywords: needs-patch
-------------------------------+--------------------------------------------
Changes (by Denis-de-Bernardy):
* keywords: => needs-patch
* component: Shortcodes => Formatting
Comment:
it's related to this line in wpautop:
{{{
$pee = preg_replace('/<p>\s*?(' . get_shortcode_regex() . ')\s*<\/p>/s',
'$1', $pee); // don't auto-p wrap shortcodes that stand alone
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10269#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list