Load TinyMCE assets over ssl
-
When the WordPress admin is loaded over SSL, Chrome throws a “mixed content” warning and blocks the following scripts because they are not loaded over SSL.
- tiny_mce_popup.js
- mctabs.js
- form_utils.js
While investigating I found that these assets are being called from “/tinymce/dialog.php” using “get_option(‘siteurl’)” which does not account for the current protocol. The solution is to use “site_url()” which retrieves the same URL, but does a protocol check so the assets can be served over SSL if necessary.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Load TinyMCE assets over ssl’ is closed to new replies.