Changeset 24226 for trunk/wp-admin/admin-header.php
- Timestamp:
- 05/09/2013 10:45:14 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-header.php
r23879 r24226 86 86 $admin_body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_locale() ) ) ); 87 87 88 if ( false !== $post_format = get_post_format() ) { 89 if ( ! $post_format ) { 90 $post_format = 'standard'; 91 92 if ( ! empty( $_REQUEST['format'] ) && in_array( $_REQUEST['format'], get_post_format_slugs() ) ) 93 $post_format = $_REQUEST['format']; 94 } 95 96 $admin_body_class .= ' wp-format-' . $post_format; 97 } 98 88 99 if ( wp_is_mobile() ) 89 100 $admin_body_class .= ' mobile'; … … 99 110 100 111 <?php 101 // Make sure the customize body classes are correct as early as possible. 112 // Make sure the customize body classes are correct as early as possible. 102 113 if ( current_user_can( 'edit_theme_options' ) ) 103 114 wp_customize_support_script();
Note: See TracChangeset
for help on using the changeset viewer.