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

    r11109 r11204  
    346346            $value = format_to_edit($value);
    347347        } else {
    348             $value = attr($value);
     348            $value = esc_attr($value);
    349349        }
    350350    } else if ( 'db' == $context ) {
     
    356356
    357357    if ( 'attribute' == $context )
    358         $value = attr($value);
     358        $value = esc_attr($value);
    359359    else if ( 'js' == $context )
    360360        $value = js_escape($value);
Note: See TracChangeset for help on using the changeset viewer.