[wp-trac] [WordPress Trac] #61988: Error page viewport missing initial-scale=1

WordPress Trac noreply at wordpress.org
Tue Sep 17 00:01:33 UTC 2024


#61988: Error page viewport missing initial-scale=1
--------------------------+-----------------------------
 Reporter:  kkmuffme      |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  6.7
Component:  General       |     Version:
 Severity:  trivial       |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"59027" 59027]:
 {{{
 #!CommitTicketReference repository="" revision="59027"
 General: Add missing `initial-scale` value in viewport meta tags.

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

 References:
 * [https://css-tricks.com/probably-use-initial-scale1/ CSS-Tricks:
 Probably Use initial-scale=1]
 * [https://www.sitepoint.com/community/t/is-it-necessary-to-include-
 initial-scale-1-0-in-the-meta-viewport-tag/455119 SitePoint Forums: Is it
 necessary to include initial-scale=1.0 in the meta viewport tag?]

 Follow-up to [59026].

 Props dhruvang21, sabernhardt, kkmuffme, mukesh27, narenin, swissspidy,
 SergeyBiryukov.
 Fixes #61988.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61988#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list