• 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!

    https://www.ads-software.com/extend/plugins/docs-to-wordpress/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Docs to WordPress] Minor bugs in plugin’ is closed to new replies.