Updated tasks to support wp_own_directory.