Skip to content

Commit 2d08732

Browse files
committed
Merge branch 'trunk' into add/far-future-expiration-test
2 parents 4f1a00d + 6803bc9 commit 2d08732

File tree

81 files changed

+1862
-402
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+1862
-402
lines changed

package-lock.json

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

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@
1212
},
1313
"devDependencies": {
1414
"@octokit/rest": "^21.1.0",
15-
"@wordpress/env": "^10.15.0",
15+
"@wordpress/env": "^10.16.0",
1616
"@wordpress/prettier-config": "^4.14.0",
17-
"@wordpress/scripts": "^30.8.1",
18-
"commander": "13.0.0",
17+
"@wordpress/scripts": "^30.9.0",
18+
"commander": "13.1.0",
1919
"copy-webpack-plugin": "^12.0.2",
2020
"css-minimizer-webpack-plugin": "^7.0.0",
2121
"fast-glob": "^3.3.3",
22-
"fs-extra": "^11.2.0",
22+
"fs-extra": "^11.3.0",
2323
"husky": "^9.1.7",
24-
"lint-staged": "^15.3.0",
24+
"lint-staged": "^15.4.1",
2525
"lodash": "4.17.21",
2626
"micromatch": "^4.0.8",
2727
"npm-run-all": "^4.1.5",

plugins/auto-sizes/auto-sizes.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@
1515
* @package auto-sizes
1616
*/
1717

18-
// Exit if accessed directly.
18+
// @codeCoverageIgnoreStart
1919
if ( ! defined( 'ABSPATH' ) ) {
20-
exit;
20+
exit; // Exit if accessed directly.
2121
}
22+
// @codeCoverageIgnoreEnd
2223

2324
// Define the constant.
2425
if ( defined( 'IMAGE_AUTO_SIZES_VERSION' ) ) {

plugins/auto-sizes/hooks.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@
66
* @since 1.0.0
77
*/
88

9+
// @codeCoverageIgnoreStart
910
if ( ! defined( 'ABSPATH' ) ) {
1011
exit; // Exit if accessed directly.
1112
}
13+
// @codeCoverageIgnoreEnd
1214

1315
/**
1416
* Displays the HTML generator tag for the plugin.

plugins/dominant-color-images/hooks.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@
77
* @since 1.0.0
88
*/
99

10+
// @codeCoverageIgnoreStart
1011
if ( ! defined( 'ABSPATH' ) ) {
1112
exit; // Exit if accessed directly.
1213
}
14+
// @codeCoverageIgnoreEnd
1315

1416
/**
1517
* Add the dominant color metadata to the attachment.

plugins/dominant-color-images/load.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@
1515
* @package dominant-color-images
1616
*/
1717

18-
// Exit if accessed directly.
18+
// @codeCoverageIgnoreStart
1919
if ( ! defined( 'ABSPATH' ) ) {
20-
exit;
20+
exit; // Exit if accessed directly.
2121
}
22+
// @codeCoverageIgnoreEnd
2223

2324
// Define required constants.
2425
if ( defined( 'DOMINANT_COLOR_IMAGES_VERSION' ) ) {

plugins/embed-optimizer/class-embed-optimizer-tag-visitor.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@
66
* @since 0.2.0
77
*/
88

9-
// Exit if accessed directly.
9+
// @codeCoverageIgnoreStart
1010
if ( ! defined( 'ABSPATH' ) ) {
11-
exit;
11+
exit; // Exit if accessed directly.
1212
}
13+
// @codeCoverageIgnoreEnd
1314

1415
/**
1516
* Tag visitor that optimizes embeds.

plugins/embed-optimizer/hooks.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@
66
* @package embed-optimizer
77
*/
88

9+
// @codeCoverageIgnoreStart
910
if ( ! defined( 'ABSPATH' ) ) {
1011
exit; // Exit if accessed directly.
1112
}
13+
// @codeCoverageIgnoreEnd
1214

1315
/**
1416
* Add hooks.

plugins/embed-optimizer/load.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@
1515
* @package embed-optimizer
1616
*/
1717

18-
// Exit if accessed directly.
18+
// @codeCoverageIgnoreStart
1919
if ( ! defined( 'ABSPATH' ) ) {
20-
exit;
20+
exit; // Exit if accessed directly.
2121
}
22+
// @codeCoverageIgnoreEnd
2223

2324
(
2425
/**

plugins/image-prioritizer/class-image-prioritizer-background-image-styled-tag-visitor.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@
66
* @since 0.1.0
77
*/
88

9-
// Exit if accessed directly.
9+
// @codeCoverageIgnoreStart
1010
if ( ! defined( 'ABSPATH' ) ) {
11-
exit;
11+
exit; // Exit if accessed directly.
1212
}
13+
// @codeCoverageIgnoreEnd
1314

1415
/**
1516
* Tag visitor that optimizes elements with background-image styles.

0 commit comments

Comments
 (0)