Top tip: fixing broken dynamic content in WordPress admin dashboard

Top tip: fixing broken dynamic content in WordPress admin dashboard


This content was originally published more than ten years ago and is archived here for preservation.

More up-to-date content is available on this blog.


If you change your self-hosted WordPress install so that it starts using SSL to secure the Admin interface, you may have noticed that some dynamic elements are no longer working, such as the Jetpack site stats graph or the fold out sub-menus on the main menu.  Here’s how to fix it.

It seems that this is due to your browser flagging an SSL warning when trying to load certain resources hosted on WordPress’s CDN. The specific problem is that the domain name serving the request doesn’t match the one on the SSL certificate.

As a result, the browser gets stuck (silently) at the ‘Confirm SSL exception’ screen (similar behaviour seen in Firefox 16 and Chrome 22), so the resources do not load.

Two of the usual culprits are:

<script type="text/javascript" src="https://s0.wordpress.com/wp-includes/js/spin.js?ver=201244"></script>

<script type="text/javascript" src="https://s1.wordpress.com/wp-includes/js/jquery/jquery.spin.js?ver=201244"></script>

For example, https://wordpress.com/ is being served by a CDN. The CDN’s server is using an SSL certificate with the common name gp1.wac.edgecastcdn.net. As this doesn’t match s1.wordpress.com, the browser complains.

The way to fix this is to load each of the resources in the browser, so for example paste https://s1.wordpress.com/wp-includes/js/jquery/jquery.spin.js?ver=201244 directly. If a browser warning comes up, ask it to store an exception permanently. You should now find that your Admin dashboard works correctly.

It would also be great if the WordPress CDN servers could use SSL certificates with the right common name on so that the browsers don’t complain in the first place!

The thread for this is post is available on WordPress.org.


Get articles when they’re published

My articles get published irregularly (erratically, some might say). Never miss an article again by getting them delivered direct to your inbox as soon as they go live.  


Read more from Jock

The Practitioner's Guide to Product Management book cover

The Practitioner's Guide To Product Management

by Jock Busuttil

“This is a great book for Product Managers or those considering a career in Product Management.”

— Lyndsay Denton

Jock Busuttil is a freelance head of product, product management coach and author. He has spent over two decades working with technology companies to improve their product management practices, from startups to multinationals. In 2012 Jock founded Product People Limited, which provides product management consultancy, coaching and training. Its clients include BBC, University of Cambridge, Ometria, Prolific and the UK’s Ministry of Justice and Government Digital Service (GDS). Jock holds a master’s degree in Classics from the University of Cambridge. He is the author of the popular book The Practitioner’s Guide To Product Management, which was published in January 2015 by Grand Central Publishing in the US and Piatkus in the UK. He writes the blog I Manage Products and weekly product management newsletter PRODUCTHEAD. You can find him on Mastodon, Twitter and LinkedIn.

Agree? Disagree? Share your views: