Ticket #23952: 23952.patch
File 23952.patch, 1.8 KB (added by , 12 years ago) |
---|
-
wp-admin/includes/file.php
967 967 968 968 ?> 969 969 <script type="text/javascript"> 970 <!-- 970 //<![CDATA[ 971 971 jQuery(function($){ 972 972 jQuery("#ssh").click(function () { 973 973 jQuery("#ssh_keys").show(); … … 977 977 }); 978 978 jQuery('form input[value=""]:first').focus(); 979 979 }); 980 -->980 //]]> 981 981 </script> 982 982 <form action="<?php echo esc_url( $form_post ) ?>" method="post"> 983 983 <div class="wrap"> … … 1021 1021 <?php if ( isset($types['ssh']) ) : ?> 1022 1022 <tr id="ssh_keys" valign="top" style="<?php if ( 'ssh' != $connection_type ) echo 'display:none' ?>"> 1023 1023 <th scope="row"><?php _e('Authentication Keys') ?> 1024 < divclass="key-labels textright">1024 <span class="key-labels textright"> 1025 1025 <label for="public_key"><?php _e('Public Key:') ?></label ><br /> 1026 1026 <label for="private_key"><?php _e('Private Key:') ?></label> 1027 </ div></th>1027 </span></th> 1028 1028 <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" /> 1029 1029 <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> 1030 1030 </tr> -
wp-admin/includes/media.php
2064 2064 <?php //media_upload_form( $errors ); ?> 2065 2065 2066 2066 <script type="text/javascript"> 2067 <!-- 2067 //<![CDATA[ 2068 2068 jQuery(function($){ 2069 2069 var preloaded = $(".media-item.preloaded"); 2070 2070 if ( preloaded.length > 0 ) { … … 2072 2072 updateMediaForm(); 2073 2073 } 2074 2074 }); 2075 -->2075 //]]> 2076 2076 </script> 2077 2077 2078 2078 <div id="media-items">