Make WordPress Core

Changeset 33529


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

Nav menus: Consistent titles in widgets.

File:
1 edited

Legend:

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

    r31886 r33529  
    14111411        <p>
    14121412            <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:') ?></label>
    1413             <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; ?>" />
     1413            <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 ); ?>" />
    14141414        </p>
    14151415        <p>
Note: See TracChangeset for help on using the changeset viewer.