Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#58494 http freq #45

Open
wants to merge 106 commits into
base: ticket/58494
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
7c254c5
Privacy: Improve docblocks for hooks and functions related to persona…
johnbillion Aug 28, 2023
61cd1a5
External Libraries: Upgrade PHPMailer to version 6.8.1.
SergeyBiryukov Aug 29, 2023
ec94944
Media: Prevent warning if `[caption]` shortcode is used without attri…
swissspidy Aug 29, 2023
ab5fd4d
Site Health: fix check name used for REST API permission checks.
swissspidy Aug 29, 2023
3d2f4d5
Posts, Post Types: Reinstate missing sort_column options in get_pages().
joemcgill Aug 29, 2023
e278fe3
Posts, Post Types: Avoid redundant SQL query in get_pages().
joemcgill Aug 29, 2023
c6088bb
Tests: Correct uses of `ReflectionProperty::setValue()` for static pr…
SergeyBiryukov Aug 30, 2023
973b456
HTML API: Stop processing HTML when encountering unsupported markup.
ockham Aug 30, 2023
bc92bb0
General: Replace two `esc_url_raw()` calls in core with `sanitize_url…
costdev Aug 30, 2023
98284ae
HTTP API: Update `WP_Http` class to avoid PHP deprecation warnings.
audrasjb Aug 30, 2023
39db9a6
Editor: Add relative time strings for the `wp-date` inline script out…
audrasjb Aug 30, 2023
a023fbc
Upload: Add a MIME type exception for `.docx` generated by Google Docs.
audrasjb Aug 30, 2023
9879434
Build/Test Tools: Enable running the tests on PHP 8.3.
SergeyBiryukov Aug 31, 2023
54a1779
Coding Standards: Remove unused global variables in various `/wp-admi…
audrasjb Aug 31, 2023
c29b095
Introduce font-face styles generator and printer.
hellofromtonya Aug 31, 2023
13531cc
Tests: Remove webfonts tests.
hellofromtonya Aug 31, 2023
3c98d25
Editor: Preserve block style variations when securing theme.
tellthemachines Sep 1, 2023
0b40c80
Editor: Don't use fluid layout value in typography.
tellthemachines Sep 1, 2023
9f3b57d
Media: Remove unused `$is_IE` and `$is_opera` globals in `media_uploa…
SergeyBiryukov Sep 1, 2023
36fe58a
Upgrade/Install: Remove unused globals in `core_upgrade_preamble()`.
SergeyBiryukov Sep 1, 2023
b447190
Build/Test Tools: Compare results in performance measurement workflow.
swissspidy Sep 1, 2023
5269bf6
Editor: Ensure main query loop is entered for singular content in blo…
felixarntz Sep 1, 2023
a22fee0
Options, Meta APIs: Introduce `wp_set_option_autoload_values()`.
felixarntz Sep 1, 2023
9a87bc5
Site Health: Show correct debug value for file uploads.
SergeyBiryukov Sep 2, 2023
d0deb5b
Upload: Correct duplicate MIME type for `.xlsx` files generated by Go…
SergeyBiryukov Sep 3, 2023
fa9f839
Coding Standards: Use strict comparison in `wp-includes/class-wp-hook…
SergeyBiryukov Sep 4, 2023
6be588c
Widgets: Improve performance of has_content method in WP_Widget_Media…
spacedmonkey Sep 4, 2023
92994bd
Query: Use split queries in WP_Query if persistent object caching is …
spacedmonkey Sep 5, 2023
5f1a92c
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Sep 5, 2023
305de43
Administration: Add improved context for `add new` links.
joedolson Sep 5, 2023
3384a80
Administration: Use admin notice functions in nav menu admin.
joedolson Sep 5, 2023
6aa3721
Docs: Add a `@since` note for `add_new` labels change in `get_post_ty…
SergeyBiryukov Sep 6, 2023
77a7772
Editor: update packages with bug fixes for 6.3.2
tellthemachines Sep 6, 2023
a8b3461
Coding Standards: Correct equals sign alignment in various files.
SergeyBiryukov Sep 6, 2023
e619082
Database: Add expiration for `dirsize_cache` to transient to improve …
spacedmonkey Sep 6, 2023
bd594f7
Themes: Remove unnecessary check if file exists in the theme functions.
spacedmonkey Sep 6, 2023
8d65dc9
Themes: Avoid stale caches for core block styles.
joemcgill Sep 6, 2023
a138c19
Upgrade/Install: Check plugin compatibility during bulk upgrades.
costdev Sep 6, 2023
d67d8d6
Bundled Theme: Update default themes to use new script function signa…
felixarntz Sep 6, 2023
476db82
Editor: Fix loading of assets in blocks in child themes where the dir…
azaozz Sep 6, 2023
e14213e
Editor: Prevent possibility of a fatal error when previewing block th…
azaozz Sep 6, 2023
6ea6972
General: Introduce wp_trigger_error().
hellofromtonya Sep 6, 2023
f66fe0e
Bundled Themes: Use Node.js 16.x in themes with a build process.
desrosj Sep 6, 2023
d480448
Bundled Themes: Set `legacy-peer-deps` to `true`.
desrosj Sep 7, 2023
503addd
Bundled Themes: Update npm dependencies for Twenty Nineteen and Twent…
desrosj Sep 7, 2023
9f5dd61
Editor: allow disabling layout controls.
tellthemachines Sep 7, 2023
3626241
Editor: add configurable viewport sizes for fluid typography.
tellthemachines Sep 7, 2023
46f6492
Coding Standards: Remove superfluous blank lines at the end of variou…
SergeyBiryukov Sep 7, 2023
3452000
Build/Test Tools: Update 3rd-party GitHub Actions.
desrosj Sep 7, 2023
1cfefb9
Build/Test Tools: Update a few more 3rd-party GitHub Action occurrences.
desrosj Sep 7, 2023
9b6d04a
Fonts: Removes static instance in wp_print_font_faces().
hellofromtonya Sep 7, 2023
ef54f4e
Plugins: Respect `prefers-reduced-motion` on plugin thumbnails.
joedolson Sep 7, 2023
dc76011
Code Modernization: Use wp_trigger_error() in WP_List_Table magic met…
hellofromtonya Sep 7, 2023
a5eddea
Code Modernization: Use wp_trigger_error() in WP_User_Query magic met…
hellofromtonya Sep 7, 2023
9de4142
Code Modernization: Use wp_trigger_error() in WP_Text_Diff_Renderer_T…
hellofromtonya Sep 7, 2023
b693aeb
Editor: performance enhancements to `class-wp-theme-json`.
tellthemachines Sep 8, 2023
3f9bc4e
Editor: tweak root padding styles.
tellthemachines Sep 8, 2023
d790be1
Coding Standards: Remove superfluous blank lines at the end of variou…
SergeyBiryukov Sep 8, 2023
1118e37
Coding Standards: Remove superfluous blank lines at the end of variou…
SergeyBiryukov Sep 8, 2023
54e1b4b
Coding Standards: Use pre-increment/decrement for stand-alone stateme…
Sep 9, 2023
2a13d93
Upgrade/Install: Fix broken `sprintf()` call when deleting a backup.
costdev Sep 10, 2023
858bd4b
Coding Standards: Correct spacing for spread operators.
SergeyBiryukov Sep 10, 2023
aeba9d1
Code Modernization: Use `dirname()` with the `$levels` parameter.
SergeyBiryukov Sep 11, 2023
2453a6b
Cron: Cast `doing_cron` transient to a float.
peterwilsoncc Sep 11, 2023
46c1f6f
External Libraries: Update the Requests library to version 2.0.8.
costdev Sep 11, 2023
827a560
Taxonomy: Cache term objects in WP_Term_Query if query is filtered.
spacedmonkey Sep 11, 2023
cc775b9
Bundled Themes: Use `defer` loading strategy for theme scripts.
westonruter Sep 12, 2023
44e71c8
General: Add optional callback argument to serialize_block(s).
ockham Sep 12, 2023
9c9329c
HTML API: Store current token reference in HTML Processor state.
ockham Sep 12, 2023
fd6c560
Coding Standards: Include one space after `function` keyword for clos…
SergeyBiryukov Sep 12, 2023
15f5a95
Posts, Post Types: Avoid unnecessarily parsing blocks twice in `wp_tr…
felixarntz Sep 12, 2023
36f8240
Docs: Fix typo in a comment in `wp_trim_excerpt()`.
SergeyBiryukov Sep 13, 2023
8e4ff2a
Themes: Add test for `theme` atttibute in file-based block template.
ockham Sep 13, 2023
7dbf409
HTML API: Skip over contents of RAWTEXT elements such as STYLE.
ockham Sep 13, 2023
11e91d5
HTML API: Update documentation and rename internal variable on HTML P…
ockham Sep 13, 2023
640a533
REST API: Avoid unnecessarily preparing item links REST API index.
spacedmonkey Sep 13, 2023
6f74f61
Twenty-Twenty One: Fixes quotation mark being outside with background.
karmatosed Sep 13, 2023
1c2653d
General: Update `wp_register_script()` calls in core to use new funct…
felixarntz Sep 13, 2023
96a7954
Bundled Themes: Ensure Twenty Twenty's main script loads in `head` fo…
westonruter Sep 13, 2023
3cefc7c
Administration: Use `wp_admin_notice()` in `/wp-admin/`.
joedolson Sep 14, 2023
fa21528
Administration: Use `wp_admin_notice()` in `/wp-admin/includes`.
joedolson Sep 14, 2023
795534f
Administration: Use `wp_admin_notice()` in `/wp-includes/`.
joedolson Sep 14, 2023
f43aaaf
Administration: Use `wp_admin_notice()` for `.updated`.
joedolson Sep 14, 2023
1a168a1
Editor: disable default style engine optimisation.
tellthemachines Sep 14, 2023
ec47a8f
REST API: quality tweaks to WP_REST_Global_Styles_Controller.
tellthemachines Sep 14, 2023
4bdca50
Administration: Fix erroneous call to `wp_admin()`.
costdev Sep 14, 2023
11c53d5
Post Types: allow trashing draft patterns.
tellthemachines Sep 14, 2023
bbb85de
Themes: Inject `theme` attribute during serialization.
ockham Sep 14, 2023
18fbb97
Themes: Fix @covers PHPDoc line for test.
ockham Sep 14, 2023
7305399
Twenty Nineteen: Fixes button line height.
karmatosed Sep 14, 2023
943e2b9
Twenty Ninteen: Revert changes to 'style-rtl.css'.
karmatosed Sep 14, 2023
a5bcf19
Bundled Theme: Implement the_header_image_tag function for enhanced c…
spacedmonkey Sep 14, 2023
950e762
Tests: Split tests for _inject_theme_attribute_in_template_part_block
gziolo Sep 14, 2023
4ba29eb
Taxonomy: Introduce 'cache_results' parameter to WP_Term_Query for by…
spacedmonkey Sep 14, 2023
e005108
Coding Standards: Restore more descriptive variable names in a few cl…
SergeyBiryukov Sep 14, 2023
7b90f22
General: Add `block_hooks` field to block type registration, REST API.
ockham Sep 14, 2023
da28362
Tests: Improve the assertions for REST API endpoint for block types
gziolo Sep 14, 2023
bd8ff4a
Administration: Fix undeclared variable.
joedolson Sep 14, 2023
fc0eb73
Changes for https://core.trac.wordpress.org/ticket/58494#comment
MichaelSalp Sep 14, 2023
73d8392
Administration: `additional_classes` is not a function.
joedolson Sep 14, 2023
227fdb8
Media: Fix focus loss when closing Image Rotation menu.
joedolson Sep 14, 2023
fd894bf
Blocks: Remove the `gutenberg` textdomain accidently added to transla…
gziolo Sep 15, 2023
ffc7b50
Coding Standards: Improve organization of the WPCS-based PHPCS ruleset.
SergeyBiryukov Sep 15, 2023
60d2d8a
Coding Standards: Remove the custom property for the `FileName` sniff.
SergeyBiryukov Sep 15, 2023
0c7ddbd
Options, Meta APIs: Optimize get_option by relocating notoptions cach…
spacedmonkey Sep 15, 2023
d9b8fec
Merge branch 'WordPress:trunk' into #58494-http-freq
MichaelSalp Sep 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 9 additions & 5 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- name: Set up PHP
uses: shivammathur/setup-php@d30ad8b1843ace22e6698ab99bbafaa747b6bd0d # v2.24.0
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2.25.4
with:
php-version: '7.4'
coverage: none
Expand All @@ -86,7 +88,7 @@ jobs:
run: echo "date=$(/bin/date -u --date='last Mon' "+%F")" >> $GITHUB_OUTPUT

