woocommerce-paypal-payments/.ddev/commands/web/orchestrate.d/00_download_wordpress.sh
Alex P a4bf56021d Download the specified WP version in DDEV
This parameter was not passed to wp core download
2022-05-16 16:49:09 +03:00

6 lines
124 B
Bash

#!/bin/bash
if ! wp core download --version="${WP_VERSION:-latest}"; then
echo 'WordPress is already installed.'
exit
fi