[wp-trac] [WordPress Trac] #8553: preg_replace_callback in do_shortcode returns empty for large posts

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 11 20:17:58 UTC 2011


#8553: preg_replace_callback in do_shortcode returns empty for large posts
-------------------------------------+-----------------------------
 Reporter:  AaronCampbell            |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  high                     |   Milestone:  Future Release
Component:  Shortcodes               |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+-----------------------------

Comment (by aaroncampbell):

 Replying to [comment:62 xibe]:
 > Well, according to my [http://xavier.borderie.net/wp-trunk/?p=56
 aforementioned long post] (using the latest nightly), this is still an
 issue in some cases.

 Are you sure it's the same problem (pcre.backtrack_limit)?

 I created a [attachment:long-post.txt test post] that uses the gallery and
 caption shortcodes (about 1500-1600 shortcodes total).  I added the post
 to a [http://xavisys.com/clients/wp32/long-post-test 3.2.1 install] and a
 [http://xavisys.com/clients/wptrunk/uncategorized/long-post-test/ trunk
 install].  On the trunk install it displays as expected and on the 3.2.1
 install it shows as blank (which is what was happening when this ticket
 was filed).

 I think this is fixed.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/8553#comment:63>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list