[wp-trac] [WordPress Trac] #51377: Front End elements break after too many shortcodes

WordPress Trac noreply at wordpress.org
Wed Sep 23 06:25:52 UTC 2020


#51377: Front End elements break after too many shortcodes
-------------------------------------+-------------------------------------
 Reporter:  ghostofharambe           |      Owner:  (none)
     Type:  defect (bug)             |     Status:  new
 Priority:  normal                   |  Milestone:  Awaiting Review
Component:  General                  |    Version:  5.1.1
 Severity:  normal                   |   Keywords:  dev-feedback reporter-
  Focuses:  performance, privacy,    |  feedback has-dev-note needs-testing
  coding-standards                   |
-------------------------------------+-------------------------------------
 I recently joined a wordpress project to try to fix some issues with the
 code. This project uses around 1000 different shortcodes and at somewhere
 in the middle of the development of these shortcodes when an addition was
 made the Front-End elements will disappear. After some testing and
 debugging i was able to add many more shortcodes with reducing the length
 of the $tag parameter of the "add_shortcode()" method. This drew me to the
 conclusion that there is a limitation of the offset of the summation of
 all shortcodes' $tags Strings in the whole WordPress installation. Is this
 a viable conclusion or is there something more to it? Please let me know
 as i need to proceed with this.

 Enjoy your day and thank you.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51377>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list