Changes in trunk/wp-admin/admin-header.php [19522:21010]
- File:
-
- 1 edited
-
trunk/wp-admin/admin-header.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-header.php
r19522 r21010 12 12 13 13 // In case admin-header.php is included in a function. 14 global $title, $hook_suffix, $current_screen, $wp_locale, $pagenow, $wp_version, $is_iphone,14 global $title, $hook_suffix, $current_screen, $wp_locale, $pagenow, $wp_version, 15 15 $current_site, $update_title, $total_update_count, $parent_file; 16 16 … … 56 56 'time':'<?php echo time() ?>' 57 57 }, 58 ajaxurl = '<?php echo admin_url( 'admin-ajax.php'); ?>',58 ajaxurl = '<?php echo admin_url( 'admin-ajax.php', 'relative' ); ?>', 59 59 pagenow = '<?php echo $current_screen->id; ?>', 60 60 typenow = '<?php echo $current_screen->post_type; ?>', … … 86 86 $admin_body_class .= ' version-' . str_replace( '.', '-', preg_replace( '/^([.0-9]+).*/', '$1', $wp_version ) ); 87 87 $admin_body_class .= ' admin-color-' . sanitize_html_class( get_user_option( 'admin_color' ), 'fresh' ); 88 $admin_body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_locale() ) ) ); 88 89 89 if ( $is_iphone ) { ?> 90 <style type="text/css">.row-actions{visibility:visible;}</style> 91 <?php } ?> 90 if ( wp_is_mobile() ) 91 $admin_body_class .= ' mobile'; 92 93 $admin_body_class .= ' no-customize-support'; 94 95 ?> 92 96 </head> 93 97 <body class="wp-admin no-js <?php echo apply_filters( 'admin_body_class', '' ) . " $admin_body_class"; ?>"> 94 <script type="text/javascript">document.body.className = document.body.className.replace('no-js','js');</script> 98 <script type="text/javascript"> 99 document.body.className = document.body.className.replace('no-js','js'); 100 </script> 101 102 <?php 103 // If the customize-loader script is enqueued, make sure the customize 104 // body classes are correct as early as possible. 105 if ( wp_script_is( 'customize-loader', 'queue' ) && current_user_can( 'edit_theme_options' ) ) 106 wp_customize_support_script(); 107 ?> 95 108 96 109 <div id="wpwrap">
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)