@automattic/newspack-blocks 1.68.0-alpha.1 → 1.68.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/includes/class-modal-checkout.php +1 -0
- package/newspack-blocks.php +2 -2
- package/package.json +1 -1
- package/vendor/autoload.php +1 -1
- package/vendor/composer/autoload_real.php +4 -4
- package/vendor/composer/autoload_static.php +2 -2
- package/vendor/composer/installed.php +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
## [1.68.1](https://github.com/Automattic/newspack-blocks/compare/v1.68.0...v1.68.1) (2023-05-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **checkout-button:** ensure modal "order received" url ([#1447](https://github.com/Automattic/newspack-blocks/issues/1447)) ([0b9bce5](https://github.com/Automattic/newspack-blocks/commit/0b9bce5e6f4c795fc427b0c3a45fde7db05d5e69))
|
|
7
|
+
|
|
8
|
+
# [1.68.0](https://github.com/Automattic/newspack-blocks/compare/v1.67.0...v1.68.0) (2023-05-08)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **checkout-button:** add to block list ([#1435](https://github.com/Automattic/newspack-blocks/issues/1435)) ([4376952](https://github.com/Automattic/newspack-blocks/commit/4376952c58e9b0a045d4afd72d77afd03f54b5d4))
|
|
14
|
+
* correct linting errors ([05d3e12](https://github.com/Automattic/newspack-blocks/commit/05d3e128f6552f0e9c7d50a63da06597c2aa0517))
|
|
15
|
+
* correct linting errors ([70f26d6](https://github.com/Automattic/newspack-blocks/commit/70f26d62ad116d8f014105ed76ab1ee622bd1683))
|
|
16
|
+
* **donate:** tiers based layout support check ([#1428](https://github.com/Automattic/newspack-blocks/issues/1428)) ([284f7a4](https://github.com/Automattic/newspack-blocks/commit/284f7a4afe102f99dcf2438d9567399f5f36c419))
|
|
17
|
+
* fixing linting errors ([7448cd2](https://github.com/Automattic/newspack-blocks/commit/7448cd251ef7a64c1d9d342d25df7777e034dbb7))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* Add brand query support to the blocks [#1427](https://github.com/Automattic/newspack-blocks/issues/1427) ([acf3ad8](https://github.com/Automattic/newspack-blocks/commit/acf3ad8fdce9fbfc092e1c4102527a20ac51f53d))
|
|
23
|
+
* add brands to post carousel ([e354d49](https://github.com/Automattic/newspack-blocks/commit/e354d49369b30d5e586c421f0ce3d9f9a99a5b50))
|
|
24
|
+
* add check for plugin before rendering fields ([9f237bb](https://github.com/Automattic/newspack-blocks/commit/9f237bbe07fc1bba5c280fe3f17441f2cbb59415))
|
|
25
|
+
* checkout button block ([#1421](https://github.com/Automattic/newspack-blocks/issues/1421)) ([4890a26](https://github.com/Automattic/newspack-blocks/commit/4890a265ae142adf312ac20e529b90c85e1149a3))
|
|
26
|
+
* initial pass at allowing multi-brand querying ([ce842f2](https://github.com/Automattic/newspack-blocks/commit/ce842f276d31fb4d201e5a78bcf3d9bc15673d7e))
|
|
27
|
+
* reorder query fields to move brands below tags ([8d91cff](https://github.com/Automattic/newspack-blocks/commit/8d91cff9ae6a8bc70a4bdc2c5557ef7b7b3bc108))
|
|
28
|
+
|
|
1
29
|
# [1.68.0-alpha.1](https://github.com/Automattic/newspack-blocks/compare/v1.67.0...v1.68.0-alpha.1) (2023-04-28)
|
|
2
30
|
|
|
3
31
|
|
|
@@ -30,6 +30,7 @@ final class Modal_Checkout {
|
|
|
30
30
|
add_filter( 'show_admin_bar', [ __CLASS__, 'show_admin_bar' ] );
|
|
31
31
|
add_action( 'template_include', [ __CLASS__, 'get_checkout_template' ] );
|
|
32
32
|
add_filter( 'woocommerce_get_return_url', [ __CLASS__, 'woocommerce_get_return_url' ], 10, 2 );
|
|
33
|
+
add_filter( 'woocommerce_get_checkout_order_received_url', [ __CLASS__, 'woocommerce_get_return_url' ], 10, 2 );
|
|
33
34
|
add_filter( 'wc_get_template', [ __CLASS__, 'wc_get_template' ], 10, 2 );
|
|
34
35
|
add_filter( 'woocommerce_checkout_get_value', [ __CLASS__, 'woocommerce_checkout_get_value' ], 10, 2 );
|
|
35
36
|
}
|
package/newspack-blocks.php
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Author URI: https://newspack.blog/
|
|
8
8
|
* Text Domain: newspack-blocks
|
|
9
9
|
* Domain Path: /languages
|
|
10
|
-
* Version: 1.68.
|
|
10
|
+
* Version: 1.68.1
|
|
11
11
|
*
|
|
12
12
|
* @package Newspack_Blocks
|
|
13
13
|
*/
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
define( 'NEWSPACK_BLOCKS__PLUGIN_FILE', __FILE__ );
|
|
16
16
|
define( 'NEWSPACK_BLOCKS__BLOCKS_DIRECTORY', 'dist/' );
|
|
17
17
|
define( 'NEWSPACK_BLOCKS__PLUGIN_DIR', plugin_dir_path( NEWSPACK_BLOCKS__PLUGIN_FILE ) );
|
|
18
|
-
define( 'NEWSPACK_BLOCKS__VERSION', '1.68.
|
|
18
|
+
define( 'NEWSPACK_BLOCKS__VERSION', '1.68.1' );
|
|
19
19
|
|
|
20
20
|
require_once NEWSPACK_BLOCKS__PLUGIN_DIR . 'includes/class-newspack-blocks.php';
|
|
21
21
|
require_once NEWSPACK_BLOCKS__PLUGIN_DIR . 'includes/class-newspack-blocks-api.php';
|
package/package.json
CHANGED
package/vendor/autoload.php
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
// autoload_real.php @generated by Composer
|
|
4
4
|
|
|
5
|
-
class
|
|
5
|
+
class ComposerAutoloaderInit41d452b172766d662e267b4fa744abd0
|
|
6
6
|
{
|
|
7
7
|
private static $loader;
|
|
8
8
|
|
|
@@ -22,12 +22,12 @@ class ComposerAutoloaderInited8170cc6deec934c89bd2948d033cb7
|
|
|
22
22
|
return self::$loader;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
spl_autoload_register(array('
|
|
25
|
+
spl_autoload_register(array('ComposerAutoloaderInit41d452b172766d662e267b4fa744abd0', 'loadClassLoader'), true, true);
|
|
26
26
|
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
|
27
|
-
spl_autoload_unregister(array('
|
|
27
|
+
spl_autoload_unregister(array('ComposerAutoloaderInit41d452b172766d662e267b4fa744abd0', 'loadClassLoader'));
|
|
28
28
|
|
|
29
29
|
require __DIR__ . '/autoload_static.php';
|
|
30
|
-
call_user_func(\Composer\Autoload\
|
|
30
|
+
call_user_func(\Composer\Autoload\ComposerStaticInit41d452b172766d662e267b4fa744abd0::getInitializer($loader));
|
|
31
31
|
|
|
32
32
|
$loader->register(true);
|
|
33
33
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
namespace Composer\Autoload;
|
|
6
6
|
|
|
7
|
-
class
|
|
7
|
+
class ComposerStaticInit41d452b172766d662e267b4fa744abd0
|
|
8
8
|
{
|
|
9
9
|
public static $classMap = array (
|
|
10
10
|
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
|
|
@@ -13,7 +13,7 @@ class ComposerStaticInited8170cc6deec934c89bd2948d033cb7
|
|
|
13
13
|
public static function getInitializer(ClassLoader $loader)
|
|
14
14
|
{
|
|
15
15
|
return \Closure::bind(function () use ($loader) {
|
|
16
|
-
$loader->classMap =
|
|
16
|
+
$loader->classMap = ComposerStaticInit41d452b172766d662e267b4fa744abd0::$classMap;
|
|
17
17
|
|
|
18
18
|
}, null, ClassLoader::class);
|
|
19
19
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
'name' => 'automattic/newspack-blocks',
|
|
4
4
|
'pretty_version' => 'dev-master',
|
|
5
5
|
'version' => 'dev-master',
|
|
6
|
-
'reference' => '
|
|
6
|
+
'reference' => '0b9bce5e6f4c795fc427b0c3a45fde7db05d5e69',
|
|
7
7
|
'type' => 'wordpress-plugin',
|
|
8
8
|
'install_path' => __DIR__ . '/../../',
|
|
9
9
|
'aliases' => array(),
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
'automattic/newspack-blocks' => array(
|
|
14
14
|
'pretty_version' => 'dev-master',
|
|
15
15
|
'version' => 'dev-master',
|
|
16
|
-
'reference' => '
|
|
16
|
+
'reference' => '0b9bce5e6f4c795fc427b0c3a45fde7db05d5e69',
|
|
17
17
|
'type' => 'wordpress-plugin',
|
|
18
18
|
'install_path' => __DIR__ . '/../../',
|
|
19
19
|
'aliases' => array(),
|