- name: Cache PHPCS scan cache
uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 # v3.2.6
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
with:
path: |
.cache/phpcs-src.json
Expand Down Expand Up @@ -145,10 +147,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- name: Set up Node.js
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version-file: '.nvmrc'
cache: npm
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/end-to-end-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,12 @@ jobs:
echo "PHP_FPM_GID=$(id -g)" >> $GITHUB_ENV

- name: Checkout repository
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- name: Set up Node.js
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version-file: '.nvmrc'
cache: npm
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/javascript-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- name: Set up Node.js
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version-file: '.nvmrc'
cache: npm
Expand Down
54 changes: 48 additions & 6 deletions .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ env:
# changed if we want to normalize results against a different baseline.
BASE_TAG: '6.1.1'
LOCAL_DIR: build
TARGET_REF: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || '' }}
TARGET_SHA: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}

jobs:
# Runs the performance test suite.
Expand All @@ -65,9 +67,17 @@ jobs:
# - Install MU plugin.
# - Run performance tests (current commit).
# - Print performance tests results.
# - Check out target commit (target branch or previous commit).
# - Install npm dependencies.
# - Build WordPress.
# - Run performance tests (previous/target commit).
# - Print target performance tests results.
# - Reset to original commit.
# - Set the environment to the baseline version.
# - Run baseline performance tests.
# - Print base line performance tests results.
# - Print baseline performance tests results.
# - Compare results with base.
# - Add workflow summary.
# - Set the base sha.
# - Set commit details.
# - Publish performance results.
Expand All @@ -87,10 +97,12 @@ jobs:
echo "PHP_FPM_GID=$(id -g)" >> $GITHUB_ENV

