[wp-trac] [WordPress Trac] #4331: Filtering admin head titles, allowing head injections in upload frame

WordPress Trac wp-trac at lists.automattic.com
Thu May 24 20:32:44 GMT 2007


#4331: Filtering admin head titles, allowing head injections in upload frame
----------------------------+-----------------------------------------------
 Reporter:  oaoao           |       Owner:  anonymous
     Type:  enhancement     |      Status:  new      
 Priority:  normal          |   Milestone:  2.3      
Component:  Administration  |     Version:  2.3      
 Severity:  normal          |    Keywords:           
----------------------------+-----------------------------------------------
 I've been trying to use Wordpress for a custom CMS and have been a little
 frustrated with the lack of control over the admin side. To that end, I've
 made one new filter and one new action.

 New action:
 admin_head-upload
 Allows for insertion of css & js in the upload frame's <head>.

 New filter:
 admin_title
 Everything within <title> is filtered in bookmarklet.php, upload.php and
 admin-header.php. This required a trivial change to bloginfo(), since it
 did not present the option of returning instead of a direct echo. I've
 added $display=false to the arg list, ala wp_title() and others.

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


More information about the wp-trac mailing list