Make WordPress Core


Ignore:
Timestamp:
04/28/2009 05:58:45 AM (16 years ago)
Author:
ryan
Message:

s/attribute_escape/attr/. see #9650

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class.wp-styles.php

    r10918 r11109  
    4949
    5050        if ( isset($this->registered[$handle]->args) )
    51             $media = attribute_escape( $this->registered[$handle]->args );
     51            $media = attr( $this->registered[$handle]->args );
    5252        else
    5353            $media = 'all';
     
    5555        $href = $this->_css_href( $this->registered[$handle]->src, $ver, $handle );
    5656        $rel = isset($this->registered[$handle]->extra['alt']) && $this->registered[$handle]->extra['alt'] ? 'alternate stylesheet' : 'stylesheet';
    57         $title = isset($this->registered[$handle]->extra['title']) ? "title='" . attribute_escape( $this->registered[$handle]->extra['title'] ) . "'" : '';
     57        $title = isset($this->registered[$handle]->extra['title']) ? "title='" . attr( $this->registered[$handle]->extra['title'] ) . "'" : '';
    5858
    5959        $end_cond = $tag = '';
Note: See TracChangeset for help on using the changeset viewer.