Skip to content

Commit d22a6be

Browse files
authored
Merge branch 'WordPress:trunk' into trunk
2 parents 3d28e06 + 710675d commit d22a6be

File tree

73 files changed

+546
-245
lines changed

Some content is hidden

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

73 files changed

+546
-245
lines changed

.github/workflows/local-docker-environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
fail-fast: false
9393
matrix:
9494
os: [ ubuntu-24.04 ]
95-
memcached: [ false, true ]
95+
memcached: [ false ]
9696
php: ${{ fromJSON( needs.build-test-matrix.outputs.php-versions ) }}
9797
db-version: ${{ fromJSON( needs.build-test-matrix.outputs.mysql-versions ) }}
9898

.github/workflows/performance.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
strategy:
102102
fail-fast: false
103103
matrix:
104-
memcached: [ true, false ]
104+
memcached: [ false ]
105105
multisite: [ true, false ]
106106
subject: ${{ fromJson( needs.determine-matrix.outputs.subjects ) }}
107107
with:
@@ -119,7 +119,7 @@ jobs:
119119
strategy:
120120
fail-fast: false
121121
matrix:
122-
memcached: [ true, false ]
122+
memcached: [ false ]
123123
multisite: [ true, false ]
124124
# A matrix value is needed in the 'name' directive for proper grouping in the GitHub UI.
125125
label: [ Compare ]

.github/workflows/reusable-end-to-end-tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@ jobs:
8181
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
8282
persist-credentials: false
8383

84+
- name: Create a Docker override file
85+
if: ${{ contains( fromJSON('["8.3", "8.4"]'), inputs.php-version ) }}
86+
env:
87+
PHP_VERSION: ${{ inputs.php-version }}
88+
run: cp "tools/local-env/php-$PHP_VERSION-docker-compose.override.yml" docker-compose.override.yml
89+
8490
- name: Set up Node.js
8591
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
8692
with:

.github/workflows/reusable-performance-test-v2.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ jobs:
121121
fetch-depth: ${{ github.event_name == 'workflow_dispatch' && '2' || '1' }}
122122
persist-credentials: false
123123

124+
- name: Create a Docker override file
125+
if: ${{ contains( fromJSON('["8.3", "8.4"]'), inputs.php-version ) }}
126+
env:
127+
PHP_VERSION: ${{ inputs.php-version }}
128+
run: cp "tools/local-env/php-$PHP_VERSION-docker-compose.override.yml" docker-compose.override.yml
129+
124130
- name: Set up Node.js
125131
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
126132
with:

.github/workflows/reusable-phpunit-tests-v3.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,12 @@ jobs:
136136
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
137137
persist-credentials: false
138138

139+
- name: Create a Docker override file
140+
if: ${{ contains( fromJSON('["8.3", "8.4"]'), inputs.php ) }}
141+
env:
142+
PHP_VERSION: ${{ inputs.php }}
143+
run: cp "tools/local-env/php-${{ env.PHP_VERSION }}-docker-compose.override.yml" docker-compose.override.yml
144+
139145
- name: Set up Node.js
140146
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
141147
with:

.github/workflows/reusable-test-local-docker-environment-v1.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@ jobs:
9191
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
9292
persist-credentials: false
9393

94+
- name: Create a Docker override file
95+
if: ${{ contains( fromJSON('["8.3", "8.4"]'), inputs.php ) }}
96+
env:
97+
PHP_VERSION: ${{ inputs.php }}
98+
run: cp "tools/local-env/php-$PHP_VERSION-docker-compose.override.yml" docker-compose.override.yml
99+
94100
- name: Set up Node.js
95101
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
96102
with:

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ wp-tests-config.php
5050
/src/wp-content/fonts
5151
/src/wp-content/languages
5252
/src/wp-content/mu-plugins
53-
/src/wp-content/plugins
53+
/src/wp-content/plugins/*
54+
!/src/wp-content/plugins/hello-dolly
5455
/src/wp-content/themes/*
5556
!/src/wp-content/themes/twentyten
5657
!/src/wp-content/themes/twentyeleven

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module.exports = function(grunt) {
2828
'wp-content/themes/index.php',
2929
'wp-content/themes/twenty*/**',
3030
'wp-content/plugins/index.php',
31-
'wp-content/plugins/hello.php',
31+
'wp-content/plugins/hello-dolly/**',
3232
'wp-content/plugins/akismet/**',
3333
'!wp-content/themes/twenty*/node_modules/**',
3434
],

src/js/_enqueues/wp/customize/views.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,14 @@
3737

3838
setButtons: function() {
3939
var elements = $('#customize-control-header_image .actions .remove');
40+
var addButton = $('#customize-control-header_image .actions .new');
41+
4042
if (this.model.get('choice')) {
4143
elements.show();
44+
addButton.removeClass('upload-button');
4245
} else {
4346
elements.hide();
47+
addButton.addClass('upload-button');
4448
}
4549
}
4650
});

src/wp-admin/async-upload.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@
6060
$title = $post->post_title ? $post->post_title : wp_basename( $file );
6161
?>
6262
<div class="filename new">
63-
<span class="media-list-title"><strong><?php echo esc_html( wp_html_excerpt( $title, 60, '&hellip;' ) ); ?></strong></span>
64-
<span class="media-list-subtitle"><?php echo esc_html( wp_basename( $file ) ); ?></span>
63+
<span class="media-list-title word-wrap-break-word"><strong><?php echo esc_html( wp_html_excerpt( $title, 60, '&hellip;' ) ); ?></strong></span>
64+
<span class="media-list-subtitle word-wrap-break-word"><?php echo esc_html( wp_basename( $file ) ); ?></span>
6565
<div class="attachment-tools">
6666
<?php
6767
if ( current_user_can( 'edit_post', $id ) ) {

0 commit comments

Comments
 (0)