WordPress.org

Make WordPress Core

Ticket #34376: 34376-fix.patch

File 34376-fix.patch, 530 bytes (added by Mte90, 4 years ago)

fieldset with class and hidden with js working

  • wp-admin/includes/file.php

     
    12051205        </label>
    12061206</div>
    12071207<?php if ( isset($types['ssh']) ) : ?>
    1208 <fieldset>
     1208<fieldset id="ssh_keys" style="<?php if ( 'ssh' != $connection_type ) echo 'display:none' ?>">
    12091209<legend><?php _e( 'Authentication Keys' ); ?></legend>
    12101210<label for="public_key">
    12111211        <span class="field-title"><?php _e('Public Key:') ?></span>