@wordpress/e2e-tests 9.19.1-next.v.202608281122.0 → 9.20.0

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 CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 9.20.0 (2026-09-10)
6
+
5
7
  ## 9.19.0 (2026-08-26)
6
8
 
7
9
  ## 9.18.0 (2026-08-12)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/e2e-tests",
3
- "version": "9.19.1-next.v.202608281122.0",
3
+ "version": "9.20.0",
4
4
  "description": "Test plugins and mu-plugins for E2E tests in WordPress.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -24,8 +24,8 @@
24
24
  "npm": ">=8.19.2"
25
25
  },
26
26
  "dependencies": {
27
- "@wordpress/interactivity": "^6.54.1-next.v.202608281122.0",
28
- "@wordpress/interactivity-router": "^2.54.1-next.v.202608281122.0"
27
+ "@wordpress/interactivity": "^6.55.0",
28
+ "@wordpress/interactivity-router": "^2.55.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "y-websocket": "^3.0.0"
@@ -38,5 +38,5 @@
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  },
41
- "gitHead": "de479d415171765f7b573c81aeec5334ff506a12"
41
+ "gitHead": "485f42ae8a1c58ceea18371a507fd4acfa86fbd8"
42
42
  }
@@ -10,9 +10,9 @@
10
10
  /**
11
11
  * Restrict the allowed blocks in the editor.
12
12
  *
13
- * @param Array $allowed_block_types An array of strings containing the previously allowed blocks.
14
- * @param WP_Post $post The current post object.
15
- * @return Array An array of strings containing the new allowed blocks after the filter is applied.
13
+ * @param Array $allowed_block_types An array of strings containing the previously allowed blocks.
14
+ * @param WP_Post $post The current post object.
15
+ * @return Array An array of strings containing the new allowed blocks after the filter is applied.
16
16
  */
17
17
  function my_plugin_allowed_block_types( $allowed_block_types, $post ) {
18
18
  if ( 'post' !== $post->post_type ) {
@@ -10,9 +10,9 @@
10
10
  /**
11
11
  * Restrict the allowed blocks in the editor.
12
12
  *
13
- * @param Array $allowed_block_types An array of strings containing the previously allowed blocks.
14
- * @param WP_Post $post The current post object.
15
- * @return Array An array of strings containing the new allowed blocks after the filter is applied.
13
+ * @param Array $allowed_block_types An array of strings containing the previously allowed blocks.
14
+ * @param WP_Post $post The current post object.
15
+ * @return Array An array of strings containing the new allowed blocks after the filter is applied.
16
16
  */
17
17
  function my_plugin_allowed_block_types( $allowed_block_types, $post ) {
18
18
  if ( 'post' !== $post->post_type ) {
@@ -25,7 +25,7 @@ class Test_Widget extends WP_Widget {
25
25
  /**
26
26
  * Outputs the content for the widget instance.
27
27
  *
28
- * @param array $args Display arguments including 'before_title', 'after_title',
28
+ * @param array $args Display arguments including 'before_title', 'after_title',
29
29
  * 'before_widget', and 'after_widget'.
30
30
  * @param array $instance Settings for the current Block widget instance.
31
31
  */
@@ -0,0 +1,19 @@
1
+ <?php
2
+ /**
3
+ * Plugin Name: Gutenberg Test Plugin: Duplicate Image Sizes
4
+ * Plugin URI: https://github.com/WordPress/gutenberg
5
+ * Author: Gutenberg Team
6
+ *
7
+ * Registers two image sizes with identical dimensions and crop settings so
8
+ * client-side media processing groups them into a single sideload request.
9
+ *
10
+ * @package gutenberg-test-image-size-duplicates
11
+ */
12
+
13
+ add_action(
14
+ 'after_setup_theme',
15
+ static function () {
16
+ add_image_size( 'duplicate-size-one', 400, 400, false );
17
+ add_image_size( 'duplicate-size-two', 400, 400, false );
18
+ }
19
+ );