Make WordPress Core

Changeset 15098


Ignore:
Timestamp:
06/01/2010 08:35:59 PM (12 years ago)
Author:
nacin
Message:

Clarify the connection information requested in request_filesystem_credentials() to reduce confusion surrounding FTP information versus your WordPress login. see #13467, props jane.

File:
1 edited

Legend:

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

    r15052 r15098  
    965965<?php screen_icon(); ?>
    966966<h2><?php _e('Connection Information') ?></h2>
    967 <p><?php _e('To perform the requested action, connection information is required.') ?></p>
    968 
     967<p><?php
     968    _e('To perform the requested action, WordPress needs to access to your web server.');
     969    if ( ( isset( $types['ftp'] ) || isset( $types['ftps'] ) ) ) {
     970        if ( isset( $types['ssh'] ) )
     971            _e('Please enter your FTP or SSH credentials to proceed.');
     972        else
     973            _e('Please enter your FTP credentials to proceed.');
     974    }
     975    _e('If you do not remember your credentials, you should contact your web host.');
     976?></p>
    969977<table class="form-table">
    970978<tr valign="top">
Note: See TracChangeset for help on using the changeset viewer.