[wp-trac] [WordPress Trac] #33517: Crash After Registering 500+ Shortcodes
WordPress Trac
noreply at wordpress.org
Sun Aug 23 23:02:48 UTC 2015
#33517: Crash After Registering 500+ Shortcodes
--------------------------+-----------------------------
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):
Replying to [comment:8 miqrogroove]:
> Replying to [comment:7 thepolishlad]:
> > It's not the # of shortcodes though
>
> This is wishful thinking. Fact is, if anyone registers hundreds of
shortcodes, the system becomes extremely inefficient with alternation
patterns until it finally crashes the PCRE compiler. The available
solutions are to use shortcode attributes correctly (which falls on the
plugin author), or to redesign the system (which falls on contributors
like me).
I see. I was making a guess (I'm not a programmer) based on what I was
seeing.
Do you have any idea of the max # of shortcodes able to be registered
before the PCRE compiler crashes?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33517#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list