WordPress.org

Make WordPress Core

Changeset 33534


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

Nav menus: Consistent titles in widgets.

Merge of [33529] to the 3.7 branch.

File:
1 edited

Legend:

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

    r25675 r33534  
    11451145        <p>
    11461146            <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:') ?></label>
    1147             <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; ?>" />
     1147            <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 ); ?>" />
    11481148        </p>
    11491149        <p>
Note: See TracChangeset for help on using the changeset viewer.