Validation fixes. Props Viper007Bond. fixes #9387
git-svn-id: http://svn.automattic.com/wordpress/trunk@10832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ada56c9310
commit
8f7bbfc5fa
|
@ -66,10 +66,12 @@ do_action('admin_head');
|
|||
</style>
|
||||
</noscript>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
(function(){
|
||||
var ns = document.getElementsByTagName('noscript');
|
||||
if ( ns && (ns = ns[0]) ) ns.parentNode.removeChild(ns);
|
||||
})();
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
<?php if ( $is_iphone ) { ?>
|
||||
|
|
|
@ -609,7 +609,7 @@ function _print_scripts() {
|
|||
|
||||
$ver = md5("$wp_scripts->concat_version");
|
||||
$src = $wp_scripts->base_url . "/wp-admin/load-scripts.php?c={$zip}&load=" . trim($wp_scripts->concat, ', ') . "&ver=$ver";
|
||||
echo "<script type='text/javascript' src='$src'></script>\n";
|
||||
echo "<script type='text/javascript' src='" . attribute_escape($src) . "'></script>\n";
|
||||
}
|
||||
|
||||
if ( !empty($wp_scripts->print_html) )
|
||||
|
@ -676,7 +676,7 @@ function print_admin_styles() {
|
|||
$dir = $wp_styles->text_direction;
|
||||
$ver = md5("$wp_styles->concat_version{$dir}");
|
||||
$href = $wp_styles->base_url . "/wp-admin/load-styles.php?c={$zip}&dir={$dir}&load=" . trim($wp_styles->concat, ', ') . "&ver=$ver";
|
||||
echo "<link rel='stylesheet' href='$href' type='text/css' media='all' />\n";
|
||||
echo "<link rel='stylesheet' href='" . attribute_escape($href) . "' type='text/css' media='all' />\n";
|
||||
}
|
||||
|
||||
if ( !empty($wp_styles->print_html) )
|
||||
|
|
Loading…
Reference in New Issue