- name: Checkout repository
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- name: Set up Node.js
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version-file: '.nvmrc'
cache: npm
Expand Down Expand Up @@ -152,7 +164,31 @@ jobs:
run: npm run test:performance

- name: Print performance tests results
run: "node ./tests/performance/results.js"
run: node ./tests/performance/results.js

- name: Check out target commit (target branch or previous commit)
run: |
if [[ -z "$TARGET_REF" ]]; then
git fetch -n origin $TARGET_SHA
else
git fetch -n origin $TARGET_REF
fi
git reset --hard $TARGET_SHA

- name: Install npm dependencies
run: npm ci

- name: Build WordPress
run: npm run build

- name: Run target performance tests (base/previous commit)
run: npm run test:performance -- --prefix=before

- name: Print target performance tests results
run: node ./tests/performance/results.js --prefix=before

- name: Reset to original commit
run: git reset --hard $GITHUB_SHA

- name: Set the environment to the baseline version
run: |
Expand All @@ -162,8 +198,14 @@ jobs:
- name: Run baseline performance tests
run: npm run test:performance -- --prefix=base

- name: Print base line performance tests results
run: "node ./tests/performance/results.js --prefix=base"
- name: Print baseline performance tests results
run: node ./tests/performance/results.js --prefix=base

- name: Compare results with base
run: node ./tests/performance/compare-results.js ${{ runner.temp }}/summary.md

