WordPress.org

Make WordPress Core

Ticket #24777: 24777.2.patch

File 24777.2.patch, 637 bytes (added by bobbravo2, 9 months ago)
  • wp-login.php

    diff --git a/wp-login.php b/wp-login.php
    index d085de8..ad6647c 100644
    a b function login_header($title = 'Log In', $message = '', $wp_error = '') { 
    6464        wp_admin_css( 'wp-admin', true ); 
    6565        wp_admin_css( 'colors-fresh', true ); 
    6666 
    67         if ( wp_is_mobile() ) { ?> 
    68                 <meta name="viewport" content="width=320; initial-scale=0.9; maximum-scale=1.0; user-scalable=0;" /><?php 
     67        if ( wp_is_mobile() && apply_filters('login_page_viewport', true)) { ?> 
     68                <meta name="viewport" content="width=320, initial-scale=0.9, maximum-scale=1.1" /><?php 
    6969        } 
    7070 
    7171        // Remove all stored post data on logging out.