Make WordPress Core


Ignore:
Timestamp:
05/05/2009 07:43:53 PM (16 years ago)
Author:
markjaquith
Message:

_a(), _ea(), _xa(), attr() are now esc_attr(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/deprecated.php

    r11138 r11204  
    10071007            $rel = ' rel="' . $rel . '"';
    10081008
    1009         $desc = attr(sanitize_bookmark_field('link_description', $row->link_description, $row->link_id, 'display'));
    1010         $name = attr(sanitize_bookmark_field('link_name', $row->link_name, $row->link_id, 'display'));
     1009        $desc = esc_attr(sanitize_bookmark_field('link_description', $row->link_description, $row->link_id, 'display'));
     1010        $name = esc_attr(sanitize_bookmark_field('link_name', $row->link_name, $row->link_id, 'display'));
    10111011        $title = $desc;
    10121012
Note: See TracChangeset for help on using the changeset viewer.