- name: Add workflow summary
run: cat ${{ runner.temp }}/summary.md >> $GITHUB_STEP_SUMMARY

- name: Set the base sha
# Only needed when publishing results.
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/php-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- name: Set up PHP
uses: shivammathur/setup-php@d30ad8b1843ace22e6698ab99bbafaa747b6bd0d # v2.24.0
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2.25.4
with:
php-version: '7.4'
coverage: none
Expand All @@ -85,7 +87,7 @@ jobs:
run: echo "date=$(/bin/date -u --date='last Mon' "+%F")" >> $GITHUB_OUTPUT

- name: Cache PHP compatibility scan cache
uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 # v3.2.6
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
with:
path: .cache/phpcompat.json
key: ${{ runner.os }}-date-${{ steps.get-date.outputs.date }}-phpcompat-cache-${{ hashFiles('**/composer.json', 'phpcompat.xml.dist') }}
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/phpunit-tests-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,12 @@ jobs:
echo "PHP_FPM_GID=$(id -g)" >> $GITHUB_ENV

- name: Checkout repository
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- name: Set up Node.js
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version-file: '.nvmrc'
cache: npm
Expand All @@ -101,7 +103,7 @@ jobs:
# dependency versions are installed and cached.
##
- name: Set up PHP
uses: shivammathur/setup-php@d30ad8b1843ace22e6698ab99bbafaa747b6bd0d # v2.24.0
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2.25.4
with:
php-version: '${{ inputs.php }}'
coverage: none
Expand Down Expand Up @@ -165,17 +167,19 @@ jobs:

