Skip to content

Instantly share code, notes, and snippets.

@peterwilsoncc
Created October 13, 2011 01:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterwilsoncc/1283096 to your computer and use it in GitHub Desktop.
Save peterwilsoncc/1283096 to your computer and use it in GitHub Desktop.
Bugfix WP SEO
--- 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