[wp-trac] [WordPress Trac] #33517: Crash Caused by Registering Shortcodes Whose Total Characters Exceed 33k (was: Crash Caused by Registering 500+ Shortcodes)
WordPress Trac
noreply at wordpress.org
Sun Aug 23 17:58:39 UTC 2015
#33517: Crash Caused by Registering Shortcodes Whose Total Characters Exceed 33k
--------------------------+-----------------------------
Reporter: thepolishlad | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Future Release
Component: Shortcodes | Version:
Severity: normal | Resolution:
Keywords: roadmap | Focuses:
--------------------------+-----------------------------
Comment (by thepolishlad):
I discovered that the regex on line 255 of formatting.php that processes
the shortcodes can handle around 33k characters.
In my case, I am going to rename the membership levels in Wishlist Member
to greatly reduce the # of characters each level has, thereby reducing the
overall amount of characters listed in out in the shortcodes generated by
Wishlist Member.
I updated the Summary as well to reflect the crash being caused by the #
of characters, and not the # of shortcodes registered. Feel free to change
it as appropriate.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33517#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list