WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/21/2010 05:17:58 PM (8 years ago)
Author:
ryan
Message:

Translations in title attributes require esc_attr().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-links-list-table.php

    r16992 r17102  
    143143                        break;
    144144                    case 'url':
    145                         echo "<td $attributes><a href='$link->link_url' title='".sprintf( __( 'Visit %s' ), $link->link_name )."'>$short_url</a></td>";
     145                        echo "<td $attributes><a href='$link->link_url' title='". esc_attr( sprintf( __( 'Visit %s' ), $link->link_name ) )."'>$short_url</a></td>";
    146146                        break;
    147147                    case 'categories':
Note: See TracChangeset for help on using the changeset viewer.