Steveorevo
Member
Posted 5 years ago #
With WordPress 2.2 you have the ability to post in the future. This requires wp-cron.php to be called by WordPress in the background. Unfortunately wordpress can't log itself in! This fix should do, change the function in registered-only.php to look like this:
function carthik_bouncer() {
if ( $_GET['check'] != wp_hash('187425') ){
if (substr($_SERVER['SCRIPT_NAME'], -12) != "wp-login.php") {
auth_redirect();
}
}
}
I never had a problem with future posting. WordPress did that by itself for me even with the old version.
Steveorevo
Member
Posted 5 years ago #
Oh, I forgot to mention that this *only* applies to using the registered-only plugin and that the code resides in that file. Without this fix, the registered only plugin will lockout wp-cron.php from firing. Also, it does affect the older (2.1?) versions of wordpress that have wp-cron.php. btw... love the site trey!
rleonard
Member
Posted 5 years ago #
Steveorevo, is there a similar workaround that will allow rss and atom feeds to go out? Running WP 2.3