WordPress.org

Ready to get started?Download WordPress

Forums

Won't work with future posts... here's the update: (4 posts)

  1. Steveorevo
    Member
    Posted 7 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();
    }
    }
    }

  2. omgitztrey
    Member
    Posted 7 years ago #

    I never had a problem with future posting. WordPress did that by itself for me even with the old version.

  3. Steveorevo
    Member
    Posted 7 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!

  4. rleonard
    Member
    Posted 6 years ago #

    Steveorevo, is there a similar workaround that will allow rss and atom feeds to go out? Running WP 2.3

Topic Closed

This topic has been closed to new replies.

About this Topic