Ensure the `style_loader_tag` filter hook is only documented once.

See #26869.


git-svn-id: https://develop.svn.wordpress.org/trunk@28209 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes (DrewAPicture) 2014-04-25 06:28:19 +00:00
parent 9da8915408
commit bf8c70a4ee
1 changed files with 1 additions and 8 deletions

View File

@ -93,14 +93,7 @@ class WP_Styles extends WP_Dependencies {
$rtl_href = $this->_css_href( $obj->extra['rtl'], $ver, "$handle-rtl" );
}
/**
* Filter the right-to-left (RTL) HTML link tag of an enqueued style.
*
* @since 2.6.0
*
* @param string $rtl_style The right to left link tag for the enqueued style.
* @param string $handle The style's registered handle.
*/
/** This filter is documented in wp-includes/class.wp-styles.php */
$rtl_tag = apply_filters( 'style_loader_tag', "<link rel='$rel' id='$handle-rtl-css' $title href='$rtl_href' type='text/css' media='$media' />\n", $handle );
if ( $obj->extra['rtl'] === 'replace' ) {