[wp-trac] [WordPress Trac] #15782: Consolodate header Javascript

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 12 05:45:54 UTC 2010


#15782: Consolodate header Javascript
----------------------------+-----------------------------------------------
 Reporter:  dd32            |       Owner:                
     Type:  enhancement     |      Status:  new           
 Priority:  normal          |   Milestone:  Future Release
Component:  Administration  |     Version:  3.1           
 Severity:  normal          |    Keywords:  3.2-early     
----------------------------+-----------------------------------------------
 As a followon to #15781

 Currently there is a block of Javascript required on all admin pages, this
 is stored directly within admin-header.php, and iframe_header().
 Unfortunately, when someone changes/adds code to one, the other is not
 always updated.

 This inline Javascript should be moved to a function and printed on a
 header action in order to reduce code duplication and prevent future
 issues.

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


More information about the wp-trac mailing list