ls5302
Forum Replies Created
-
I have today reconnected JetPack to wordpress.com as you suggested.
A new post on the 17 March was successfully publicized on Facebook and Twitter, so maybe everything will be well for here on in.
Thank you for your help.
Ignoring the power cut which occurred at 11:31 (GMT) this morning and took out the cron job machine, the WP Crontrols logs are showing that the Jetpack sync jobs are executing at 5 min intervals.
Hi KokkieH,
Thank you for the quick reply and fix.
While DISABLE_WP_CRON is set to true on the website, a linux cron job is setup to execute “/usr/bin/curl -f -s http://romseyhockey.org.uk/wordpress/wp-cron.php” every 2 minutes. Other periodic jobs in WP are executing e.g. fixtures import into TablePress. Not sure what to change to ensure this continues to work.
Lukasz
Forum: Plugins
In reply to: [Google Authenticator] Android App Cannot Log InSorry should have come back and updated this before your post. The issue I observed is caused by the Page Restrict plugin. From memory, in that plugin the error object (the first parameter) is modified and causes issue for other plugin which use the same hook.
This appears to still be an issue in Version 4.5.10.
Again if I modify the default path everything works. Otherwise, the desired path does not appear any where within the $itsec_globals array which is what used to save the SQL / ZIP file.
Bump…
Thanks, missed that…. 🙂
Official fix is in v4.0.10.
Code is still a bit sloppy IMHO. On the face of it the elseif could be just an else. However, the code makes repeated calls to delete post metadata which doesn’t exist after the initial update. This happens for every single non-SSL page.
Checking $bwps_ssl is not an empty string rather then not equal to 1 in the elseif would avoid this.
From WP Docs:
If there is nothing to return the function will return an empty array unless $single has been set to true, in which case an empty string is returned.
Just updated to 4.0.8 and the original problem persists… but fortunately my revised code still works. Just replace lines 54 to 67 in modules/free/ssl/class-itsec-ssl.php with above code.
Have a look at http://wordpress.org/support/topic/issue-with-update-code-and-https-redirect for a workaround.
I’m pleased it has helped.
I moved the itsec_enable_ssl get_post_meta function call because otherwise the first time the code is used to display an SSL page it will not be redirect to use HTTPS. This only happens once, and occurs because the meta key used to decide if to show the page securely does not exist until it has been converted by the subsequent code. By retrieving the “new” metadata after the conversion it should also perform as expected during the first get request.
PS I have not heard anything from iThemes. 🙁
I saw this problem a few days ago… I have reported it as a bug today give the “READ FIRST” sticky. I did not realise iThemes would not act on the original post.
Have a look at http://wordpress.org/support/topic/issue-with-update-code-and-https-redirect for a workaround.
The code that needs to change is in modules/free/ssl/class-itsec-ssl.php
Hope that helps till it’s officially fixed.
This revised code appears to work for me…
$bwps_ssl = get_post_meta( $post->ID, 'bwps_enable_ssl', true ); if ( $bwps_ssl == true ) { delete_post_meta( $post->ID, 'bwps_enable_ssl' ); update_post_meta( $post->ID, 'itsec_enable_ssl', true ); } elseif ( '' != $bwps_ssl && $bwps_ssl == false ) { delete_post_meta( $post->ID, 'bwps_enable_ssl' ); update_post_meta( $post->ID, 'itsec_enable_ssl', false ); } $require_ssl = get_post_meta( $post->ID, 'itsec_enable_ssl', true );Hi,
Other plugins add schedules e.g. JetPack adds a jetpack_weekly. All these schedules are stored in the same array which is passed around and added to by the cron_schedules filter. Your code is returning a new array, rather than just adding new entries to the existing array.
I stumbled across the problem when the TablesPress auto-import plugin stopped auto-importing. It took a while but i noticed the “Every 15 minutes” schedule had vanished – it was being overwritten within the wpo_cron_update_sched method.
I found an example on how to add schedules here:
http://codex.wordpress.org/Function_Reference/wp_get_schedulesHope that help to explain it.
Thanks.
v2.0.27 appears to be much quicker.
Forum: Plugins
In reply to: [WP UI - Tabs, Accordions, Sliders] Blocked when using SSLI have fixed my issue of mixed content ( http / https ) by defining an additional method in the wpUI class.
<br /> function wpui_cancel_redirect( $location, $status )<br /> {<br /> $query = get_query_var( 'wpui-css' );<br /> if ( 'css' == $query ) {<br /> return false;<br /> }<br /> else<br /> {<br /> return $location;<br /> }<br /> }<br />and inserting:
add_filter( 'wp_redirect', array( &$this, 'wpui_cancel_redirect' ), 10, 2 );on line 71 in the class constructor.
This basically cancels wp_redirection when the “wpui-css=css” is in the URL.
I know this is only an issue with HTTPS enabled pages please consider adding to trunk.
Kind regards,
Lucas
PS Great plugin – which is why I have gone to the effort of this my mixed content issue. 🙂