Docs to WordPress
[resolved] Minor bugs in plugin (2 posts)

  1. Adam Harley (Kawauso)
    Posted 4 years ago #

    Just noticed a minor bug with the 'cron_schedules' filter in extend-cron.php: not using the passed argument will stop any other plugins adding intervals on the same filter. The code could be changed to something like the following instead:

    function dtwp_more_reccurences( $intervals ) {
    $intervals['min'] = array( 'interval' => 60, 'display' => 'Every Minute' );
    return $intervals;

    Also the publish_to_WordPress() doesn't check whether the $author variable is set and whether $author_data returns a valid user object or false before using it. get_userdatabylogin() is deprecated in 3.3 in favour of get_user_by('login', $user_login); as well.

    Thanks for releasing this though, should come in useful!


  2. William P. Davis
    Plugin Author

    Posted 4 years ago #

    Thanks, I'll take a look at these and merge them into the plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Docs to WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic