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

WordPress Trac noreply at wordpress.org
Mon Nov 23 12:45:56 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 nendeb55):

 HTML-Embed Code

 Error has come out in a compressed JavaScript in the
 `get_post_embed_html()`.
 But it works fine if you try in SCRIPT_DEBUG.
 It works correctly when further compress the wp-embed.js in another way.

 Is there a problem in the compression stroke of JavaScript?

 FireBug
 {{{
 TypeError: j.style is undefined
 ...ded-
 content");for(c=0;c<j.length;c++)j.style.display="none";for(c=0;c<i.length;c...
 }}}

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


More information about the wp-trac mailing list