[wp-trac] Re: [WordPress Trac] #8505: Changes in [9809] to class.wp-scripts.php introduce external dependencies to BackPress

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 8 05:18:06 GMT 2008


#8505: Changes in [9809] to class.wp-scripts.php introduce external dependencies
to BackPress
-------------------------+--------------------------------------------------
 Reporter:  sambauers    |        Owner:  nbachiyski
     Type:  defect       |       Status:  reopened  
 Priority:  normal       |    Milestone:  2.7       
Component:  i18n         |      Version:  2.7       
 Severity:  normal       |   Resolution:            
 Keywords:  needs-patch  |  
-------------------------+--------------------------------------------------
Changes (by azaozz):

  * keywords:  BackPress, has-patch => needs-patch
  * status:  closed => reopened
  * resolution:  fixed =>

Comment:

 This is an utility function much like addLoadEvent() that should be loaded
 before any localized script file. The proper place for it would be in
 admin-header.php.

 Don't think this is a new dependency problem, since loaded scripts may
 also depend on addLoadEvent() which is not a part of class.wp-scripts.php.
 The current patch also prints it 5-6 times in the HTML head.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8505#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list