[wp-trac] [WordPress Trac] #15600: shortcode_unautop returns emtpy string
WordPress Trac
wp-trac at lists.automattic.com
Tue Jan 11 20:24:31 UTC 2011
#15600: shortcode_unautop returns emtpy string
-------------------------------------------------+-------------------------
Reporter: mdbitz | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: Future
Component: Formatting | Release
Severity: major | Version: 3.0.1
Keywords: shortcode_autop, ShortCode | Resolution:
reporter-feedback needs-testing has-patch |
needs-unit-tests |
-------------------------------------------------+-------------------------
Comment (by prettyboymp):
I've been able to reproduce the same error if a shortcode is the first
non-whitespace on a new line non-shortcode content on the same line. In
this case, if the post exceeds the backtrack limit, the result is NULL due
to the PREG_BACKTRACK_LIMIT_ERROR. Example:
{{{
[foo]shortcode content[/foo] the rest of the paragraph.
//40,000+ characters of lorem ipsum text.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15600#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list