Making WordPress.org

Ticket #1397: 1397.patch

File 1397.patch, 641 bytes (added by rclilly, 9 years ago)

Patch for #1397

  • header.php

     
    1111<html <?php language_attributes(); ?>>
    1212<head>
    1313<meta charset="<?php bloginfo( 'charset' ); ?>" />
    14 <meta name="viewport" content="width=device-width" />
     14<?php
     15        $blog_id = get_current_blog_id();       
     16        if ($blog_id > 604) {
     17                echo '<meta name="viewport" content="width=device-width, initial-scale=1" />';
     18        } else {
     19                echo '<meta name="viewport" content="width=device-width" />';
     20        }
     21?>
     22
    1523<meta name="apple-mobile-web-app-capable" content="yes" />
    1624<title><?php
    1725        /*