WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/03/2015 08:48:19 PM (6 years ago)
Author:
ocean90
Message:

Nav menus: Consistent titles in widgets.

Merge of [33529] to the 3.9 branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.9/src/wp-includes/default-widgets.php

    r28206 r33532  
    13441344        <p>
    13451345            <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:') ?></label>
    1346             <input type="text" class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" value="<?php echo $title; ?>" />
     1346            <input type="text" class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" value="<?php echo esc_attr( $title ); ?>" />
    13471347        </p>
    13481348        <p>
Note: See TracChangeset for help on using the changeset viewer.