Pass along POST info when requesting credentials
git-svn-id: https://develop.svn.wordpress.org/trunk@9459 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5038ab53db
commit
9e262e7d0f
|
@ -602,6 +602,7 @@ function WP_Filesystem( $args = false ) {
|
||||||
* @return unknown
|
* @return unknown
|
||||||
*/
|
*/
|
||||||
function get_filesystem_method($args = array()) {
|
function get_filesystem_method($args = array()) {
|
||||||
|
return 'ftpext';
|
||||||
$method = false;
|
$method = false;
|
||||||
if( function_exists('getmyuid') && function_exists('fileowner') ){
|
if( function_exists('getmyuid') && function_exists('fileowner') ){
|
||||||
$temp_file = wp_tempnam();
|
$temp_file = wp_tempnam();
|
||||||
|
@ -720,8 +721,14 @@ jQuery(function($){
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
<?php if ( isset( $_POST['version'] ) ) : ?>
|
||||||
|
<input type="hidden" name="version" value="<?php echo attribute_escape($_POST['version']) ?>" />
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php if ( isset( $_POST['locale'] ) ) : ?>
|
||||||
|
<input type="hidden" name="locale" value="<?php echo attribute_escape($_POST['locale']) ?>" />
|
||||||
|
<?php endif; ?>
|
||||||
<p class="submit">
|
<p class="submit">
|
||||||
<input type="submit" name="submit" value="<?php _e('Proceed'); ?>" />
|
<input id="upgrade" name="upgrade" type="submit" value="<?php _e('Proceed'); ?>" />
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in New Issue