Changeset 11109 for trunk/wp-admin/includes/file.php
- Timestamp:
- 04/28/2009 05:58:45 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/file.php
r11063 r11109 732 732 <tr valign="top"> 733 733 <th scope="row"><label for="hostname"><?php _e('Hostname') ?></label></th> 734 <td><input name="hostname" type="text" id="hostname" value="<?php echo attr ibute_escape($hostname); if ( !empty($port) ) echo ":$port"; ?>"<?php if( defined('FTP_HOST') ) echo ' disabled="disabled"' ?> size="40" /></td>734 <td><input name="hostname" type="text" id="hostname" value="<?php echo attr($hostname); if ( !empty($port) ) echo ":$port"; ?>"<?php if( defined('FTP_HOST') ) echo ' disabled="disabled"' ?> size="40" /></td> 735 735 </tr> 736 736 737 737 <tr valign="top"> 738 738 <th scope="row"><label for="username"><?php _e('Username') ?></label></th> 739 <td><input name="username" type="text" id="username" value="<?php echo attr ibute_escape($username) ?>"<?php if( defined('FTP_USER') ) echo ' disabled="disabled"' ?> size="40" /></td>739 <td><input name="username" type="text" id="username" value="<?php echo attr($username) ?>"<?php if( defined('FTP_USER') ) echo ' disabled="disabled"' ?> size="40" /></td> 740 740 </tr> 741 741 … … 751 751 <label for="private_key"><?php _e('Private Key:') ?></label> 752 752 </div></th> 753 <td><br /><input name="public_key" type="text" id="public_key" value="<?php echo attr ibute_escape($public_key) ?>"<?php if( defined('FTP_PUBKEY') ) echo ' disabled="disabled"' ?> size="40" /><br /><input name="private_key" type="text" id="private_key" value="<?php echo attribute_escape($private_key) ?>"<?php if( defined('FTP_PRIKEY') ) echo ' disabled="disabled"' ?> size="40" />753 <td><br /><input name="public_key" type="text" id="public_key" value="<?php echo attr($public_key) ?>"<?php if( defined('FTP_PUBKEY') ) echo ' disabled="disabled"' ?> size="40" /><br /><input name="private_key" type="text" id="private_key" value="<?php echo attr($private_key) ?>"<?php if( defined('FTP_PRIKEY') ) echo ' disabled="disabled"' ?> size="40" /> 754 754 <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> 755 755 </tr> … … 768 768 769 769 <?php if ( isset( $_POST['version'] ) ) : ?> 770 <input type="hidden" name="version" value="<?php echo attr ibute_escape($_POST['version']) ?>" />770 <input type="hidden" name="version" value="<?php echo attr($_POST['version']) ?>" /> 771 771 <?php endif; ?> 772 772 <?php if ( isset( $_POST['locale'] ) ) : ?> 773 <input type="hidden" name="locale" value="<?php echo attr ibute_escape($_POST['locale']) ?>" />773 <input type="hidden" name="locale" value="<?php echo attr($_POST['locale']) ?>" /> 774 774 <?php endif; ?> 775 775 <p class="submit">
Note: See TracChangeset
for help on using the changeset viewer.