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-admin/includes/nav-menu.php

    r18998 r19028  
    116116                            ?>" class="item-move-down"><abbr title="<?php esc_attr_e('Move down'); ?>">&#8595;</abbr></a>
    117117                        </span>
    118                         <a class="item-edit" id="edit-<?php echo $item_id; ?>" title="<?php _e('Edit Menu Item'); ?>" href="<?php
     118                        <a class="item-edit" id="edit-<?php echo $item_id; ?>" title="<?php esc_attr_e('Edit Menu Item'); ?>" href="<?php
    119119                            echo ( isset( $_GET['edit-menu-item'] ) && $item_id == $_GET['edit-menu-item'] ) ? admin_url( 'nav-menus.php' ) : add_query_arg( 'edit-menu-item', $item_id, remove_query_arg( $removed_args, admin_url( 'nav-menus.php#menu-item-settings-' . $item_id ) ) );
    120120                        ?>"><?php _e( 'Edit Menu Item' ); ?></a>
Note: See TracChangeset for help on using the changeset viewer.