[wp-trac] [WordPress Trac] #34698: HTML-Embed code JavaScript error.

WordPress Trac noreply at wordpress.org
Tue Nov 24 02:10:30 UTC 2015


#34698: HTML-Embed code JavaScript error.
--------------------------+--------------------------
 Reporter:  nendeb55      |       Owner:  miqrogroove
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  4.4
Component:  Embeds        |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |     Focuses:
--------------------------+--------------------------

Comment (by dd32):

 Replying to [comment:28 Viper007Bond]:
 > My plugin stupidly registers a bunch of shortcodes, the idea being you
 could just do `[php]code here[/php]` instead of `[code lang="php"]code
 here[/code]`. I've since come to regret this.
 >
 > Unfortunately if I reverse this decision, it could easily break past
 usages of the shortcode. Perhaps I can play with filter orders instead?
 Currently my plugin parses its shortcodes at priority 7 (not the default
 shortcode priority).

 It sounds like you're parsing shortcodes inside of `<script>` tags, which
 you probably shouldn't do :)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34698#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list