mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
hackificator
bails on this file because the <meta>
isn't self-closing.
See #27881. Built from https://develop.svn.wordpress.org/trunk@28482 git-svn-id: http://core.svn.wordpress.org/trunk@28308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2e912d3108
commit
68cfacf9ec
@ -63,7 +63,7 @@ $body_class = 'wp-core-ui wp-customizer js';
|
|||||||
if ( wp_is_mobile() ) :
|
if ( wp_is_mobile() ) :
|
||||||
$body_class .= ' mobile';
|
$body_class .= ' mobile';
|
||||||
|
|
||||||
?><meta name="viewport" id="viewport-meta" content="width=device-width, initial-scale=0.8, minimum-scale=0.5, maximum-scale=1.2"><?php
|
?><meta name="viewport" id="viewport-meta" content="width=device-width, initial-scale=0.8, minimum-scale=0.5, maximum-scale=1.2" /><?php
|
||||||
endif;
|
endif;
|
||||||
|
|
||||||
$is_ios = wp_is_mobile() && preg_match( '/iPad|iPod|iPhone/', $_SERVER['HTTP_USER_AGENT'] );
|
$is_ios = wp_is_mobile() && preg_match( '/iPad|iPod|iPhone/', $_SERVER['HTTP_USER_AGENT'] );
|
||||||
|
Loading…
Reference in New Issue
Block a user