# __fakegroup__ is excluded to force PHPUnit to ignore the <exclude> settings in phpunit.xml.dist.
- name: Run (Xdebug) tests
if: ${{ inputs.php != '8.3' }}
run: LOCAL_PHP_XDEBUG=true node ./tools/local-env/scripts/docker.js run php ./vendor/bin/phpunit -v --group xdebug --exclude-group __fakegroup__

- name: Ensure version-controlled files are not modified or deleted
run: git diff --exit-code

- name: Checkout the WordPress Test Reporter
if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/trunk' && inputs.report }}
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
repository: 'WordPress/phpunit-test-runner'
path: 'test-runner'
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- name: Submit test results to the WordPress.org host test results
if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/trunk' && inputs.report }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/phpunit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
php: [ '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ]
php: [ '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
db-type: [ 'mysql' ]
db-version: [ '5.7', '8.0' ]
multisite: [ false, true ]
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
php: [ '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ]
php: [ '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
db-type: [ 'mariadb' ]
db-version: [ '10.4', '10.6', '10.11', '11.0' ]
multisite: [ false, true ]
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/slack-notifications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ jobs:

steps:
- name: Post failure notifications to Slack
uses: slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844 # v1.23.0
uses: slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117 # v1.24.0
with:
payload: ${{ needs.prepare.outputs.payload }}
env:
Expand All @@ -177,7 +177,7 @@ jobs:

steps:
- name: Post failure notifications to Slack
uses: slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844 # v1.23.0
uses: slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117 # v1.24.0
with:
payload: ${{ needs.prepare.outputs.payload }}
env:
Expand All @@ -193,7 +193,7 @@ jobs:

steps:
- name: Post success notifications to Slack
uses: slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844 # v1.23.0
uses: slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117 # v1.24.0
with:
payload: ${{ needs.prepare.outputs.payload }}
env:
Expand All @@ -209,7 +209,7 @@ jobs:

steps:
- name: Post cancelled notifications to Slack
uses: slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844 # v1.23.0
uses: slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117 # v1.24.0
with:
payload: ${{ needs.prepare.outputs.payload }}
env:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/test-and-zip-default-themes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,13 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
ref: ${{ github.event_name == 'workflow_dispatch' && inputs.branch || github.ref }}
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- name: Set up Node.js
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version-file: '.nvmrc'
cache: npm
Expand Down Expand Up @@ -133,9 +134,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
ref: ${{ github.event_name == 'workflow_dispatch' && inputs.branch || github.ref }}
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- name: Upload theme ZIP as an artifact
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,12 @@ jobs:
echo "PHP_FPM_GID=$(id -g)" >> $GITHUB_ENV

- name: Checkout repository
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- name: Set up Node.js
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version-file: '.nvmrc'
cache: npm
Expand All @@ -92,7 +94,7 @@ jobs:
# dependency versions are installed and cached.
##
- name: Set up PHP
uses: shivammathur/setup-php@d30ad8b1843ace22e6698ab99bbafaa747b6bd0d # v2.24.0
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2.25.4
with:
php-version: '7.4'
coverage: none
Expand Down Expand Up @@ -151,7 +153,7 @@ jobs:

- name: Upload single site report to Codecov
if: ${{ ! matrix.multisite && github.event_name != 'pull_request' }}
uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
file: wp-code-coverage-single-clover-${{ github.sha }}.xml
flags: single,php
Expand All @@ -166,7 +168,7 @@ jobs:

- name: Upload multisite report to Codecov
if: ${{ matrix.multisite && github.event_name != 'pull_request' }}
uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
file: wp-code-coverage-multisite-clover-${{ github.sha }}.xml
flags: multisite,php
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/test-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- name: Set up Node.js
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version-file: '.nvmrc'
cache: npm
Expand Down Expand Up @@ -134,10 +136,12 @@ jobs:
if: ${{ github.repository == 'WordPress/wordpress-develop' }}
steps:
- name: Checkout repository
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

- name: Set up Node.js
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version-file: '.nvmrc'
cache: npm
Expand Down
Loading