[wp-trac] [WordPress Trac] #44371: Make sure all JS globals are explicitly assigned to the window.

WordPress Trac noreply at wordpress.org
Wed Jul 18 05:40:10 UTC 2018


#44371: Make sure all JS globals are explicitly assigned to the window.
------------------------------+-------------------------
 Reporter:  omarreiss         |       Owner:  omarreiss
     Type:  defect (bug)      |      Status:  assigned
 Priority:  normal            |   Milestone:  5.0
Component:  General           |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  javascript
------------------------------+-------------------------
Changes (by pento):

 * keywords:  has-patch needs-testing => has-patch commit
 * owner:  (none) => omarreiss
 * status:  new => assigned


Comment:

 Let's get this in.

 All of these globals appear to be intended to be globally scoped: they're
 all declared outside the functions where they're used later in the files.

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


More information about the wp-trac mailing list