Make WordPress Core


Ignore:
Timestamp:
05/19/2017 08:44:49 PM (7 years ago)
Author:
westonruter
Message:

Widgets: Revert [40251] pending more accessible solution for showing default widget titles rather than using placeholders.

See #39909.

File:
1 edited

Legend:

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

    r40640 r40806  
    13531353<?php endif; if ( $inputs['title'] ) : ?>
    13541354    <p><label for="rss-title-<?php echo $esc_number; ?>"><?php _e( 'Give the feed a title (optional):' ); ?></label>
    1355     <input class="widefat" id="rss-title-<?php echo $esc_number; ?>" name="widget-rss[<?php echo $esc_number; ?>][title]" type="text" value="<?php echo esc_attr( $args['title'] ); ?>" placeholder="<?php esc_attr_e( '(Title from feed)' ) ?>" /></p>
     1355    <input class="widefat" id="rss-title-<?php echo $esc_number; ?>" name="widget-rss[<?php echo $esc_number; ?>][title]" type="text" value="<?php echo esc_attr( $args['title'] ); ?>" /></p>
    13561356<?php endif; if ( $inputs['items'] ) : ?>
    13571357    <p><label for="rss-items-<?php echo $esc_number; ?>"><?php _e( 'How many items would you like to display?' ); ?></label>
Note: See TracChangeset for help on using the changeset viewer.