mirror of
https://github.com/wp-graphql/wp-graphql-woocommerce.git
synced 2026-08-14 12:53:44 +02:00
ProductHelper::create_download() bug resolved.
This commit is contained in:
@@ -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
@@ -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',
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Vendored
+2
-2
@@ -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',
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user