Make WordPress Core


Ignore:
Timestamp:
08/03/2015 08:47:59 PM (9 years ago)
Author:
ocean90
Message:

Nav menus: Consistent titles in widgets.

Merge of [33529] to the 4.0 branch.

File:
1 edited

Legend:

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

    r29338 r33531  
    13551355        <p>
    13561356            <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:') ?></label>
    1357             <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; ?>" />
     1357            <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 ); ?>" />
    13581358        </p>
    13591359        <p>
Note: See TracChangeset for help on using the changeset viewer.