Make WordPress Core

Changeset 32077


Ignore:
Timestamp:
04/08/2015 04:49:22 PM (10 years ago)
Author:
jorbin
Message:

Update placeholder for FTP credentials

Two changes:

  • Remove superfluous function call
  • Update domain used

Fixes #31922
Props Tmeister

File:
1 edited

Legend:

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

    r32016 r32077  
    11491149<label for="hostname">
    11501150    <span class="field-title"><?php _e( 'Hostname' ) ?></span>
    1151     <input name="hostname" type="text" id="hostname" aria-describedby="request-filesystem-credentials-desc" class="code" placeholder="<?php esc_attr_e( __( 'example: www.mysite.com' ) ) ?>" value="<?php echo esc_attr($hostname); if ( !empty($port) ) echo ":$port"; ?>"<?php disabled( defined('FTP_HOST') ); ?> />
     1151    <input name="hostname" type="text" id="hostname" aria-describedby="request-filesystem-credentials-desc" class="code" placeholder="<?php esc_attr_e( 'example: www.wordpress.org' ) ?>" value="<?php echo esc_attr($hostname); if ( !empty($port) ) echo ":$port"; ?>"<?php disabled( defined('FTP_HOST') ); ?> />
    11521152</label>
    11531153<div class="ftp-username">
Note: See TracChangeset for help on using the changeset viewer.