Ticket #3988: admin-header.diff
| File admin-header.diff, 662 bytes (added by xknown, 5 years ago) |
|---|
-
admin-header.php
2 2 @header('Content-type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); 3 3 if (!isset($_GET["page"])) require_once('admin.php'); 4 4 if ( $editing ) { 5 wp_enqueue_script( array( "dbx-admin-key?pagenow=$pagenow",'admin-custom-fields') );5 wp_enqueue_script( array('dbx-admin-key?pagenow=' . attribute_escape($pagenow),'admin-custom-fields') ); 6 6 if ( current_user_can('manage_categories') ) 7 7 wp_enqueue_script( 'ajaxcat' ); 8 8 if ( user_can_richedit() )
