Skip to content

Commit 6818151

Browse files
Merge pull request #1 from WordPress/trunk
Demo
2 parents 3bbfc06 + 7f7d616 commit 6818151

1,143 files changed

Lines changed: 54646 additions & 29710 deletions

File tree

Some content is hidden

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

.env

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,22 @@ LOCAL_DIR=src
1717
# The PHP version to use. Valid options are 'latest', and '{version}-fpm'.
1818
LOCAL_PHP=latest
1919

20-
# Whether or not to enable XDebug.
20+
# Whether or not to enable Xdebug.
2121
LOCAL_PHP_XDEBUG=false
2222

23+
##
24+
# The Xdebug features to enable.
25+
#
26+
# By default, the following features are enabled in the local environment:
27+
# - Development helpers (`develop`).
28+
# - Step debugging (`debug`).
29+
#
30+
# To generate a code coverage report, `coverage` mode must be active.
31+
#
32+
# For a full list of accepted values, see https://xdebug.org/docs/all_settings#mode.
33+
##
34+
LOCAL_PHP_XDEBUG_MODE=develop,debug
35+
2336
# Whether or not to enable Memcached.
2437
LOCAL_PHP_MEMCACHED=false
2538

.git-blame-ignore-revs

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Pinking shears
2+
a4789b3cc1cb59e5cd062670f4439f264c0d34f3 # [12042]
3+
fb4e38b0e750c0cab5eb4c50532da93e2d9882b3 # [15843]
4+
4b33a0e9c45d67c5f3123577262f73727444254a # [16438]
5+
fa33255b567df6b19ccc3a61824ad243db116993 # [16439]
6+
46d96c7704b978b9d070bfec1cb1a33e4caf46b0 # [18254]
7+
feaf2597bf16b1bd6b489a0e5680501f12990bee # [18276]
8+
9e7890c3f61781200b9337186d85cd4034edac61 # [18386]
9+
fd10e500e47ca1ae3280ac6817e725965f7fc0dc # [19054]
10+
6610e321e79d9b56c6fc496b6630dd2ac664a0d3 # [19528]
11+
d26f0a4c407a5d13a095c7676b397e51a959d82c # [19577]
12+
89e9bcc1d69ebbac01c8c4501f9066e421125e66 # [20000]
13+
8c50f982ea9784fe06844ce84b1a3297b1241442 # [20715]
14+
b6e23d7269e50296270f93dda96dacb118bee8b3 # [20944]
15+
48a3ec24c5ea7615431bde431098546674a0096c # [21070]
16+
2439e4d722f5093631c4bac9a45106ab33624aaa # [21381]
17+
56c4577feae624f7a3bf55d001295e0707c972b6 # [21486]
18+
680b671330327f2568549dec9460a2e942219d55 # [21492]
19+
dd39a3b3d2d1f792b6ed8e88b1fcc13877fbd8dd # [22491]
20+
6d8bce688f5215ad20133b2cefedc72ac5136be3 # [22634]
21+
05c0f14024a2bb8ef9bdfcb84589d04205f8ce24 # [23679]
22+
ece7a7714477142d4cdb3269d2f9ad3d5dab2e5f # [23780]
23+
687d1a2ce992a0e7e24675b506b85a57e42fe78e # [24303]
24+
45d2a20783460667f85d5fdced422efd54c33b72 # [24603]
25+
c8889d984fd98381d6f0bd3228972e93348f1266 # [25085]
26+
# 21da24227f2c0087c95f44c60b1bca65cedf0611 # [25824] includes a punctuation change
27+
30f822b8ee767c0b07fe1780f2829de0cba8c314 # [25880]
28+
1cdb0ac2fa5452e58d7a002b260d594a581af02e # [26475]
29+
37a37b5fc578d945376cf3b66b4a23265d6491f3 # [26597]
30+
bda43fd1071ed45ded3def7872866f62e40af9f5 # [26627]
31+
98fe4a5aedfdaa8c769bf2aaedc58eb63d342320 # [26631]
32+
d6e06a2ee5c15b19ca80b9162f3e19c06b5af34d # [26714]
33+
cfd5c395bb3ba810edaec6cf4483212181823d2e # [26851]
34+
2ec5e68249bdacee9ac0ce59fad91b1149244af8 # [27123]
35+
305e72859a4154fc96bac7774ab7808ead6a06d4 # [29169]
36+
ca32a2d410f954b6b40d23f3392ba53e62a3d9f1 # [29707]
37+
48a504cc50a16f60a395ace8d133130e3d6962f5 # [30047]
38+
b539bd985bdf2dde162f46fcbf14e51e46ff8be7 # [30372]
39+
9a3942ffd82b28a77982e0a0d1c2bb0b8a70ce44 # [30996]
40+
469164785ff8defefbfcdf972c57d9004c273256 # [31077]
41+
c4e9c64233166957cd1cbcc54ff54b1a02edd3b5 # [31623]
42+
f4f1b4821342fd1d58708356b3ec39d6fefe31ac # [33411]
43+
0ec540b946eaebebc7e8ee39a8e4738914e7f2a3 # [33627]
44+
0c5bd752629b0960c6f43ca212a64724e4f40346 # [34534]
45+
991feb70438e981290696fa2b4fbe2ea54696a02 # [34774]
46+
6911ff11308089eace23719fc50160d403081a8e # [35627]
47+
8df8cf2df14fe26174f97af5bb17d63f2e867231 # [42843]
48+
49+
# Coding Standards
50+
8f95800d52c1736d651ae6e259f90ad4a0db2c3f # [42343]

