mvied
Forum Replies Created
-
Try the development version. Let me know.
Sometimes I don’t answer topics that don’t have enough detail. I spend enough time supporting the plugin as it is. If someone really needs help, they’ll post again.
You can try the development version and let me know if the issue persists.
Well, it’s working for me. Make sure you pull the latest development version. If that doesn’t work, I can take a look if you’d like.
Try the development version, if that doesn’t work, I’ll take a look.
Do you mean SSL Pages as in pages you’ve secured with the Secure Post checkbox?
Forum: Plugins
In reply to: [WordPress HTTPS (SSL)] [Plugin: WordPress HTTPS (SSL)] Edit the HostYou can let them know that they can use my plugin for SSL detection. Very popular plugins such as Gravity Forms do this, so I’m going to support it for the foreseeable future.
For example, from:
'ajax_url' => (!is_ssl()) ? str_replace('https', 'http', admin_url('admin-ajax.php')) : admin_url('admin-ajax.php'),To:
'ajax_url' => ( !( isset($wordpress_https) ? $wordpress_https->isSsl() : is_ssl() ) ? str_replace('https', 'http', admin_url('admin-ajax.php')) : admin_url('admin-ajax.php') ),Or even better:
'ajax_url' => admin_url('admin-ajax.php', ( isset($wordpress_https) ? $wordpress_https->isSsl() : is_ssl() ) ? 'https' : 'http'),Or simply calling
admin_url('admin-ajax.php'), but they may have a reason for doing it their way.Forum: Plugins
In reply to: [WordPress HTTPS (SSL)] [Plugin: WordPress HTTPS (SSL)] Edit the HostAny time you update that plugin, you’ll have to re-do that fix. I would advise talking to the plugin author about changing it. The
admin_urlfunction has a second argument$schemethat they should be using. Ask them to update their code.Forum: Plugins
In reply to: [WordPress HTTPS (SSL)] [Plugin: WordPress HTTPS (SSL)] Edit the HostFrom:
'ajax_url' => (!is_ssl()) ? str_replace('https', 'http', admin_url('admin-ajax.php')) : admin_url('admin-ajax.php'),To:
'ajax_url' => admin_url('admin-ajax.php'),Forum: Plugins
In reply to: [WordPress HTTPS (SSL)] [Plugin: WordPress HTTPS (SSL)] Edit the HostJust undo it and see if it works. If it doesn’t, I can tell you what to do.
Forum: Plugins
In reply to: [WordPress HTTPS (SSL)] [Plugin: WordPress HTTPS (SSL)] Edit the HostWell… something else is causing that error.
Forum: Plugins
In reply to: [WordPress HTTPS (SSL)] [Plugin: WordPress HTTPS (SSL)] Edit the HostWhere did you put it?
Forum: Plugins
In reply to: [WordPress HTTPS (SSL)] [Plugin: WordPress HTTPS (SSL)] Edit the HostYou didn’t tell me what you’ve changed and what has been fixed or not.
Oh, to answer your question: experience. I’ve dealt with this before.
Forum: Plugins
In reply to: [WordPress HTTPS (SSL)] [Plugin: WordPress HTTPS (SSL)] Edit the HostI’ve already looked at the plugin and it is SSL aware, so I don’t know if digging in their code is going to lead you anywhere.
Edit: Nevermind, I see the issue. They’re using
str_replaceon the result ofadmin_url, overriding anything my plugin would have done to secure the url.Jigoshop v1.2.3, jigoshop.php, Line 330
(!is_ssl()) ? str_replace('https', 'http', admin_url('admin-ajax.php')) : admin_url('admin-ajax.php')Since you’re using CloudFlare, WordPress’ built-in
is_ssl()method returns false. If you change that call to$wordpress_https->isSsl()it should fix it. Also, removing thatstr_replacecall would fix it.A more permanent solution would be to add this to your wp-config.php to trick WordPress.
if ( isset($_SERVER['HTTP_CF_VISITOR']) && strpos($_SERVER['HTTP_CF_VISITOR'], 'https') ) { $_SERVER['HTTPS'] = 'on'; }This is just a theory. Let me know.
Star a new topic and provide as much detail as possible. WordPress HTTPS Settings and what steps you’ve taken thus far.