Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
24.18
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"ghcrRepo": "WordPress/gutenberg/gutenberg-wp-develop-build"
},
"engines": {
"node": ">=20.10.0",
"npm": ">=10.2.3"
"node": ">=24.18.0",
"npm": ">=11.16.0"
},
"author": "The WordPress Contributors",
"license": "GPL-2.0-or-later",
Expand Down
6 changes: 4 additions & 2 deletions src/wp-content/themes/twentytwenty/inc/template-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,15 @@ function twentytwenty_site_logo( $args = array(), $display = true ) {
* @since Twenty Twenty 1.0
*
* @param bool $display Display or return the HTML.
* @return string|void The HTML to display.
* @return string|void The HTML when `$display` is false, null when the site has no
* description. Nothing otherwise.
* @phpstan-return ( $display is true ? void : string|null )
*/
function twentytwenty_site_description( $display = true ) {
$description = get_bloginfo( 'description' );

if ( ! $description ) {
return;
return null;
}

$wrapper = '<div class="site-description">%s</div><!-- .site-description -->';
Expand Down
1 change: 1 addition & 0 deletions src/wp-content/themes/twentytwentyfive/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
24.18
7 changes: 2 additions & 5 deletions src/wp-content/themes/twentytwentyfive/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions src/wp-content/themes/twentytwentyfive/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
},
"homepage": "https://wordpress.org/themes/twentytwentyfive/",
"engines": {
"node": ">=20.10.0",
"npm": ">=10.2.3"
"node": ">=24.18.0",
"npm": ">=11.16.0"
},
"devDependencies": {
"@wordpress/browserslist-config": "^6.34.0",
Expand All @@ -25,8 +25,8 @@
"browserslist": [
"extends @wordpress/browserslist-config"
],
"scripts": {
"build": "postcss style.css --use cssnano -o style.min.css --no-map",
"watch": "postcss style.css --use cssnano -o style.min.css --no-map --watch"
}
"scripts": {
"build": "postcss style.css --use cssnano -o style.min.css --no-map",
"watch": "postcss style.css --use cssnano -o style.min.css --no-map --watch"
}
}
1 change: 1 addition & 0 deletions src/wp-content/themes/twentytwentyone/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
24.18
4 changes: 2 additions & 2 deletions src/wp-content/themes/twentytwentyone/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/wp-content/themes/twentytwentyone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
},
"homepage": "https://wordpress.org/themes/twentytwentyone/",
"engines": {
"node": ">=20.10.0",
"npm": ">=10.2.3"
"node": ">=24.18.0",
"npm": ">=11.16.0"
},
"devDependencies": {
"@wordpress/browserslist-config": "^6.34.0",
Expand Down
1 change: 1 addition & 0 deletions src/wp-content/themes/twentytwentytwo/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
24.18
7 changes: 2 additions & 5 deletions src/wp-content/themes/twentytwentytwo/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/wp-content/themes/twentytwentytwo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
},
"homepage": "https://wordpress.org/themes/twentytwentytwo/",
"engines": {
"node": ">=20.10.0",
"npm": ">=10.2.3"
"node": ">=24.18.0",
"npm": ">=11.16.0"
},
"devDependencies": {
"@wordpress/browserslist-config": "^6.34.0",
Expand Down
Loading