From 618406d0e12aabe7f7f77ff047ab620409b6bba6 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 4 Dec 2013 00:34:10 +0000 Subject: [PATCH] Declare dashicons dependency for wp-pointer.css and media-views.css. props dd32. see #26255. Built from https://develop.svn.wordpress.org/trunk@26596 git-svn-id: http://core.svn.wordpress.org/trunk@26486 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/script-loader.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index 7d75a581f2..167dd7366f 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -604,9 +604,9 @@ function wp_default_styles( &$styles ) { $styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array( 'open-sans', 'dashicons' ) ); $styles->add( 'wp-jquery-ui-dialog', "/wp-includes/css/jquery-ui-dialog$suffix.css" ); $styles->add( 'editor-buttons', "/wp-includes/css/editor$suffix.css", array( 'dashicons' ) ); - $styles->add( 'wp-pointer', "/wp-includes/css/wp-pointer$suffix.css" ); + $styles->add( 'wp-pointer', "/wp-includes/css/wp-pointer$suffix.css", array( 'dashicons' ) ); $styles->add( 'customize-controls', "/wp-admin/css/customize-controls$suffix.css", array( 'wp-admin', 'colors', 'ie' ) ); - $styles->add( 'media-views', "/wp-includes/css/media-views$suffix.css", array( 'buttons' ) ); + $styles->add( 'media-views', "/wp-includes/css/media-views$suffix.css", array( 'buttons', 'dashicons' ) ); $styles->add( 'buttons', "/wp-includes/css/buttons$suffix.css" ); $styles->add( 'wp-auth-check', "/wp-includes/css/wp-auth-check$suffix.css" );