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/update.php

    r11109 r11204  
    6363        $returns = explode("\n", $entry);
    6464        $new_option = new stdClass();
    65         $new_option->response = attr( $returns[0] );
     65        $new_option->response = esc_attr( $returns[0] );
    6666        if ( isset( $returns[1] ) )
    6767            $new_option->url = clean_url( $returns[1] );
     
    6969            $new_option->package = clean_url( $returns[2] );
    7070        if ( isset( $returns[3] ) )
    71             $new_option->current = attr( $returns[3] );
     71            $new_option->current = esc_attr( $returns[3] );
    7272        if ( isset( $returns[4] ) )
    73             $new_option->locale = attr( $returns[4] );
     73            $new_option->locale = esc_attr( $returns[4] );
    7474        $new_options[] = $new_option;
    7575    }
Note: See TracChangeset for help on using the changeset viewer.