@automattic/newspack-blocks 4.32.0-alpha.1 → 4.32.0-alpha.2
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 +5 -10
- package/includes/class-newspack-blocks.php +79 -0
- package/languages/newspack-blocks-de_DE.po +10 -10
- package/languages/newspack-blocks-es_ES.po +10 -10
- package/languages/newspack-blocks-fr_BE.po +10 -10
- package/languages/newspack-blocks-nb_NO.po +10 -10
- package/languages/newspack-blocks-pt_PT.po +10 -10
- package/languages/newspack-blocks.pot +11 -11
- package/newspack-blocks.php +2 -2
- package/package.json +1 -1
- package/vendor/composer/installed.php +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,21 +1,16 @@
|
|
|
1
|
-
# @automattic/newspack-blocks [4.32.0-alpha.
|
|
1
|
+
# @automattic/newspack-blocks [4.32.0-alpha.2](https://github.com/Automattic/newspack-workspace/compare/newspack-blocks@4.32.0-alpha.1...newspack-blocks@4.32.0-alpha.2) (2026-09-09)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
* **
|
|
7
|
-
* **modal-checkout:** tiered donate URL trigger handles non-default frequency ([#202](https://github.com/Automattic/newspack-workspace/issues/202)) ([1bc89b9](https://github.com/Automattic/newspack-workspace/commit/1bc89b94e0db1110b8dc35536907cf35a98f62dd))
|
|
6
|
+
* **homepage-articles:** reset dedup state per render pass (NPLAUNC-242) ([#1019](https://github.com/Automattic/newspack-workspace/issues/1019)) ([0ecdc9b](https://github.com/Automattic/newspack-workspace/commit/0ecdc9b7e9511799df668738a732ef6f0d808cb4))
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
### Features
|
|
11
|
-
|
|
12
|
-
* **blocks:** reorder the content picked in Static mode (NPPD-946) ([#846](https://github.com/Automattic/newspack-workspace/issues/846)) ([b4b9177](https://github.com/Automattic/newspack-workspace/commit/b4b91774a4a391a9686352edda0e64ffebfce5d4))
|
|
13
|
-
* **group-subscriptions:** per-seat pricing ([#955](https://github.com/Automattic/newspack-workspace/issues/955)) ([a13a858](https://github.com/Automattic/newspack-workspace/commit/a13a858cbf1570cc6a60ca61b5672758e9b3dc59))
|
|
8
|
+
## @automattic/newspack-blocks [4.31.1](https://github.com/Automattic/newspack-workspace/compare/newspack-blocks@4.31.0...newspack-blocks@4.31.1) (2026-09-09)
|
|
14
9
|
|
|
15
10
|
|
|
16
|
-
###
|
|
11
|
+
### Bug Fixes
|
|
17
12
|
|
|
18
|
-
* **
|
|
13
|
+
* **homepage-articles:** reset dedup state per render pass (NPLAUNC-242) ([#1019](https://github.com/Automattic/newspack-workspace/issues/1019)) ([0ecdc9b](https://github.com/Automattic/newspack-workspace/commit/0ecdc9b7e9511799df668738a732ef6f0d808cb4))
|
|
19
14
|
|
|
20
15
|
# @automattic/newspack-blocks [4.31.0](https://github.com/Automattic/newspack-workspace/compare/newspack-blocks@4.30.5...newspack-blocks@4.31.0) (2026-08-31)
|
|
21
16
|
|
|
@@ -20,6 +20,14 @@ class Newspack_Blocks {
|
|
|
20
20
|
'tiers-based' => 'newspack-blocks-donate-tiers-based',
|
|
21
21
|
];
|
|
22
22
|
|
|
23
|
+
/**
|
|
24
|
+
* Nesting depth of `the_content` filter applications. A depth of zero marks
|
|
25
|
+
* the start of a top-level render pass, where deduplication state is reset.
|
|
26
|
+
*
|
|
27
|
+
* @var int
|
|
28
|
+
*/
|
|
29
|
+
private static $content_render_depth = 0;
|
|
30
|
+
|
|
23
31
|
/**
|
|
24
32
|
* Add hooks and filters.
|
|
25
33
|
*/
|
|
@@ -30,6 +38,8 @@ class Newspack_Blocks {
|
|
|
30
38
|
add_post_type_support( 'page', 'newspack_blocks' );
|
|
31
39
|
add_action( 'jetpack_register_gutenberg_extensions', [ __CLASS__, 'disable_jetpack_donate' ], 99 );
|
|
32
40
|
add_filter( 'the_content', [ __CLASS__, 'hide_post_content_when_iframe_block_is_fullscreen' ] );
|
|
41
|
+
add_filter( 'the_content', [ __CLASS__, 'start_content_render_pass' ], PHP_INT_MIN );
|
|
42
|
+
add_filter( 'the_content', [ __CLASS__, 'end_content_render_pass' ], PHP_INT_MAX );
|
|
33
43
|
add_filter( 'body_class', [ __CLASS__, 'add_body_classes' ] );
|
|
34
44
|
add_filter( 'admin_body_class', [ __CLASS__, 'add_body_classes' ] );
|
|
35
45
|
|
|
@@ -616,6 +626,73 @@ class Newspack_Blocks {
|
|
|
616
626
|
return false;
|
|
617
627
|
}
|
|
618
628
|
|
|
629
|
+
/**
|
|
630
|
+
* Mark the start of a `the_content` render pass.
|
|
631
|
+
*
|
|
632
|
+
* Deduplication state accumulates in globals for the life of the request,
|
|
633
|
+
* which is right for a front-end page but wrong wherever one request renders
|
|
634
|
+
* the same content more than once (a REST save renders it up to three times)
|
|
635
|
+
* or renders several posts (a REST collection). There, every top-level pass
|
|
636
|
+
* starts from a clean slate so each returns the same posts. Nested passes
|
|
637
|
+
* (a Query Loop rendering Post Content, a synced pattern) keep the state of
|
|
638
|
+
* the pass they belong to.
|
|
639
|
+
*
|
|
640
|
+
* @param string $content Post content.
|
|
641
|
+
* @return string Unmodified post content.
|
|
642
|
+
*/
|
|
643
|
+
public static function start_content_render_pass( $content ) {
|
|
644
|
+
if ( 0 === self::$content_render_depth && self::should_reset_deduplication_per_render_pass() ) {
|
|
645
|
+
self::reset_deduplication();
|
|
646
|
+
}
|
|
647
|
+
self::$content_render_depth++;
|
|
648
|
+
return $content;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* Mark the end of a `the_content` render pass.
|
|
653
|
+
*
|
|
654
|
+
* @param string $content Post content.
|
|
655
|
+
* @return string Unmodified post content.
|
|
656
|
+
*/
|
|
657
|
+
public static function end_content_render_pass( $content ) {
|
|
658
|
+
self::$content_render_depth = max( 0, self::$content_render_depth - 1 );
|
|
659
|
+
return $content;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* Whether deduplication state should be reset at the start of each top-level
|
|
664
|
+
* `the_content` pass.
|
|
665
|
+
*
|
|
666
|
+
* On the front end the state is kept for the whole request, because a block
|
|
667
|
+
* theme can render Content Loop blocks in the template before the post
|
|
668
|
+
* content, and those have to be excluded from the blocks inside it.
|
|
669
|
+
*
|
|
670
|
+
* @return bool
|
|
671
|
+
*/
|
|
672
|
+
public static function should_reset_deduplication_per_render_pass() {
|
|
673
|
+
$is_front_end = ! is_admin()
|
|
674
|
+
&& ! wp_doing_ajax()
|
|
675
|
+
&& ! wp_doing_cron()
|
|
676
|
+
&& ! ( defined( 'REST_REQUEST' ) && REST_REQUEST )
|
|
677
|
+
&& ! ( defined( 'WP_CLI' ) && WP_CLI );
|
|
678
|
+
|
|
679
|
+
return ! $is_front_end;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* Forget which posts have been rendered so far, so the next Content Loop or
|
|
684
|
+
* Carousel block starts deduplicating from scratch.
|
|
685
|
+
*
|
|
686
|
+
* The list of posts picked by specific-posts blocks is left alone: it is
|
|
687
|
+
* derived from the current post, which `wp_reset_postdata()` cannot restore
|
|
688
|
+
* inside a REST request once a block's loop has moved it, so recomputing it
|
|
689
|
+
* per pass would give each pass a different exclusion list.
|
|
690
|
+
*/
|
|
691
|
+
public static function reset_deduplication() {
|
|
692
|
+
global $newspack_blocks_post_id;
|
|
693
|
+
$newspack_blocks_post_id = [];
|
|
694
|
+
}
|
|
695
|
+
|
|
619
696
|
/**
|
|
620
697
|
* Whether the block should be included in the deduplication logic.
|
|
621
698
|
*
|
|
@@ -712,6 +789,8 @@ class Newspack_Blocks {
|
|
|
712
789
|
'has_password' => false,
|
|
713
790
|
'is_newspack_query' => true,
|
|
714
791
|
'tax_query' => [], // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_tax_query
|
|
792
|
+
// The total is only needed to decide whether a More button has a next page.
|
|
793
|
+
'no_found_rows' => empty( $attributes['moreButton'] ),
|
|
715
794
|
);
|
|
716
795
|
if ( $specific_mode && $specific_posts ) {
|
|
717
796
|
$args['posts_per_page'] = count( $specific_posts );
|
|
@@ -2,7 +2,7 @@ msgid ""
|
|
|
2
2
|
msgstr ""
|
|
3
3
|
"Project-Id-Version: Newspack Blocks\n"
|
|
4
4
|
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/newspack-blocks\n"
|
|
5
|
-
"POT-Creation-Date: 2026-09-
|
|
5
|
+
"POT-Creation-Date: 2026-09-09T14:06:40+00:00\n"
|
|
6
6
|
"PO-Revision-Date: 2024-08-30 08:45-0700\n"
|
|
7
7
|
"Last-Translator: \n"
|
|
8
8
|
"Language-Team: \n"
|
|
@@ -309,45 +309,45 @@ msgstr ""
|
|
|
309
309
|
msgid "Newspack Subscribe"
|
|
310
310
|
msgstr ""
|
|
311
311
|
|
|
312
|
-
#: includes/class-newspack-blocks.php:
|
|
312
|
+
#: includes/class-newspack-blocks.php:1062
|
|
313
313
|
msgid "Common"
|
|
314
314
|
msgstr ""
|
|
315
315
|
|
|
316
316
|
#. translators: separates last two sponsor names; needs a space on either side.
|
|
317
|
-
#: includes/class-newspack-blocks.php:
|
|
317
|
+
#: includes/class-newspack-blocks.php:1163
|
|
318
318
|
msgid " and "
|
|
319
319
|
msgstr " und "
|
|
320
320
|
|
|
321
321
|
#. translators: separates all but the last two sponsor names; needs a space at the end.
|
|
322
|
-
#: includes/class-newspack-blocks.php:
|
|
322
|
+
#: includes/class-newspack-blocks.php:1166
|
|
323
323
|
msgid ", "
|
|
324
324
|
msgstr ""
|
|
325
325
|
|
|
326
|
-
#: includes/class-newspack-blocks.php:
|
|
326
|
+
#: includes/class-newspack-blocks.php:1501
|
|
327
327
|
msgid "Jetpack donations is disabled in favour of Newspack donations."
|
|
328
328
|
msgstr ""
|
|
329
329
|
|
|
330
|
-
#: includes/class-newspack-blocks.php:
|
|
330
|
+
#: includes/class-newspack-blocks.php:1534 dist/editor.js:30
|
|
331
331
|
#: src/shared/js/utils.js:54
|
|
332
332
|
msgid "Draft"
|
|
333
333
|
msgstr ""
|
|
334
334
|
|
|
335
|
-
#: includes/class-newspack-blocks.php:
|
|
335
|
+
#: includes/class-newspack-blocks.php:1535 dist/editor.js:30
|
|
336
336
|
#: src/shared/js/utils.js:54
|
|
337
337
|
msgid "Scheduled"
|
|
338
338
|
msgstr ""
|
|
339
339
|
|
|
340
340
|
#. Translators: %s is the %s is the frequency.
|
|
341
|
-
#: includes/class-newspack-blocks.php:
|
|
341
|
+
#: includes/class-newspack-blocks.php:1733 dist/editor.js:52
|
|
342
342
|
#, php-format
|
|
343
343
|
msgid "per %s"
|
|
344
344
|
msgstr ""
|
|
345
345
|
|
|
346
|
-
#: includes/class-newspack-blocks.php:
|
|
346
|
+
#: includes/class-newspack-blocks.php:1764
|
|
347
347
|
msgid " once"
|
|
348
348
|
msgstr ""
|
|
349
349
|
|
|
350
|
-
#: includes/class-newspack-blocks.php:
|
|
350
|
+
#: includes/class-newspack-blocks.php:1767
|
|
351
351
|
msgid " per "
|
|
352
352
|
msgstr ""
|
|
353
353
|
|
|
@@ -2,7 +2,7 @@ msgid ""
|
|
|
2
2
|
msgstr ""
|
|
3
3
|
"Project-Id-Version: Newspack Blocks 1.0.0-alpha.20\n"
|
|
4
4
|
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/newspack-blocks\n"
|
|
5
|
-
"POT-Creation-Date: 2026-09-
|
|
5
|
+
"POT-Creation-Date: 2026-09-09T14:06:40+00:00\n"
|
|
6
6
|
"PO-Revision-Date: 2025-08-12T14:56:45+00:00\n"
|
|
7
7
|
"Last-Translator: \n"
|
|
8
8
|
"Language-Team: \n"
|
|
@@ -301,45 +301,45 @@ msgstr ""
|
|
|
301
301
|
msgid "Newspack Subscribe"
|
|
302
302
|
msgstr ""
|
|
303
303
|
|
|
304
|
-
#: includes/class-newspack-blocks.php:
|
|
304
|
+
#: includes/class-newspack-blocks.php:1062
|
|
305
305
|
msgid "Common"
|
|
306
306
|
msgstr ""
|
|
307
307
|
|
|
308
308
|
#. translators: separates last two sponsor names; needs a space on either side.
|
|
309
|
-
#: includes/class-newspack-blocks.php:
|
|
309
|
+
#: includes/class-newspack-blocks.php:1163
|
|
310
310
|
msgid " and "
|
|
311
311
|
msgstr " y "
|
|
312
312
|
|
|
313
313
|
#. translators: separates all but the last two sponsor names; needs a space at the end.
|
|
314
|
-
#: includes/class-newspack-blocks.php:
|
|
314
|
+
#: includes/class-newspack-blocks.php:1166
|
|
315
315
|
msgid ", "
|
|
316
316
|
msgstr ""
|
|
317
317
|
|
|
318
|
-
#: includes/class-newspack-blocks.php:
|
|
318
|
+
#: includes/class-newspack-blocks.php:1501
|
|
319
319
|
msgid "Jetpack donations is disabled in favour of Newspack donations."
|
|
320
320
|
msgstr ""
|
|
321
321
|
|
|
322
|
-
#: includes/class-newspack-blocks.php:
|
|
322
|
+
#: includes/class-newspack-blocks.php:1534 dist/editor.js:30
|
|
323
323
|
#: src/shared/js/utils.js:54
|
|
324
324
|
msgid "Draft"
|
|
325
325
|
msgstr ""
|
|
326
326
|
|
|
327
|
-
#: includes/class-newspack-blocks.php:
|
|
327
|
+
#: includes/class-newspack-blocks.php:1535 dist/editor.js:30
|
|
328
328
|
#: src/shared/js/utils.js:54
|
|
329
329
|
msgid "Scheduled"
|
|
330
330
|
msgstr ""
|
|
331
331
|
|
|
332
332
|
#. Translators: %s is the %s is the frequency.
|
|
333
|
-
#: includes/class-newspack-blocks.php:
|
|
333
|
+
#: includes/class-newspack-blocks.php:1733 dist/editor.js:52
|
|
334
334
|
#, php-format
|
|
335
335
|
msgid "per %s"
|
|
336
336
|
msgstr ""
|
|
337
337
|
|
|
338
|
-
#: includes/class-newspack-blocks.php:
|
|
338
|
+
#: includes/class-newspack-blocks.php:1764
|
|
339
339
|
msgid " once"
|
|
340
340
|
msgstr ""
|
|
341
341
|
|
|
342
|
-
#: includes/class-newspack-blocks.php:
|
|
342
|
+
#: includes/class-newspack-blocks.php:1767
|
|
343
343
|
msgid " per "
|
|
344
344
|
msgstr ""
|
|
345
345
|
|
|
@@ -2,7 +2,7 @@ msgid ""
|
|
|
2
2
|
msgstr ""
|
|
3
3
|
"Project-Id-Version: Newspack Blocks 1.0.0-alpha.25\n"
|
|
4
4
|
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/newspack-blocks\n"
|
|
5
|
-
"POT-Creation-Date: 2026-09-
|
|
5
|
+
"POT-Creation-Date: 2026-09-09T14:06:40+00:00\n"
|
|
6
6
|
"PO-Revision-Date: 2024-08-30 08:46-0700\n"
|
|
7
7
|
"Last-Translator: \n"
|
|
8
8
|
"Language-Team: \n"
|
|
@@ -301,45 +301,45 @@ msgstr ""
|
|
|
301
301
|
msgid "Newspack Subscribe"
|
|
302
302
|
msgstr ""
|
|
303
303
|
|
|
304
|
-
#: includes/class-newspack-blocks.php:
|
|
304
|
+
#: includes/class-newspack-blocks.php:1062
|
|
305
305
|
msgid "Common"
|
|
306
306
|
msgstr ""
|
|
307
307
|
|
|
308
308
|
#. translators: separates last two sponsor names; needs a space on either side.
|
|
309
|
-
#: includes/class-newspack-blocks.php:
|
|
309
|
+
#: includes/class-newspack-blocks.php:1163
|
|
310
310
|
msgid " and "
|
|
311
311
|
msgstr " et "
|
|
312
312
|
|
|
313
313
|
#. translators: separates all but the last two sponsor names; needs a space at the end.
|
|
314
|
-
#: includes/class-newspack-blocks.php:
|
|
314
|
+
#: includes/class-newspack-blocks.php:1166
|
|
315
315
|
msgid ", "
|
|
316
316
|
msgstr ""
|
|
317
317
|
|
|
318
|
-
#: includes/class-newspack-blocks.php:
|
|
318
|
+
#: includes/class-newspack-blocks.php:1501
|
|
319
319
|
msgid "Jetpack donations is disabled in favour of Newspack donations."
|
|
320
320
|
msgstr ""
|
|
321
321
|
|
|
322
|
-
#: includes/class-newspack-blocks.php:
|
|
322
|
+
#: includes/class-newspack-blocks.php:1534 dist/editor.js:30
|
|
323
323
|
#: src/shared/js/utils.js:54
|
|
324
324
|
msgid "Draft"
|
|
325
325
|
msgstr ""
|
|
326
326
|
|
|
327
|
-
#: includes/class-newspack-blocks.php:
|
|
327
|
+
#: includes/class-newspack-blocks.php:1535 dist/editor.js:30
|
|
328
328
|
#: src/shared/js/utils.js:54
|
|
329
329
|
msgid "Scheduled"
|
|
330
330
|
msgstr ""
|
|
331
331
|
|
|
332
332
|
#. Translators: %s is the %s is the frequency.
|
|
333
|
-
#: includes/class-newspack-blocks.php:
|
|
333
|
+
#: includes/class-newspack-blocks.php:1733 dist/editor.js:52
|
|
334
334
|
#, php-format
|
|
335
335
|
msgid "per %s"
|
|
336
336
|
msgstr ""
|
|
337
337
|
|
|
338
|
-
#: includes/class-newspack-blocks.php:
|
|
338
|
+
#: includes/class-newspack-blocks.php:1764
|
|
339
339
|
msgid " once"
|
|
340
340
|
msgstr ""
|
|
341
341
|
|
|
342
|
-
#: includes/class-newspack-blocks.php:
|
|
342
|
+
#: includes/class-newspack-blocks.php:1767
|
|
343
343
|
msgid " per "
|
|
344
344
|
msgstr ""
|
|
345
345
|
|
|
@@ -2,7 +2,7 @@ msgid ""
|
|
|
2
2
|
msgstr ""
|
|
3
3
|
"Project-Id-Version: Newspack Blocks 1.0.0-alpha.20\n"
|
|
4
4
|
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/newspack-blocks\n"
|
|
5
|
-
"POT-Creation-Date: 2026-09-
|
|
5
|
+
"POT-Creation-Date: 2026-09-09T14:06:40+00:00\n"
|
|
6
6
|
"PO-Revision-Date: 2024-08-30 08:46-0700\n"
|
|
7
7
|
"Last-Translator: \n"
|
|
8
8
|
"Language-Team: \n"
|
|
@@ -300,45 +300,45 @@ msgstr ""
|
|
|
300
300
|
msgid "Newspack Subscribe"
|
|
301
301
|
msgstr ""
|
|
302
302
|
|
|
303
|
-
#: includes/class-newspack-blocks.php:
|
|
303
|
+
#: includes/class-newspack-blocks.php:1062
|
|
304
304
|
msgid "Common"
|
|
305
305
|
msgstr ""
|
|
306
306
|
|
|
307
307
|
#. translators: separates last two sponsor names; needs a space on either side.
|
|
308
|
-
#: includes/class-newspack-blocks.php:
|
|
308
|
+
#: includes/class-newspack-blocks.php:1163
|
|
309
309
|
msgid " and "
|
|
310
310
|
msgstr " og "
|
|
311
311
|
|
|
312
312
|
#. translators: separates all but the last two sponsor names; needs a space at the end.
|
|
313
|
-
#: includes/class-newspack-blocks.php:
|
|
313
|
+
#: includes/class-newspack-blocks.php:1166
|
|
314
314
|
msgid ", "
|
|
315
315
|
msgstr ""
|
|
316
316
|
|
|
317
|
-
#: includes/class-newspack-blocks.php:
|
|
317
|
+
#: includes/class-newspack-blocks.php:1501
|
|
318
318
|
msgid "Jetpack donations is disabled in favour of Newspack donations."
|
|
319
319
|
msgstr ""
|
|
320
320
|
|
|
321
|
-
#: includes/class-newspack-blocks.php:
|
|
321
|
+
#: includes/class-newspack-blocks.php:1534 dist/editor.js:30
|
|
322
322
|
#: src/shared/js/utils.js:54
|
|
323
323
|
msgid "Draft"
|
|
324
324
|
msgstr ""
|
|
325
325
|
|
|
326
|
-
#: includes/class-newspack-blocks.php:
|
|
326
|
+
#: includes/class-newspack-blocks.php:1535 dist/editor.js:30
|
|
327
327
|
#: src/shared/js/utils.js:54
|
|
328
328
|
msgid "Scheduled"
|
|
329
329
|
msgstr ""
|
|
330
330
|
|
|
331
331
|
#. Translators: %s is the %s is the frequency.
|
|
332
|
-
#: includes/class-newspack-blocks.php:
|
|
332
|
+
#: includes/class-newspack-blocks.php:1733 dist/editor.js:52
|
|
333
333
|
#, php-format
|
|
334
334
|
msgid "per %s"
|
|
335
335
|
msgstr ""
|
|
336
336
|
|
|
337
|
-
#: includes/class-newspack-blocks.php:
|
|
337
|
+
#: includes/class-newspack-blocks.php:1764
|
|
338
338
|
msgid " once"
|
|
339
339
|
msgstr ""
|
|
340
340
|
|
|
341
|
-
#: includes/class-newspack-blocks.php:
|
|
341
|
+
#: includes/class-newspack-blocks.php:1767
|
|
342
342
|
msgid " per "
|
|
343
343
|
msgstr ""
|
|
344
344
|
|
|
@@ -2,7 +2,7 @@ msgid ""
|
|
|
2
2
|
msgstr ""
|
|
3
3
|
"Project-Id-Version: Newspack Blocks 1.0.0-alpha.25\n"
|
|
4
4
|
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/newspack-blocks\n"
|
|
5
|
-
"POT-Creation-Date: 2026-09-
|
|
5
|
+
"POT-Creation-Date: 2026-09-09T14:06:40+00:00\n"
|
|
6
6
|
"PO-Revision-Date: 2024-08-30 08:46-0700\n"
|
|
7
7
|
"Last-Translator: \n"
|
|
8
8
|
"Language-Team: \n"
|
|
@@ -299,45 +299,45 @@ msgstr ""
|
|
|
299
299
|
msgid "Newspack Subscribe"
|
|
300
300
|
msgstr ""
|
|
301
301
|
|
|
302
|
-
#: includes/class-newspack-blocks.php:
|
|
302
|
+
#: includes/class-newspack-blocks.php:1062
|
|
303
303
|
msgid "Common"
|
|
304
304
|
msgstr ""
|
|
305
305
|
|
|
306
306
|
#. translators: separates last two sponsor names; needs a space on either side.
|
|
307
|
-
#: includes/class-newspack-blocks.php:
|
|
307
|
+
#: includes/class-newspack-blocks.php:1163
|
|
308
308
|
msgid " and "
|
|
309
309
|
msgstr " e "
|
|
310
310
|
|
|
311
311
|
#. translators: separates all but the last two sponsor names; needs a space at the end.
|
|
312
|
-
#: includes/class-newspack-blocks.php:
|
|
312
|
+
#: includes/class-newspack-blocks.php:1166
|
|
313
313
|
msgid ", "
|
|
314
314
|
msgstr ""
|
|
315
315
|
|
|
316
|
-
#: includes/class-newspack-blocks.php:
|
|
316
|
+
#: includes/class-newspack-blocks.php:1501
|
|
317
317
|
msgid "Jetpack donations is disabled in favour of Newspack donations."
|
|
318
318
|
msgstr ""
|
|
319
319
|
|
|
320
|
-
#: includes/class-newspack-blocks.php:
|
|
320
|
+
#: includes/class-newspack-blocks.php:1534 dist/editor.js:30
|
|
321
321
|
#: src/shared/js/utils.js:54
|
|
322
322
|
msgid "Draft"
|
|
323
323
|
msgstr ""
|
|
324
324
|
|
|
325
|
-
#: includes/class-newspack-blocks.php:
|
|
325
|
+
#: includes/class-newspack-blocks.php:1535 dist/editor.js:30
|
|
326
326
|
#: src/shared/js/utils.js:54
|
|
327
327
|
msgid "Scheduled"
|
|
328
328
|
msgstr ""
|
|
329
329
|
|
|
330
330
|
#. Translators: %s is the %s is the frequency.
|
|
331
|
-
#: includes/class-newspack-blocks.php:
|
|
331
|
+
#: includes/class-newspack-blocks.php:1733 dist/editor.js:52
|
|
332
332
|
#, php-format
|
|
333
333
|
msgid "per %s"
|
|
334
334
|
msgstr ""
|
|
335
335
|
|
|
336
|
-
#: includes/class-newspack-blocks.php:
|
|
336
|
+
#: includes/class-newspack-blocks.php:1764
|
|
337
337
|
msgid " once"
|
|
338
338
|
msgstr ""
|
|
339
339
|
|
|
340
|
-
#: includes/class-newspack-blocks.php:
|
|
340
|
+
#: includes/class-newspack-blocks.php:1767
|
|
341
341
|
msgid " per "
|
|
342
342
|
msgstr ""
|
|
343
343
|
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
# This file is distributed under the same license as the Newspack Blocks plugin.
|
|
3
3
|
msgid ""
|
|
4
4
|
msgstr ""
|
|
5
|
-
"Project-Id-Version: Newspack Blocks 4.31.
|
|
5
|
+
"Project-Id-Version: Newspack Blocks 4.31.1\n"
|
|
6
6
|
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/newspack-blocks\n"
|
|
7
7
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
8
8
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
9
9
|
"MIME-Version: 1.0\n"
|
|
10
10
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
11
11
|
"Content-Transfer-Encoding: 8bit\n"
|
|
12
|
-
"POT-Creation-Date: 2026-09-
|
|
12
|
+
"POT-Creation-Date: 2026-09-09T14:06:40+00:00\n"
|
|
13
13
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
14
14
|
"X-Generator: WP-CLI 2.12.0\n"
|
|
15
15
|
"X-Domain: newspack-blocks\n"
|
|
@@ -294,48 +294,48 @@ msgstr ""
|
|
|
294
294
|
msgid "Newspack Subscribe"
|
|
295
295
|
msgstr ""
|
|
296
296
|
|
|
297
|
-
#: includes/class-newspack-blocks.php:
|
|
297
|
+
#: includes/class-newspack-blocks.php:1062
|
|
298
298
|
msgid "Common"
|
|
299
299
|
msgstr ""
|
|
300
300
|
|
|
301
301
|
#. translators: separates last two sponsor names; needs a space on either side.
|
|
302
|
-
#: includes/class-newspack-blocks.php:
|
|
302
|
+
#: includes/class-newspack-blocks.php:1163
|
|
303
303
|
msgid " and "
|
|
304
304
|
msgstr ""
|
|
305
305
|
|
|
306
306
|
#. translators: separates all but the last two sponsor names; needs a space at the end.
|
|
307
|
-
#: includes/class-newspack-blocks.php:
|
|
307
|
+
#: includes/class-newspack-blocks.php:1166
|
|
308
308
|
msgid ", "
|
|
309
309
|
msgstr ""
|
|
310
310
|
|
|
311
|
-
#: includes/class-newspack-blocks.php:
|
|
311
|
+
#: includes/class-newspack-blocks.php:1501
|
|
312
312
|
msgid "Jetpack donations is disabled in favour of Newspack donations."
|
|
313
313
|
msgstr ""
|
|
314
314
|
|
|
315
|
-
#: includes/class-newspack-blocks.php:
|
|
315
|
+
#: includes/class-newspack-blocks.php:1534
|
|
316
316
|
#: dist/editor.js:30
|
|
317
317
|
#: src/shared/js/utils.js:54
|
|
318
318
|
msgid "Draft"
|
|
319
319
|
msgstr ""
|
|
320
320
|
|
|
321
|
-
#: includes/class-newspack-blocks.php:
|
|
321
|
+
#: includes/class-newspack-blocks.php:1535
|
|
322
322
|
#: dist/editor.js:30
|
|
323
323
|
#: src/shared/js/utils.js:54
|
|
324
324
|
msgid "Scheduled"
|
|
325
325
|
msgstr ""
|
|
326
326
|
|
|
327
327
|
#. Translators: %s is the %s is the frequency.
|
|
328
|
-
#: includes/class-newspack-blocks.php:
|
|
328
|
+
#: includes/class-newspack-blocks.php:1733
|
|
329
329
|
#: dist/editor.js:52
|
|
330
330
|
#, php-format,js-format
|
|
331
331
|
msgid "per %s"
|
|
332
332
|
msgstr ""
|
|
333
333
|
|
|
334
|
-
#: includes/class-newspack-blocks.php:
|
|
334
|
+
#: includes/class-newspack-blocks.php:1764
|
|
335
335
|
msgid " once"
|
|
336
336
|
msgstr ""
|
|
337
337
|
|
|
338
|
-
#: includes/class-newspack-blocks.php:
|
|
338
|
+
#: includes/class-newspack-blocks.php:1767
|
|
339
339
|
msgid " per "
|
|
340
340
|
msgstr ""
|
|
341
341
|
|
package/newspack-blocks.php
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Author URI: https://newspack.com/
|
|
8
8
|
* Text Domain: newspack-blocks
|
|
9
9
|
* Domain Path: /languages
|
|
10
|
-
* Version: 4.32.0-alpha.
|
|
10
|
+
* Version: 4.32.0-alpha.2
|
|
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', '4.32.0-alpha.
|
|
18
|
+
define( 'NEWSPACK_BLOCKS__VERSION', '4.32.0-alpha.2' );
|
|
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/newspack-blocks",
|
|
3
|
-
"version": "4.32.0-alpha.
|
|
3
|
+
"version": "4.32.0-alpha.2",
|
|
4
4
|
"author": "Automattic",
|
|
5
5
|
"description": "=== Newspack Blocks === Contributors: (this should be a list of wordpress.org userid's) Donate link: https://example.com/ Tags: comments, spam Requires at least: 4.5 Tested up to: 5.1.1 Stable tag: 0.1.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html",
|
|
6
6
|
"repository": {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
'name' => 'automattic/newspack-blocks',
|
|
4
4
|
'pretty_version' => 'dev-main',
|
|
5
5
|
'version' => 'dev-main',
|
|
6
|
-
'reference' => '
|
|
6
|
+
'reference' => '1ab44fc4ccb393daa1e37f35ab80a9e9c3c7e2dc',
|
|
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-main',
|
|
15
15
|
'version' => 'dev-main',
|
|
16
|
-
'reference' => '
|
|
16
|
+
'reference' => '1ab44fc4ccb393daa1e37f35ab80a9e9c3c7e2dc',
|
|
17
17
|
'type' => 'wordpress-plugin',
|
|
18
18
|
'install_path' => __DIR__ . '/../../',
|
|
19
19
|
'aliases' => array(),
|