← Back to blog

Chrome WP-Admin Bugfix

  • Tutorials
  • 1:11 reading time (ish)
  • 227 words

So I’ve noticed quite a few users discussing the latest issue with Chrome and WordPress, in the particular the admin panel where it breaks every so often (in particular, not every link is visible until you interact with it).

I won’t go into a great amount of detail because it has been well documented elsewhere by Jeff Chandler. That said, if you’re interested in a more client friendly approach then carry on reading!

The source of the problem stems from Slimming Paint which is enabled by default in Chrome 45. Disabling slimming paint fixes the issue.

To disable this feature, visit chrome://flags/#disable-slimming-paint in Chrome and Enable the Disable slimming paint option, and make sure the other two Enable options are disabled because they will override the Disable option. ~ Jeff Chandler

No problem right? Apart from, not all of my clients are as confident with changing settings in a browser. For them, there’s this handy piece of code you can temporarily insert into your WordPress theme’s function.php file:

function chromefix_inline_css() { 
	wp_add_inline_style( 'wp-admin', '#adminmenu { transform: translateZ(0); }' );
add_action('admin_enqueue_scripts', 'chromefix_inline_css');

It’s worth noting that this bug has been reported and will most likely be fixed very soon, so if you’re looking after a number of websites, it may be worth just holding on a little longer.