Add missing global for r16881 See #15781

git-svn-id: https://develop.svn.wordpress.org/trunk@16882 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dion Hulse 2010-12-12 06:40:52 +00:00
parent 81e923a291
commit 3fcf08fe17
1 changed files with 1 additions and 1 deletions

View File

@ -1536,7 +1536,7 @@ function _admin_search_query() {
*/ */
function iframe_header( $title = '', $limit_styles = false ) { function iframe_header( $title = '', $limit_styles = false ) {
show_admin_bar( false ); show_admin_bar( false );
global $hook_suffix, $current_screen, $admin_body_class, $wp_locale; global $hook_suffix, $current_screen, $current_user, $admin_body_class, $wp_locale;
$admin_body_class = preg_replace('/[^a-z0-9_-]+/i', '-', $hook_suffix); $admin_body_class = preg_replace('/[^a-z0-9_-]+/i', '-', $hook_suffix);
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">