Skip to content

Commit d495214

Browse files
authored
Merge pull request #1548 from WordPress/publish/3.4.1
Prepare 3.4.1 release
2 parents d86cf87 + 316e8fe commit d495214

19 files changed

+92
-38
lines changed

plugins/auto-sizes/auto-sizes.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Description: Improves responsive images with better sizes calculations and auto-sizes for lazy-loaded images.
66
* Requires at least: 6.5
77
* Requires PHP: 7.2
8-
* Version: 1.2.0
8+
* Version: 1.3.0
99
* Author: WordPress Performance Team
1010
* Author URI: https://make.wordpress.org/performance/
1111
* License: GPLv2 or later
@@ -25,6 +25,6 @@
2525
return;
2626
}
2727

28-
define( 'IMAGE_AUTO_SIZES_VERSION', '1.2.0' );
28+
define( 'IMAGE_AUTO_SIZES_VERSION', '1.3.0' );
2929

3030
require_once __DIR__ . '/hooks.php';

plugins/auto-sizes/readme.txt

+8-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Contributors: wordpressdotorg
44
Tested up to: 6.6
5-
Stable tag: 1.2.0
5+
Stable tag: 1.3.0
66
License: GPLv2 or later
77
License URI: https://www.gnu.org/licenses/gpl-2.0.html
88
Tags: performance, images, auto-sizes
@@ -52,6 +52,13 @@ Contributions are always welcome! Learn more about how to get involved in the [C
5252

5353
== Changelog ==
5454

55+
= 1.3.0 =
56+
57+
**Enhancements**
58+
59+
* Move Auto Sizes logic from Enhanced Responsive Images to Image Prioritizer. ([1476](https://github.com/WordPress/performance/pull/1476))
60+
* Update auto sizes logic in Enhanced Responsive Images plugin to no longer load if already in Core. ([1547](https://github.com/WordPress/performance/pull/1547))
61+
5562
= 1.2.0 =
5663

5764
**Enhancements**

plugins/dominant-color-images/load.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Description: Displays placeholders based on an image's dominant color while the image is loading.
66
* Requires at least: 6.5
77
* Requires PHP: 7.2
8-
* Version: 1.1.1
8+
* Version: 1.1.2
99
* Author: WordPress Performance Team
1010
* Author URI: https://make.wordpress.org/performance/
1111
* License: GPLv2 or later
@@ -25,7 +25,7 @@
2525
return;
2626
}
2727

28-
define( 'DOMINANT_COLOR_IMAGES_VERSION', '1.1.1' );
28+
define( 'DOMINANT_COLOR_IMAGES_VERSION', '1.1.2' );
2929

3030
require_once __DIR__ . '/helper.php';
3131
require_once __DIR__ . '/hooks.php';

plugins/dominant-color-images/readme.txt

+12-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Contributors: wordpressdotorg
44
Tested up to: 6.6
5-
Stable tag: 1.1.1
5+
Stable tag: 1.1.2
66
License: GPLv2 or later
77
License URI: https://www.gnu.org/licenses/gpl-2.0.html
88
Tags: performance, images, dominant color
@@ -47,6 +47,17 @@ Contributions are always welcome! Learn more about how to get involved in the [C
4747

4848
== Changelog ==
4949

50+
= 1.1.2 =
51+
52+
**Enhancements**
53+
54+
* Use more robust HTML Tag Processor for Image Placeholders. ([1477](https://github.com/WordPress/performance/pull/1477))
55+
56+
**Bug Fixes**
57+
58+
* Re-remove unneeded phpcs:ignore. ([1231](https://github.com/WordPress/performance/pull/1231))
59+
* Update PHPStan to 1.11.5. ([1318](https://github.com/WordPress/performance/pull/1318))
60+
5061
= 1.1.1 =
5162

5263
**Enhancements**

plugins/image-prioritizer/class-image-prioritizer-img-tag-visitor.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ static function ( string $value ): bool {
163163
*
164164
* Per the HTML spec, if present it must be the first entry.
165165
*
166-
* @since n.e.x.t
166+
* @since 0.1.4
167167
*
168168
* @param string $sizes_attr The 'sizes' attribute value.
169169
* @return bool True if the 'auto' keyword is present, false otherwise.

plugins/image-prioritizer/load.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Requires at least: 6.5
77
* Requires PHP: 7.2
88
* Requires Plugins: optimization-detective
9-
* Version: 0.1.3
9+
* Version: 0.1.4
1010
* Author: WordPress Performance Team
1111
* Author URI: https://make.wordpress.org/performance/
1212
* License: GPLv2 or later
@@ -66,7 +66,7 @@ static function ( string $global_var_name, string $version, Closure $load ): voi
6666
}
6767
)(
6868
'image_prioritizer_pending_plugin',
69-
'0.1.3',
69+
'0.1.4',
7070
static function ( string $version ): void {
7171

7272
// Define the constant.

plugins/image-prioritizer/readme.txt

+7-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Contributors: wordpressdotorg
44
Tested up to: 6.6
5-
Stable tag: 0.1.3
5+
Stable tag: 0.1.4
66
License: GPLv2 or later
77
License URI: https://www.gnu.org/licenses/gpl-2.0.html
88
Tags: performance, optimization, image, lcp, lazy-load
@@ -62,6 +62,12 @@ The [plugin source code](https://github.com/WordPress/performance/tree/trunk/plu
6262

6363
== Changelog ==
6464

65+
= 0.1.4 =
66+
67+
**Enhancements**
68+
69+
* Move Auto Sizes logic from Enhanced Responsive Images to Image Prioritizer. ([1476](https://github.com/WordPress/performance/pull/1476))
70+
6571
= 0.1.3 =
6672

6773
**Bug Fixes**

plugins/optimization-detective/class-od-html-tag-processor.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ final class OD_HTML_Tag_Processor extends WP_HTML_Tag_Processor {
181181
/**
182182
* Count for the number of times that the cursor was moved.
183183
*
184-
* @since n.e.x.t
184+
* @since 0.6.0
185185
* @var int
186186
* @see self::next_token()
187187
* @see self::seek()
@@ -342,7 +342,7 @@ public function next_token(): bool {
342342
/**
343343
* Gets the number of times the cursor has moved.
344344
*
345-
* @since n.e.x.t
345+
* @since 0.6.0
346346
* @see self::next_token()
347347
* @see self::seek()
348348
*

plugins/optimization-detective/class-od-strict-url-metric.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Optimization Detective: OD_Strict_URL_Metric class
44
*
55
* @package optimization-detective
6-
* @since n.e.x.t
6+
* @since 0.6.0
77
*/
88

99
// Exit if accessed directly.
@@ -17,15 +17,15 @@
1717
* This is used exclusively in the REST API endpoint for capturing new URL metrics to prevent invalid additional data from being
1818
* submitted in the request. For URL metrics which have been stored the looser OD_URL_Metric class is used instead.
1919
*
20-
* @since n.e.x.t
20+
* @since 0.6.0
2121
* @access private
2222
*/
2323
final class OD_Strict_URL_Metric extends OD_URL_Metric {
2424

2525
/**
2626
* Gets JSON schema for URL Metric without additionalProperties.
2727
*
28-
* @since n.e.x.t
28+
* @since 0.6.0
2929
*
3030
* @return array<string, mixed> Schema.
3131
*/
@@ -39,7 +39,7 @@ public static function get_json_schema(): array {
3939
* This is a forked version of `rest_default_additional_properties_to_false()` which isn't being used itself because
4040
* it does not override `additionalProperties` to be false, but rather only sets it when it is empty.
4141
*
42-
* @since n.e.x.t
42+
* @since 0.6.0
4343
* @see rest_default_additional_properties_to_false()
4444
*
4545
* @param mixed $schema Schema.

plugins/optimization-detective/class-od-url-metric.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public static function get_json_schema(): array {
243243
/**
244244
* Filters additional schema properties which should be allowed at the root of a URL metric.
245245
*
246-
* @since n.e.x.t
246+
* @since 0.6.0
247247
*
248248
* @param array<string, array{type: string}> $additional_properties Additional properties.
249249
*/
@@ -255,7 +255,7 @@ public static function get_json_schema(): array {
255255
/**
256256
* Filters additional schema properties which should be allowed for an elements item in a URL metric.
257257
*
258-
* @since n.e.x.t
258+
* @since 0.6.0
259259
*
260260
* @param array<string, array{type: string}> $additional_properties Additional properties.
261261
*/
@@ -274,7 +274,7 @@ public static function get_json_schema(): array {
274274
/**
275275
* Extends a schema with additional optional properties.
276276
*
277-
* @since n.e.x.t
277+
* @since 0.6.0
278278
*
279279
* @param array<string, mixed> $properties_schema Properties schema to extend.
280280
* @param array<string, mixed> $additional_properties Additional properties.
@@ -287,7 +287,7 @@ protected static function extend_schema_with_optional_properties( array $propert
287287
_doing_it_wrong(
288288
esc_html( "Filter: '{$filter_name}'" ),
289289
esc_html( $message ),
290-
'Optimization Detective n.e.x.t'
290+
'Optimization Detective 0.6.0'
291291
);
292292
};
293293
foreach ( $additional_properties as $property_key => $property_schema ) {
@@ -349,7 +349,7 @@ protected static function extend_schema_with_optional_properties( array $propert
349349
*
350350
* This is particularly useful in conjunction with the `od_url_metric_schema_root_additional_properties` filter.
351351
*
352-
* @since n.e.x.t
352+
* @since 0.6.0
353353
*
354354
* @param string $key Property.
355355
* @return mixed|null The property value, or null if not set.

plugins/optimization-detective/load.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Description: Provides an API for leveraging real user metrics to detect optimizations to apply on the frontend to improve page performance.
66
* Requires at least: 6.5
77
* Requires PHP: 7.2
8-
* Version: 0.5.0
8+
* Version: 0.6.0
99
* Author: WordPress Performance Team
1010
* Author URI: https://make.wordpress.org/performance/
1111
* License: GPLv2 or later
@@ -65,7 +65,7 @@ static function ( string $global_var_name, string $version, Closure $load ): voi
6565
}
6666
)(
6767
'optimization_detective_pending_plugin',
68-
'0.5.0',
68+
'0.6.0',
6969
static function ( string $version ): void {
7070

7171
// Define the constant.

plugins/optimization-detective/readme.txt

+15-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Contributors: wordpressdotorg
44
Tested up to: 6.6
5-
Stable tag: 0.5.0
5+
Stable tag: 0.6.0
66
License: GPLv2 or later
77
License URI: https://www.gnu.org/licenses/gpl-2.0.html
88
Tags: performance, optimization, rum
@@ -157,6 +157,20 @@ The [plugin source code](https://github.com/WordPress/performance/tree/trunk/plu
157157

158158
== Changelog ==
159159

160+
= 0.6.0 =
161+
162+
**Enhancements**
163+
164+
* Allow URL metric schema to be extended. ([1492](https://github.com/WordPress/performance/pull/1492))
165+
* Clarify docs around a tag visitor's boolean return value. ([1479](https://github.com/WordPress/performance/pull/1479))
166+
* Include UUID with each URL metric. ([1489](https://github.com/WordPress/performance/pull/1489))
167+
* Introduce get_cursor_move_count() to use instead of get_seek_count() and get_next_token_count(). ([1478](https://github.com/WordPress/performance/pull/1478))
168+
169+
**Bug Fixes**
170+
171+
* Add missing global documentation for `delete_all_posts()`. ([1522](https://github.com/WordPress/performance/pull/1522))
172+
* Introduce viewport aspect ratio validation for URL Metrics. ([1494](https://github.com/WordPress/performance/pull/1494))
173+
160174
= 0.5.0 =
161175

162176
**Enhancements**

plugins/optimization-detective/storage/data.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ function od_verify_url_metrics_storage_nonce( string $nonce, string $slug, strin
182182
/**
183183
* Gets the minimum allowed viewport aspect ratio for URL metrics.
184184
*
185-
* @since n.e.x.t
185+
* @since 0.6.0
186186
* @access private
187187
*
188188
* @return float Minimum viewport aspect ratio for URL metrics.
@@ -194,7 +194,7 @@ function od_get_minimum_viewport_aspect_ratio(): float {
194194
* The 0.4 default value is intended to accommodate the phone with the greatest known aspect
195195
* ratio at 21:9 when rotated 90 degrees to 9:21 (0.429).
196196
*
197-
* @since n.e.x.t
197+
* @since 0.6.0
198198
*
199199
* @param float $minimum_viewport_aspect_ratio Minimum viewport aspect ratio.
200200
*/
@@ -204,7 +204,7 @@ function od_get_minimum_viewport_aspect_ratio(): float {
204204
/**
205205
* Gets the maximum allowed viewport aspect ratio for URL metrics.
206206
*
207-
* @since n.e.x.t
207+
* @since 0.6.0
208208
* @access private
209209
*
210210
* @return float Maximum viewport aspect ratio for URL metrics.
@@ -216,7 +216,7 @@ function od_get_maximum_viewport_aspect_ratio(): float {
216216
* The 2.5 default value is intended to accommodate the phone with the greatest known aspect
217217
* ratio at 21:9 (2.333).
218218
*
219-
* @since n.e.x.t
219+
* @since 0.6.0
220220
*
221221
* @param float $maximum_viewport_aspect_ratio Maximum viewport aspect ratio.
222222
*/

plugins/optimization-detective/storage/rest-api.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ function od_handle_rest_request( WP_REST_Request $request ) {
171171
/**
172172
* Fires whenever a URL Metric was successfully collected.
173173
*
174-
* @since n.e.x.t
174+
* @since 0.6.0
175175
*
176176
* @param array $context {
177177
* Context about the successful URL Metric collection.

plugins/performance-lab/load.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Description: Performance plugin from the WordPress Performance Team, which is a collection of standalone performance features.
66
* Requires at least: 6.5
77
* Requires PHP: 7.2
8-
* Version: 3.4.0
8+
* Version: 3.4.1
99
* Author: WordPress Performance Team
1010
* Author URI: https://make.wordpress.org/performance/
1111
* License: GPLv2 or later
@@ -19,7 +19,7 @@
1919
exit; // Exit if accessed directly.
2020
}
2121

22-
define( 'PERFLAB_VERSION', '3.4.0' );
22+
define( 'PERFLAB_VERSION', '3.4.1' );
2323
define( 'PERFLAB_MAIN_FILE', __FILE__ );
2424
define( 'PERFLAB_PLUGIN_DIR_PATH', plugin_dir_path( PERFLAB_MAIN_FILE ) );
2525
define( 'PERFLAB_SCREEN', 'performance-lab' );

plugins/performance-lab/readme.txt

+7-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Contributors: wordpressdotorg
44
Tested up to: 6.6
5-
Stable tag: 3.4.0
5+
Stable tag: 3.4.1
66
License: GPLv2 or later
77
License URI: https://www.gnu.org/licenses/gpl-2.0.html
88
Tags: performance, site health, measurement, optimization, diagnostics
@@ -70,6 +70,12 @@ Contributions are always welcome! Learn more about how to get involved in the [C
7070

7171
== Changelog ==
7272

73+
= 3.4.1 =
74+
75+
**Bug Fixes**
76+
77+
* Fix Incorrect use of _n(). ([1491](https://github.com/WordPress/performance/pull/1491))
78+
7379
= 3.4.0 =
7480

7581
**Enhancements**

plugins/webp-uploads/helper.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*
1818
* @since 1.0.0
1919
* @since 2.0.0 Added support for AVIF.
20-
* @since n.e.x.t Added support for PNG.
20+
* @since 2.2.0 Added support for PNG.
2121
*
2222
* @return array<string, array<string>> An array of valid mime types, where the key is the mime type and the value is the extension type.
2323
*/
@@ -403,7 +403,7 @@ function webp_uploads_is_picture_element_enabled(): bool {
403403
* Checks if the `perflab_generate_webp_and_jpeg` option is enabled.
404404
*
405405
* @since 2.0.0
406-
* @since n.e.x.t Renamed to webp_uploads_is_fallback_enabled().
406+
* @since 2.2.0 Renamed to webp_uploads_is_fallback_enabled().
407407
*
408408
* @return bool True if the option is enabled, false otherwise.
409409
*/
@@ -417,7 +417,7 @@ function webp_uploads_is_fallback_enabled(): bool {
417417
* This function attempts to locate an alternate image source URL in the
418418
* attachment's metadata that matches the provided MIME type.
419419
*
420-
* @since n.e.x.t
420+
* @since 2.2.0
421421
*
422422
* @param int $attachment_id The ID of the attachment.
423423
* @param string $src The original image src url.

0 commit comments

Comments
 (0)