[wp-trac] [WordPress Trac] #24087: Missing double slash on Javascript snippet on wp-admin/includes/file.php

WordPress Trac noreply at wordpress.org
Mon Apr 15 09:49:34 UTC 2013


#24087: Missing double slash on Javascript snippet on wp-admin/includes/file.php
-----------------------------+-------------------------
 Reporter:  satollo          |       Type:  enhancement
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  General
  Version:  trunk            |   Severity:  minor
 Keywords:  has-patch        |
-----------------------------+-------------------------
 There is a minor (may be formal) error on javascript generated by wp-
 admin/includes/file.php: the last --> that closes the HTML comment should
 be preceded by the Javascript comment marker //.

 Stefano.

 Here the patch:

 # This patch file was generated by NetBeans IDE
 # It uses platform neutral UTF-8 encoding and \n newlines.
 --- Base (BASE)
 +++ Locally Modified (Based On LOCAL)
 @@ -977,7 +977,7 @@
         });
         jQuery('form input[value=""]:first').focus();
  });
 --->
 +//-->
  </script>
  <form action="<?php echo esc_url( $form_post ) ?>" method="post">
  <div class="wrap">

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/24087>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list