ProductHelper::create_download() bug resolved.

This commit is contained in:
Geoff Taylor
2021-01-22 11:36:50 -05:00
parent 9984d2e072
commit f55db50374
4 changed files with 8 additions and 5 deletions
+3
View File
@@ -87,4 +87,7 @@ wp db export "${PROJECT_DIR}/local/db/app_db.sql" \
echo "Setup complete!!!"
echo "WordPress app located at $WORDPRESS_URL";
# Make the "uploads" directory unrestricted.
chmod 777 -R wp-content/uploads
exec "$@"
@@ -289,7 +289,7 @@ class ProductHelper extends WCG_Helper {
}
public function create_download() {
self::createDownload( ...func_get_args() );
return self::createDownload( ...func_get_args() );
}
public static function createDownload( $id = 0 ) {
+2 -2
View File
@@ -29,7 +29,7 @@ private static $installed = array (
'aliases' =>
array (
),
'reference' => '853683e847afc16a06b4d1acced33573f3f2baf9',
'reference' => '7b57a2a381ff6ad1f6c548da9ebdd87b9036f347',
'name' => 'wp-graphql/wp-graphql-woocommerce',
),
'versions' =>
@@ -50,7 +50,7 @@ private static $installed = array (
'aliases' =>
array (
),
'reference' => '853683e847afc16a06b4d1acced33573f3f2baf9',
'reference' => '7b57a2a381ff6ad1f6c548da9ebdd87b9036f347',
),
),
);
+2 -2
View File
@@ -6,7 +6,7 @@
'aliases' =>
array (
),
'reference' => '853683e847afc16a06b4d1acced33573f3f2baf9',
'reference' => '7b57a2a381ff6ad1f6c548da9ebdd87b9036f347',
'name' => 'wp-graphql/wp-graphql-woocommerce',
),
'versions' =>
@@ -27,7 +27,7 @@
'aliases' =>
array (
),
'reference' => '853683e847afc16a06b4d1acced33573f3f2baf9',
'reference' => '7b57a2a381ff6ad1f6c548da9ebdd87b9036f347',
),
),
);