.github/dependabot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ updates:
77
directory: "/"
88
schedule:
99
interval: "daily"
10+
open-pull-requests-limit: 10

.github/workflows/coding-standards.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ on:
99
- '3.[89]'
1010
- '[4-9].[0-9]'
1111
tags:
12-
- '3.[89]*'
13-
- '[4-9].[0-9]*'
12+
- '[0-9]+.[0-9]'
13+
- '[0-9]+.[0-9].[0-9]+'
14+
- '!3.7.[0-9]+'
1415
pull_request:
1516
branches:
1617
- trunk
@@ -63,10 +64,10 @@ jobs:
6364

6465
steps:
6566
- name: Checkout repository
66-
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
67+
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
6768

6869
- name: Set up PHP
69-
uses: shivammathur/setup-php@ac7d3d7f84d81a029c20ab72d60264bdb7535831 # v2.15.0
70+
uses: shivammathur/setup-php@e04e1d97f0c0481c6e1ba40f8a538454fe5d7709 # v2.21.2
7071
with:
7172
php-version: '7.4'
7273
coverage: none
@@ -84,13 +85,13 @@ jobs:
8485
run: echo "::set-output name=date::$(/bin/date -u --date='last Mon' "+%F")"
8586

8687
- name: Cache PHPCS scan cache
87-
uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353 # v2.1.6
88+
uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # v3.0.8
8889
with:
8990
path: .cache/phpcs.json
9091
key: ${{ runner.os }}-date-${{ steps.get-date.outputs.date }}-phpcs-cache-${{ hashFiles('**/composer.json', 'phpcs.xml.dist') }}
9192

9293
- name: Install Composer dependencies
93-
uses: ramsey/composer-install@a7320a0581dcd0432930c48a0e7ced67e6ec17e8 # v1.3.0
94+
uses: ramsey/composer-install@f680dac46551dffb2234a240d65ae806c2999dd6 # v2.1.0
9495
with:
9596
composer-options: "--no-progress --no-ansi --no-interaction"
9697

@@ -115,10 +116,10 @@ jobs:
115116
#
116117
# Performs the following steps:
117118
# - Checks out the repository.
118-
# - Logs debug information about the runner container.
119-
# - Installs NodeJS 14.
119+
# - Logs debug information about the GitHub Action runner.
120+
# - Installs NodeJS.
120121
# - Logs updated debug information.
121-
# _ Installs NPM dependencies using install-changed to hash the `package.json` file.
122+
# _ Installs NPM dependencies.
122123
# - Run the WordPress JSHint checks.
123124
# - Ensures version-controlled files are not modified or deleted.
124125
jshint:
@@ -131,7 +132,7 @@ jobs:
131132

132133
steps:
133134
- name: Checkout repository
134-
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
135+
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
135136

136137
- name: Log debug information
137138
run: |
@@ -141,9 +142,9 @@ jobs:
141142
svn --version
142143
143144
- name: Install NodeJS
144-
uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c # v2.4.1
145+
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1
145146
with:
146-
node-version: 14
147+
node-version-file: '.nvmrc'
147148
cache: npm
148149

149150
- name: Log debug information

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

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
name: End-to-end Tests
22

