WordPress.org

Make WordPress Core

Ticket #23952: 23952.patch

File 23952.patch, 1.8 KB (added by johnjamesjacoby, 5 years ago)
  • wp-admin/includes/file.php

     
    967967
    968968?>
    969969<script type="text/javascript">
    970 <!--
     970//<![CDATA[
    971971jQuery(function($){
    972972        jQuery("#ssh").click(function () {
    973973                jQuery("#ssh_keys").show();
     
    977977        });
    978978        jQuery('form input[value=""]:first').focus();
    979979});
    980 -->
     980//]]>
    981981</script>
    982982<form action="<?php echo esc_url( $form_post ) ?>" method="post">
    983983<div class="wrap">
     
    10211021<?php if ( isset($types['ssh']) ) : ?>
    10221022<tr id="ssh_keys" valign="top" style="<?php if ( 'ssh' != $connection_type ) echo 'display:none' ?>">
    10231023<th scope="row"><?php _e('Authentication Keys') ?>
    1024 <div class="key-labels textright">
     1024<span class="key-labels textright">
    10251025<label for="public_key"><?php _e('Public Key:') ?></label ><br />
    10261026<label for="private_key"><?php _e('Private Key:') ?></label>
    1027 </div></th>
     1027</span></th>
    10281028<td><br /><input name="public_key" type="text" id="public_key" value="<?php echo esc_attr($public_key) ?>"<?php disabled( defined('FTP_PUBKEY') ); ?> size="40" /><br /><input name="private_key" type="text" id="private_key" value="<?php echo esc_attr($private_key) ?>"<?php disabled( defined('FTP_PRIKEY') ); ?> size="40" />
    10291029<div><?php _e('Enter the location on the server where the keys are located. If a passphrase is needed, enter that in the password field above.') ?></div></td>
    10301030</tr>
  • wp-admin/includes/media.php

     
    20642064<?php //media_upload_form( $errors ); ?>
    20652065
    20662066<script type="text/javascript">
    2067 <!--
     2067//<![CDATA[
    20682068jQuery(function($){
    20692069        var preloaded = $(".media-item.preloaded");
    20702070        if ( preloaded.length > 0 ) {
     
    20722072                updateMediaForm();
    20732073        }
    20742074});
    2075 -->
     2075//]]>
    20762076</script>
    20772077
    20782078<div id="media-items">