WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/20/2011 03:04:46 PM (10 years ago)
Author:
nacin
Message:

Translated strings in attributes require esc_attr(). s/_e/esc_attr_e/g

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-editor.php

    r18988 r19028  
    812812        </div>
    813813        <div id="wp-link-update">
    814             <input type="submit" tabindex="100" value="<?php _e( 'Add Link' ); ?>" class="button-primary" id="wp-link-submit" name="wp-link-submit">
     814            <input type="submit" tabindex="100" value="<?php esc_attr_e( 'Add Link' ); ?>" class="button-primary" id="wp-link-submit" name="wp-link-submit">
    815815        </div>
    816816    </div>
Note: See TracChangeset for help on using the changeset viewer.