Making WordPress.org

Changeset 9155


Ignore:
Timestamp:
09/28/2019 12:18:41 AM (5 years ago)
Author:
dd32
Message:

Login: Fix the no-js classes to work properly.
This was causing the password field to be hidden on registration due to changes in https://core.trac.wordpress.org/ticket/42888

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/header.php

    r8606 r9155  
    77?>
    88<!doctype html>
    9 <html class="no-js" <?php language_attributes(); ?>>
     9<html <?php language_attributes(); ?>>
    1010<head>
    1111<meta charset="utf-8">
     
    1515<?php wp_head(); ?>
    1616</head>
    17 <body <?php body_class( 'wp-core-ui login' ); ?>>
     17<body <?php body_class( 'wp-core-ui login no-js' ); ?>>
     18<script type="text/javascript">document.body.className = document.body.className.replace('no-js','js');</script>
    1819<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-P24PF4B" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
    1920
Note: See TracChangeset for help on using the changeset viewer.