[wp-trac] [WordPress Trac] #33273: #33106 bug - i still get this with 4.2.4?

WordPress Trac noreply at wordpress.org
Wed Aug 5 18:59:40 UTC 2015


#33273: #33106 bug - i still get this with 4.2.4?
-------------------------------+----------------------
 Reporter:  stuartezonewp.com  |       Owner:
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Editor             |     Version:  4.2.4
 Severity:  normal             |  Resolution:  invalid
 Keywords:                     |     Focuses:
-------------------------------+----------------------
Changes (by azaozz):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 > ...therefore the closing script tag is commented out.

 Hi stuartezonewp, don't think scripts work this way. The `</script>` tag
 is part of the HTML. To comment it out you will need to use `<!--` and
 `-->`. The `//` comments out the JavaScript that is inside the
 `<script></script>` tag.

 This is added by TinyMCE and has always been formatted like that.

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


More information about the wp-trac mailing list