]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/install.php
WordPress 3.8
[autoinstalls/wordpress.git] / wp-admin / install.php
index 0b6ac2edb3528204c7ee8a73f4790d429500d880..587d79ade9ee38114c7dd24f3276c7bef08e3412 100644 (file)
@@ -56,6 +56,7 @@ function display_header() {
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
 <head>
+       <meta name="viewport" content="width=device-width" />
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title><?php _e( 'WordPress &rsaquo; Installation' ); ?></title>
        <?php
@@ -249,8 +250,10 @@ switch($step) {
                }
                break;
 }
+if ( !wp_is_mobile() ) {
 ?>
 <script type="text/javascript">var t = document.getElementById('weblog_title'); if (t){ t.focus(); }</script>
+<?php } ?>
 <?php wp_print_scripts( 'user-profile' ); ?>
 </body>
 </html>