Plugin Author
ntm
(@ntm)
podPress uses the constants WP_CONTENT_URL and WP_PLUGIN_URL to build these URLs. But is possible that this is not the appropriate way anymore (http://codex.ww.wp.xz.cn/Determining_Plugin_and_Content_Directories#Backwards_Compatibility_Code).
Changing this in podPress will take some time (maybe until May 2012).
Until than you may try the current Development Version (8.8.10.14 beta 4) of podPress along with some modification in the file /wp-includes/default-constants.php
You can find the definition of the constant WP_CONTENT_URL in line 82 and 83 of this file (WP 3.3.1).
Replace these lines with
if ( !defined('WP_CONTENT_URL') ) {
if ( function_exists( 'is_ssl' ) and is_ssl() ) {
define( 'WP_CONTENT_URL', str_replace( 'http://' , 'https://' , get_option( 'siteurl' ) ) . '/wp-content'); // full url - WP_CONTENT_DIR is defined further up
} else {
define( 'WP_CONTENT_URL', get_option('siteurl') . '/wp-content'); // full url - WP_CONTENT_DIR is defined further up
}
}
With this modification the constant will be defined as an URL with https if it is https request.
But note that this modification has influence on other plugins, themes or other elements which use this constant. This is eventually a helpful side effect but also could be a problem.
That is why you should definitely test this first in a test environment before you use it in the real blog.
Regards,
Tim
Thread Starter
ilf
(@ilf)
Hello. Any progress on this? 🙂
Thanks, and keep up the good work!
Plugin Author
ntm
(@ntm)
@ilf: No, unfortunately not and it is more clear that I will have all hands full with other stuff until May.
Thread Starter
ilf
(@ilf)
This is getting more urgent. Starting with version 19, Google Chrome will not display http content on https sites per default. We are experiencing major difficulties with it. They have announced it almost a year ago: http://googleonlinesecurity.blogspot.de/2011/06/trying-to-end-mixed-scripting.html
Plugin Author
ntm
(@ntm)
I understand you. But it looks like that I will get to this issue not before June 2012. I’m sorry that this takes so long.
Thread Starter
ilf
(@ilf)
Chrome 19 was released yesterday. Now all sites with Podpress and HTTPS give a “This page has insecure content: Load anyway | don’t load (recommended)” warning. This page too, btw: https://ww.wp.xz.cn/support/topic/podpress-and-https
Plugin Author
ntm
(@ntm)
This is probably the first thing I will fix – in June.
Plugin Author
ntm
(@ntm)
@ilf: You may try the current Development Version. It contains a lot of modifications and should display icons, default images and statistic URLs with the correct URL scheme. It should solve the problem of mixed http/https content.
podPress will alter values (URLs) in input boxes. This means that the URL of a default image may be a http:// URL. But podPress will show the icon or image with the https:// scheme in case of such a request.
podPress will also display other images via a https://-URL if the URL is not a default image but contains the Site URL.
I would appreciate it very much if could test this version. But be aware that this is still a beta version. Backup your db and files before you install this version.
Thanks,
Tim
Thread Starter
ilf
(@ilf)
Thanks, ntm. Unfortunately, I currently do not have a wordpress-installation I can use for testing. Anyone else?
Plugin Author
ntm
(@ntm)
(I will do more testing in the next days.)