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

WordPress Trac noreply at wordpress.org
Thu Nov 19 06:15:15 UTC 2015


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

Comment (by peterwilsoncc):

 Replying to [comment:10 nendeb55]:
 > Thanks for These patch.
 >
 > Finally, please create a JavaScript-code also patches in the wp-
 embed.min.js and embed-functions.php of get_post_embed_html ().

 The .min file and the function are created automatically during the build
 process from the file in the patch by grunt. Only the uncompressed file
 needs to be changed in this repo.

 I'm looking over what uglify.js is doing during the compression process to
 ensure it doesn't recreate all the `&&` that we are removing here.

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


More information about the wp-trac mailing list