Skip to content

Commit a81d7a3

Browse files
committed
Merge branch 'trunk' into add/automatic-plugin-dependancies-discovery
2 parents be0e75d + 20a038f commit a81d7a3

File tree

24 files changed

+137
-144
lines changed

24 files changed

+137
-144
lines changed

.github/workflows/php-test-plugins.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
fi
8888
- name: Upload single site coverage reports to Codecov
8989
if: ${{ matrix.coverage == true }}
90-
uses: codecov/codecov-action@v4
90+
uses: codecov/codecov-action@v5
9191
with:
9292
token: ${{ secrets.CODECOV_TOKEN }}
9393
files: coverage-${{ github.sha }}.xml
@@ -96,7 +96,7 @@ jobs:
9696
fail_ci_if_error: true
9797
- name: Upload multisite coverage reports to Codecov
9898
if: ${{ matrix.coverage == true }}
99-
uses: codecov/codecov-action@v4
99+
uses: codecov/codecov-action@v5
100100
with:
101101
token: ${{ secrets.CODECOV_TOKEN }}
102102
files: coverage-multisite-${{ github.sha }}.xml

composer.lock

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 16 additions & 52 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
},
1313
"devDependencies": {
1414
"@octokit/rest": "^21.0.2",
15-
"@wordpress/env": "^10.11.0",
16-
"@wordpress/prettier-config": "^4.11.0",
17-
"@wordpress/scripts": "^30.4.0",
15+
"@wordpress/env": "^10.12.0",
16+
"@wordpress/prettier-config": "^4.12.0",
17+
"@wordpress/scripts": "^30.5.1",
1818
"commander": "12.1.0",
1919
"copy-webpack-plugin": "^12.0.2",
2020
"fast-glob": "^3.3.2",
2121
"fs-extra": "^11.2.0",
22-
"husky": "^9.1.6",
22+
"husky": "^9.1.7",
2323
"lint-staged": "^15.2.10",
2424
"lodash": "4.17.21",
2525
"micromatch": "^4.0.8",

plugins/embed-optimizer/readme.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,6 @@ The [plugin source code](https://github.com/WordPress/performance/tree/trunk/plu
6767

6868
== Changelog ==
6969

70-
= n.e.x.t =
71-
72-
**Enhancements**
73-
74-
* Serve unminified scripts when `SCRIPT_DEBUG` is enabled. ([1643](https://github.com/WordPress/performance/pull/1643))
75-
7670
= 0.3.0 =
7771

7872
**Enhancements**

plugins/image-prioritizer/readme.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,6 @@ The [plugin source code](https://github.com/WordPress/performance/tree/trunk/plu
6262

6363
== Changelog ==
6464

65-
= n.e.x.t =
66-
67-
**Enhancements**
68-
69-
* Serve unminified scripts when `SCRIPT_DEBUG` is enabled. ([1643](https://github.com/WordPress/performance/pull/1643))
70-
7165
= 0.2.0 =
7266

7367
**Enhancements**

plugins/optimization-detective/detection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* a post available for cache purging. As seen in {@see od_can_optimize_response()}, when such a post ID is not
3232
* available for cache purging then it returns false, as it also does in another case like if is_404().
3333
*
34-
* @since n.e.x.t
34+
* @since 0.8.0
3535
* @access private
3636
*
3737
* @return int|null Post ID or null if none found.

plugins/optimization-detective/load.php

Lines changed: 2 additions & 2 deletions
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.7.0
8+
* Version: 0.8.0
99
* Author: WordPress Performance Team
1010
* Author URI: https://make.wordpress.org/performance/
1111
* License: GPLv2 or later
@@ -70,7 +70,7 @@ static function ( string $global_var_name, string $version, Closure $load ): voi
7070
}
7171
)(
7272
'optimization_detective_pending_plugin',
73-
'0.7.0',
73+
'0.8.0',
7474
static function ( string $version ): void {
7575
if ( defined( 'OPTIMIZATION_DETECTIVE_VERSION' ) ) {
7676
return;

plugins/optimization-detective/optimization.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ function od_can_optimize_response(): bool {
123123
current_user_can( 'customize' ) ||
124124
// Page caching plugins can only reliably be told to invalidate a cached page when a post is available to trigger
125125
// the relevant actions on.
126-
null !== od_get_cache_purge_post_id()
126+
null === od_get_cache_purge_post_id()
127127
);
128128

129129
/**

plugins/optimization-detective/readme.txt

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Contributors: wordpressdotorg
44
Tested up to: 6.7
5-
Stable tag: 0.7.0
5+
Stable tag: 0.8.0
66
License: GPLv2 or later
77
License URI: https://www.gnu.org/licenses/gpl-2.0.html
88
Tags: performance, optimization, rum
@@ -265,11 +265,19 @@ The [plugin source code](https://github.com/WordPress/performance/tree/trunk/plu
265265

266266
== Changelog ==
267267

268-
= n.e.x.t =
268+
= 0.8.0 =
269269

270270
**Enhancements**
271271

272272
* Serve unminified scripts when `SCRIPT_DEBUG` is enabled. ([1643](https://github.com/WordPress/performance/pull/1643))
273+
* Bump web-vitals from 4.2.3 to 4.2.4. ([1628](https://github.com/WordPress/performance/pull/1628))
274+
275+
**Bug Fixes**
276+
277+
* Eliminate the detection time window which prevented URL Metrics from being gathered when page caching is present. ([1640](https://github.com/WordPress/performance/pull/1640))
278+
* Revise the use of nonces in requests to store a URL Metric and block cross-origin requests. ([1637](https://github.com/WordPress/performance/pull/1637))
279+
* Send post ID of queried object or first post in loop in URL Metric storage request to schedule page cache validation. ([1641](https://github.com/WordPress/performance/pull/1641))
280+
* Fix phpstan errors. ([1627](https://github.com/WordPress/performance/pull/1627))
273281

274282
= 0.7.0 =
275283

0 commit comments

Comments
 (0)