Make WordPress Core

Changeset 9459


Ignore:
Timestamp:
11/01/2008 06:56:38 AM (16 years ago)
Author:
ryan
Message:

Pass along POST info when requesting credentials

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/file.php

    r9186 r9459  
    603603 */
    604604function get_filesystem_method($args = array()) {
     605    return 'ftpext';
    605606    $method = false;
    606607    if( function_exists('getmyuid') && function_exists('fileowner') ){
     
    721722</tr>
    722723</table>
     724<?php if ( isset( $_POST['version'] ) ) : ?>
     725<input type="hidden" name="version" value="<?php echo attribute_escape($_POST['version']) ?>" />
     726<?php endif; ?>
     727<?php if ( isset( $_POST['locale'] ) ) : ?>
     728<input type="hidden" name="locale" value="<?php echo attribute_escape($_POST['locale']) ?>" />
     729<?php endif; ?>
    723730<p class="submit">
    724 <input type="submit" name="submit" value="<?php _e('Proceed'); ?>" />
     731<input id="upgrade" name="upgrade" type="submit" value="<?php _e('Proceed'); ?>" />
    725732</p>
    726733</div>
Note: See TracChangeset for help on using the changeset viewer.