Created
October 13, 2011 01:17
-
-
Save peterwilsoncc/1283096 to your computer and use it in GitHub Desktop.
Bugfix WP SEO
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- class-metabox.php (saved version) | |
+++ (current document) | |
@@ -514,6 +514,7 @@ | |
public function enqueue() { | |
$color = get_user_meta( get_current_user_id(), 'admin_color', true ); | |
+ if ($color == '') $color = 'fresh'; | |
wp_enqueue_style( 'metabox-tabs', WPSEO_URL.'css/metabox-tabs.css', WPSEO_VERSION ); | |
wp_enqueue_style( "metabox-$color", WPSEO_URL.'css/metabox-'.$color.'.css', WPSEO_VERSION ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment