wp_admin_css() improvements. Props mdawaffe. see #7011

git-svn-id: https://develop.svn.wordpress.org/trunk@7979 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-05-22 00:06:41 +00:00
parent 36f755bf12
commit 0198c04b6d
16 changed files with 35 additions and 48 deletions
-8
View File
@@ -285,11 +285,3 @@ function wp_widget_control_ob_filter( $string ) {
$string = str_replace( ' ', ' ', $string );
return trim( wp_specialchars( strip_tags( $string ) ) );
}
function widget_css() {
wp_admin_css( 'css/widgets' );
}
add_action( 'admin_head', 'widget_css' );
?>