mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -48,13 +48,13 @@ class WP_Styles extends WP_Dependencies {
|
||||
}
|
||||
|
||||
if ( isset($this->registered[$handle]->args) )
|
||||
$media = attribute_escape( $this->registered[$handle]->args );
|
||||
$media = attr( $this->registered[$handle]->args );
|
||||
else
|
||||
$media = 'all';
|
||||
|
||||
$href = $this->_css_href( $this->registered[$handle]->src, $ver, $handle );
|
||||
$rel = isset($this->registered[$handle]->extra['alt']) && $this->registered[$handle]->extra['alt'] ? 'alternate stylesheet' : 'stylesheet';
|
||||
$title = isset($this->registered[$handle]->extra['title']) ? "title='" . attribute_escape( $this->registered[$handle]->extra['title'] ) . "'" : '';
|
||||
$title = isset($this->registered[$handle]->extra['title']) ? "title='" . attr( $this->registered[$handle]->extra['title'] ) . "'" : '';
|
||||
|
||||
$end_cond = $tag = '';
|
||||
if ( isset($this->registered[$handle]->extra['conditional']) && $this->registered[$handle]->extra['conditional'] ) {
|
||||
|
||||
Reference in New Issue
Block a user