Fix wp-cron when WordPress is installed into a subdirectory with WORDPRESS_DIR