Top

gyrus on "[Plugin: Use Google Libraries] Changes needed to use secure urls for sites with SSL"

February 16, 2010 by  

Thanks, look forward to the new version!

Meanwhile, there’s still other plugins that have this issue (Stray Random Quotes and Subscribe2 to mention a couple). A fix I’ve found that deals with these and Use Google Libraries, and avoids hacking, is to add this line to wp-config.php:

define( 'WP_CONTENT_URL', ( isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on' ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . '/wp-content' );

Share

Comments

Facebook comments:

Feel free to leave a comment...
and oh, if you want a pic to show with your comment, go get a gravatar!





*
Bottom