Make WordPress Core


Ignore:
Timestamp:
05/05/2009 07:43:53 PM (15 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/theme.php

    r11168 r11204  
    933933    if ( 0 === strpos($link, 'preview=1') )
    934934        $link = "?$link";
    935     return $matches[1] . attr( $link ) . $matches[4];
     935    return $matches[1] . esc_attr( $link ) . $matches[4];
    936936}
    937937
Note: See TracChangeset for help on using the changeset viewer.