Make WordPress Core


Ignore:
Timestamp:
09/16/2024 10:16:46 PM (4 months ago)
Author:
SergeyBiryukov
Message:

Bundled Themes: Add missing initial-scale value in viewport meta tag.

The viewport meta should include initial-scale=1.0 to ensure that high DPI/mobile display works as expected.

Includes standardizing on 1.0 vs. 1 for consistency.

References:

Props dhruvang21, sabernhardt, kkmuffme, mukesh27, swissspidy, SergeyBiryukov.
See #61988.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentysixteen/header.php

    r56583 r59026  
    1414<head>
    1515    <meta charset="<?php bloginfo( 'charset' ); ?>">
    16     <meta name="viewport" content="width=device-width, initial-scale=1">
     16    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    1717    <link rel="profile" href="https://gmpg.org/xfn/11">
    1818    <?php if ( is_singular() && pings_open( get_queried_object() ) ) : ?>
Note: See TracChangeset for help on using the changeset viewer.