33
on:
4-
# The end to end test suite was introduced in WordPress 5.3.
4+
# The end-to-end test suite was introduced in WordPress 5.3.
55
push:
66
branches:
77
- trunk
88
- '5.[3-9]'
99
- '[6-9].[0-9]'
1010
tags:
11-
- '5.[3-9]*'
12-
- '[6-9].[0-9]*'
11+
- '[0-9]+.[0-9]'
12+
- '[0-9]+.[0-9].[0-9]+'
13+
- '![34].[0-9].[0-9]+'
14+
- '!5.[0-2].[0-9]+'
1315
pull_request:
1416
branches:
1517
- trunk
@@ -31,11 +33,11 @@ jobs:
3133
# Runs the end-to-end test suite.
3234
#
3335
# Performs the following steps:
34-
# - Set environment variables.
36+
# - Sets environment variables.
3537
# - Checks out the repository.
36-
# - Logs debug information about the runner container.
37-
# - Installs NodeJS 14.
38-
# _ Installs NPM dependencies using install-changed to hash the `package.json` file.
38+
# - Logs debug information about the GitHub Action runner.
39+
# - Installs NodeJS.
40+
# _ Installs NPM dependencies.
3941
# - Builds WordPress to run from the `build` directory.
4042
# - Starts the WordPress Docker container.
4143
# - Logs general debug information.
@@ -57,7 +59,7 @@ jobs:
5759
echo "PHP_FPM_GID=$(id -g)" >> $GITHUB_ENV
5860
5961
- name: Checkout repository
60-
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
62+
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
6163

6264
- name: Log debug information
6365
run: |
@@ -71,9 +73,9 @@ jobs:
7173
locale -a
7274
7375
- name: Install NodeJS
74-
uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c # v2.4.1
76+
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1
7577
with:
76-
node-version: 14
78+
node-version-file: '.nvmrc'
7779
cache: npm
7880

7981
- name: Install Dependencies

.github/workflows/javascript-tests.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ on:
88
- '3.[89]'
99
- '[4-9].[0-9]'
1010
tags:
11-
- '3.[89]*'
12-
- '[4-9].[0-9]*'
11+
- '[0-9]+.[0-9]'
12+
- '[0-9]+.[0-9].[0-9]+'
13+
- '!3.7.[0-9]+'
1314
pull_request:
1415
branches:
1516
- trunk
@@ -42,10 +43,10 @@ jobs:
4243
#
4344
# Performs the following steps:
4445
# - Checks out the repository.
45-
# - Logs debug information about the runner container.
46-
# - Installs NodeJS 14.
46+
# - Logs debug information about the GitHub Action runner.
47+
# - Installs NodeJS.
4748
# - Logs updated debug information.
48-
# _ Installs NPM dependencies using install-changed to hash the `package.json` file.
49+
# _ Installs NPM dependencies.
4950
# - Run the WordPress QUnit tests.
5051
# - Ensures version-controlled files are not modified or deleted.
5152
test-js:
@@ -56,7 +57,7 @@ jobs:
5657

5758
steps:
5859
- name: Checkout repository
59-
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
60+
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
6061

6162
- name: Log debug information
6263
run: |
@@ -66,9 +67,9 @@ jobs:
6667
svn --version
6768
6869
- name: Install NodeJS
69-
uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c # v2.4.1
70+
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1
7071
with:
71-
node-version: 14
72+
node-version-file: '.nvmrc'
7273
cache: npm
7374

7475
- name: Log debug information

.github/workflows/php-compatibility.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ on:
88
- '5.[5-9]'
99
- '[6-9].[0-9]'
1010
tags:
11-
- '5.[5-9]*'
12-
- '[6-9].[0-9]*'
11+
- '[0-9]+.[0-9]'
12+
- '[0-9]+.[0-9].[0-9]+'
13+
- '![34].[0-9].[0-9]+'
14+
- '!5.[0-4].[0-9]+'
1315
pull_request:
1416
branches:
1517
- trunk
@@ -57,10 +59,10 @@ jobs:
5759

5860
steps:
5961
- name: Checkout repository
60-
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
62+
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
6163

6264
- name: Set up PHP
63-
uses: shivammathur/setup-php@ac7d3d7f84d81a029c20ab72d60264bdb7535831 # v2.15.0
65+
uses: shivammathur/setup-php@e04e1d97f0c0481c6e1ba40f8a538454fe5d7709 # v2.21.2
6466
with:
6567
php-version: '7.4'
6668
coverage: none
@@ -78,13 +80,13 @@ jobs:
7880
run: echo "::set-output name=date::$(/bin/date -u --date='last Mon' "+%F")"
7981

8082
- name: Cache PHP compatibility scan cache
81-
uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353 # v2.1.6
83+
uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # v3.0.8
8284
with:
8385
path: .cache/phpcompat.json
8486
key: ${{ runner.os }}-date-${{ steps.get-date.outputs.date }}-phpcompat-cache-${{ hashFiles('**/composer.json', 'phpcompat.xml.dist') }}
8587

8688
- name: Install Composer dependencies
87-
uses: ramsey/composer-install@a7320a0581dcd0432930c48a0e7ced67e6ec17e8 # v1.3.0
89+
uses: ramsey/composer-install@f680dac46551dffb2234a240d65ae806c2999dd6 # v2.1.0
8890
with:
8991
composer-options: "--no-progress --no-ansi --no-interaction"
9092

0 commit comments

Comments
 (0)