WordPress.org

Make WordPress Core

Ticket #23986: 23986.diff

File 23986.diff, 1.1 KB (added by tillkruess, 5 years ago)

adds "admin_html_class" filter

  • wp-admin/includes/template.php

     
    16991699?>
    17001700<!DOCTYPE html>
    17011701<!--[if IE 8]>
    1702 <html xmlns="http://www.w3.org/1999/xhtml" class="ie8 <?php echo $admin_html_class; ?>" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>>
     1702<html xmlns="http://www.w3.org/1999/xhtml" class="<?php echo apply_filters( 'admin_html_class', 'ie8 ' . $admin_html_class ); ?>" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>>
    17031703<![endif]-->
    17041704<!--[if !(IE 8) ]><!-->
    1705 <html xmlns="http://www.w3.org/1999/xhtml" class="<?php echo $admin_html_class; ?>" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>>
     1705<html xmlns="http://www.w3.org/1999/xhtml" class="<?php echo apply_filters( 'admin_html_class', $admin_html_class ); ?>" <?php do_action('admin_xml_ns'); ?> <?php language_attributes(); ?>>
    17061706<!--<![endif]-->
    17071707<head>
    17081708<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />