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

[pull] trunk from WordPress:trunk #1971

Open
wants to merge 453 commits into
base: trunk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
453 commits
Select commit Hold shift + click to select a range
e4cdc74
Users: Further adjust the check for `use_ssl` meta in `wp_insert_user…
SergeyBiryukov Oct 14, 2024
5db5278
Bundled Themes: Update Twenty Twenty-Five for 6.7 Beta 3.
peterwilsoncc Oct 14, 2024
b7185ae
Help/About: Update the About page for 6.7.
ryelle Oct 14, 2024
7685041
Media: Account for post ID queries in `update_post_thumbnail_cache()`.
peterwilsoncc Oct 14, 2024
41fd37b
WordPress 6.7 Beta 3.
peterwilsoncc Oct 15, 2024
5486eb8
Post WordPress 6.7 Beta 3 version bump.
peterwilsoncc Oct 15, 2024
bf2aa81
Editor: Bootstrap block binding sources with inline script from server
gziolo Oct 15, 2024
33b6e1a
Block Bindings: Fix panel not appearing in custom post types.
cbravobernal Oct 15, 2024
660d052
Docs: Slightly adjust the description for `$table_prefix` in `wp-conf…
SergeyBiryukov Oct 15, 2024
4edc604
Feeds: Validate enclosures prior to generating tags.
peterwilsoncc Oct 15, 2024
11b435c
Networks and Sites: Relocate defintion of `absint()`.
peterwilsoncc Oct 15, 2024
787e52f
Tests: Correct test class name for `rss_enclosure()` as per the namin…
SergeyBiryukov Oct 16, 2024
333272d
Bundled Themes: Avoid loading translations too early.
peterwilsoncc Oct 17, 2024
a80fbc2
HTML API: Fix typo in error message in html processor.
cbravobernal Oct 17, 2024
27ccc7a
External Libraries: Upgrade PHPMailer to version 6.9.2.
SergeyBiryukov Oct 17, 2024
b5df5f0
Media: Ensure Imagick quality is set correctly.
adamsilverstein Oct 17, 2024
6bb92c1
HTML API: Ensure form closer tokens are reachable.
ockham Oct 17, 2024
0dd8843
Build/Test Tools: Change commands used for the copying `.env.example`…
desrosj Oct 18, 2024
7010601
HTML API: Fix the position update after changing the modifiable text …
gziolo Oct 18, 2024
bd8e650
Build/Test Tools: Add input for PHPUnit test group.
desrosj Oct 18, 2024
b1a639b
Build/Test Tools: Refine `paths` filter for workflows.
desrosj Oct 18, 2024
22c64fd
Editor: Improve performance of WP_Theme_JSON::compute_style_properties
joemcgill Oct 18, 2024
c234538
Build/Test Tools: Refine `paths` filter for workflows part 2.
desrosj Oct 18, 2024
65c0004
Pings/Trackbacks: Validate that the specified charset is available on…
SergeyBiryukov Oct 18, 2024
39bda90
Editor: Cache global styles for blocks.
joemcgill Oct 18, 2024
b1dade3
Upgrade/Install: Return WP_Error when source files cannot be found.
azaozz Oct 18, 2024
de51a44
Docs: Fix typo in a comment in `WP_Rewrite::refresh_rewrite_rules()`.
SergeyBiryukov Oct 19, 2024
281a68f
Editor: Replace `id` attribute with `class` in `WP_Font_Face::get_sty…
SergeyBiryukov Oct 20, 2024
ba47208
Editor: Load all style variation fonts within the editors.
peterwilsoncc Oct 20, 2024
9de0f74
Taxonomy: Remove count argument from `WP_Term_Query` docs.
peterwilsoncc Oct 21, 2024
1508e5b
Theme JSON: remove redundant styles check and relocate $selectors ass…
ramonjd Oct 21, 2024
61d6019
Editor: Update packages for 6.7 RC 1.
getdave Oct 21, 2024
0d9c56e
I18N: Fix script languages path on Multisite.
swissspidy Oct 21, 2024
3be4117
Menus: A11y: Set the parent and order using select fields.
joedolson Oct 21, 2024
815f0c3
Help/About: Update version name in performance string.
peterwilsoncc Oct 21, 2024
309ecbd
Comments: Validate new comments before and after comment data is filt…
SergeyBiryukov Oct 21, 2024
d64c61d
Editor: new package updates for 6.7 RC1.
tellthemachines Oct 22, 2024
c6b30b6
Bundled Themes: Update Twenty Twenty-Five for 6.7 RC 1.
peterwilsoncc Oct 22, 2024
771ef17
Site Health: Add a link to support forums in the message displayed fo…
SergeyBiryukov Oct 22, 2024
c575235
Bundled Themes: Sync a few more Twenty Twenty-Five updates for RC1.
desrosj Oct 22, 2024
8945bb2
WordPress 6.7 RC1.
Oct 22, 2024
fe75399
Post WordPress 6.7 RC1 version bump.
aaronjorbin Oct 22, 2024
5b3f0bc
Post WordPress 6.7 branching version bump.
aaronjorbin Oct 22, 2024
194277a
Build/Test Tools: Run upgrade tests against 6.7-RC1.
desrosj Oct 22, 2024
170611c
Build/Test Tools: Add support for MySQL 8.4 to the Docker environment.
desrosj Oct 22, 2024
6f14235
Build/Test Tools: Revert [59277] to add a proper commit message.
desrosj Oct 22, 2024
2e71cf3
Build/Test Tools: Add MySQL 8.4 support to the Docker environment.
desrosj Oct 23, 2024
b0f8a16
Build/Test Tools: Test against MySQL 8.4 in automated testing.
desrosj Oct 23, 2024
121117e
Build/Test Tools: Split up upgrade test matrix.
desrosj Oct 23, 2024
63b94d9
Build/Test Tools: Test against MySQL 9.0.
desrosj Oct 23, 2024
9ae73d2
Build/Test Tools: Support Docker compose override files.
desrosj Oct 23, 2024
7456ab6
Coding Standards: Replace loose comparison in `wp-includes/ms-functio…
SergeyBiryukov Oct 23, 2024
6573ea6
HTML API: Fix extensibility of `WP_HTML_Processor::next_token()`.
westonruter Oct 23, 2024
c374a1b
Editor: Update Google Fonts API endpoint for WordPress 6.7.
peterwilsoncc Oct 23, 2024
de38e8e
Build/Test Tools: Use the reusable PHPUnit test workflow for coverage.
desrosj Oct 24, 2024
6bdf051
Revisions: Set PHP time limit when generating revision diffs vis Ajax.
SergeyBiryukov Oct 24, 2024
f890a92
Bundled Themes: Provide instructions for updating comment block in TT2.
peterwilsoncc Oct 25, 2024
baf408f
Site Health: Update inline docs following refactor of debug data.
peterwilsoncc Oct 25, 2024
43b64f5
Docs: Adjust comments about `set_time_limit()` per the documentation …
SergeyBiryukov Oct 25, 2024
a4d6fb7
Coding Standards: Correct alignment in `dropdown_cats()`.
SergeyBiryukov Oct 26, 2024
ea88e1f
Tests: Use better domain for HTTP API invalid hostname test.
SergeyBiryukov Oct 27, 2024
0fb4f61
Revisions: Fix typo in navigation help text.
peterwilsoncc Oct 28, 2024
58b5c63
Editor: Update packages for 6.7 RC 2
kevin940726 Oct 28, 2024
6bc26d5
Users: Set correct default value for `$user_login` in `retrieve_passw…
SergeyBiryukov Oct 28, 2024
7078dfb
Bundled Themes: Update Twenty Twenty-Five for 6.7 RC 2.
peterwilsoncc Oct 29, 2024
aa03a4d
Media: Fix uploading of .heic images.
azaozz Oct 29, 2024
1913680
Global styles: preload `/global-styles` endpoint responses
ramonjd Oct 29, 2024
b781748
Media: Fix converting of all HEIC/HEIF images to JPEGs after uploadin…
azaozz Oct 29, 2024
8d58139
Editor: Update packages for 6.7 RC 2
kevin940726 Oct 29, 2024
695476e
Comments: Use a more precise check for disallowed keys on filtered co…
SergeyBiryukov Oct 29, 2024
d1e0c0f
Taxonomy: Remove count references from `WP_Term_Query`.
peterwilsoncc Oct 30, 2024
023af21
Tests/Build tools: Only fail importer tests if plugin is missing.
peterwilsoncc Oct 30, 2024
87dfe95
Docs: Correct DocBlock formatting in `wp-includes/class-wp-theme-json…
SergeyBiryukov Oct 30, 2024
7210479
Help/About: Add images to the About page.
peterwilsoncc Oct 31, 2024
10200ee
Editor: Update packages for 6.7 RC 3
kevin940726 Oct 31, 2024
7773262
Docs: Correct `@param` tag in `untrailingslashit()` to match the para…
SergeyBiryukov Oct 31, 2024
87821bc
Docs: Correct `@param` type in `fix_phpmailer_messageid()`.
SergeyBiryukov Nov 1, 2024
b1b5761
Theme JSON: replace top-level background style objects on merge
ramonjd Nov 1, 2024
0a45a6c
Docs: Add missing `void` to DocBlock `@return` types.
SergeyBiryukov Nov 2, 2024
78602b4
Coding Standards: Explicitly return `false` in magic `__isset()` meth…
SergeyBiryukov Nov 3, 2024
b6430c2
Theme JSON Resolver: remove theme json merge in resolve_theme_file_uris
ramonjd Nov 4, 2024
80a4604
Editor: Update packages for 6.7 RC 3
kevin940726 Nov 4, 2024
16de833
Coding Standards: Use explicit returns in `WP_Site_Health_Auto_Update…
SergeyBiryukov Nov 4, 2024
6996faa
Script Loader: Correct the number of arguments passed to `WP_Styles::…
SergeyBiryukov Nov 4, 2024
d897aad
Bundled Themes: Bump default theme versions for release with 6.7.
peterwilsoncc Nov 4, 2024
25d71f1
Media: Better variable name and some docs fixes for the new `wp_get_i…
azaozz Nov 5, 2024
83a4492
Editor: Update packages for 6.7 RC 3
getdave Nov 5, 2024
4c818a2
Bundled Themes: Update Twenty Twenty-Five for 6.7 RC 3.
desrosj Nov 5, 2024
f68a79e
Build/Test Tools: Update 3rd-party GitHub Actions.
desrosj Nov 5, 2024
d93f295
Build/Test Tools: Run test coverage when PHPunit workflow changes.
desrosj Nov 5, 2024
982832e
Build/Test Tools: Add script for generating code coverage report.
desrosj Nov 5, 2024
da9a28d
Coding Standards: Use `WP_User_Query::get_results()` instead of a pri…
SergeyBiryukov Nov 5, 2024
eab73a7
Media: Fix variable name in `wp_check_filetype_and_ext()`.
azaozz Nov 6, 2024
5ff9717
Performance: reuse block metadata in `WP_Theme_JSON::get_valid_block_…
ramonjd Nov 6, 2024
becc173
Editor: Correct the number of arguments for `WP_HTML_Tag_Processor::g…
SergeyBiryukov Nov 6, 2024
7b94f09
Bundled Themes: Sync some minor fixes for Twenty Twenty-Five.
desrosj Nov 6, 2024
8ad5281
HTML API: Improve private method name used by `WP_HTML_Processor::nex…
westonruter Nov 6, 2024
05d37f0
Media: Only mark an image as requiring conversion if the output forma…
felixarntz Nov 6, 2024
7c7bcc0
Editor: Update packages for 6.7 RC 4
getdave Nov 7, 2024
9503db2
Build/Test Tools: Skip pull request comments for Dependabot.
desrosj Nov 7, 2024
2b99f6d
Coding Standards: Ensure `$current` cookie time is `int` in `wp_user_…
SergeyBiryukov Nov 7, 2024
8f42bad
Help/About: Update the about page images for WordPress 6.7.
peterwilsoncc Nov 8, 2024
ca0435c
Coding Standards: Remove unnecessary `isset()` from `xmlrpc.php`.
SergeyBiryukov Nov 8, 2024
2f099e9
Coding Standards: Ensure cookie expiration value is an integer in `wp…
SergeyBiryukov Nov 9, 2024
8e4b6f7
Docs: Add file header DocBlock for `wp-signup.php`.
SergeyBiryukov Nov 10, 2024
e1f052e
Media: Remove dimension suffix from full size converted HEIC images.
peterwilsoncc Nov 10, 2024
05e274b
Media: Include image update missed in [59379].
peterwilsoncc Nov 10, 2024
2762e5e
Feeds: Avoid fatal error with empty `blog_charset` value.
desrosj Nov 11, 2024
1d4f224
Upgrade/Install: Update the `$_old_files` array for 6.7.
dream-encode Nov 11, 2024
e647b07
Coding Standards: Use `esc_url()` for comment author URL in Edit Comm…
SergeyBiryukov Nov 11, 2024
6f47a2c
Mime Types: support uploading wav files in Firefox
ramonjd Nov 12, 2024
299bb08
Twenty Twenty: Correct the border style of the pull quote block in th…
carolinan Nov 12, 2024
7b3d107
HTML API: Ensure that full processor can seek to earlier bookmarks.
ockham Nov 12, 2024
ed0ad98
HTML API: Expect closer on foreign content `void` lookalike elements.
ockham Nov 12, 2024
44e6c75
Build/Test Tools: Prevent orphaned Docker containers.
desrosj Nov 12, 2024
6936c5b
Build/Test Tools: Run upgrade tests against 6.7.
desrosj Nov 13, 2024
db2f6fe
Interactivity API: Allow missing state negation on server
cbravobernal Nov 13, 2024
1a27422
HTML API: Include doctype in full parser serialize.
ockham Nov 13, 2024
a27e6a8
Coding Standards: Consistently escape URLs in `wp-admin/themes.php`.
SergeyBiryukov Nov 13, 2024
b082308
Build/Test Tools: Avoid starting the database twice.
desrosj Nov 13, 2024
7b29414
Build/Test Tools: Correct upgrade testing workflow name.
desrosj Nov 13, 2024
e9dfa8c
Docs: Correct the spelling of silicon in the local development enviro…
johnbillion Nov 14, 2024
2e5e213
Docs: Add missing commas in a few DocBlocks for various media functions.
SergeyBiryukov Nov 15, 2024
e6a16ac
Coding Standards: Escape attachment URL in `wp-admin/async-upload.php`.
SergeyBiryukov Nov 16, 2024
a731b9b
Tests: Add missing `@covers` tag for `fetch_feed()` tests.
SergeyBiryukov Nov 17, 2024
1664ea5
Customizer: Fix layout issues in customizer accordions.
joedolson Nov 18, 2024
91eb251
HTML API: Fix normalized doctype pub/sys identifier quotes.
cbravobernal Nov 18, 2024
439221c
Editor: Use sentence casing for “Call to action”.
desrosj Nov 18, 2024
0a6666b
Media: Avoid running expensive logic twice using GD.
desrosj Nov 18, 2024
2d5431d
Editor: Fix the JS to select, save, and update categories on the old …
azaozz Nov 18, 2024
61b9859
Media: Avoid images with `sizes=auto` to be displayed downsized in su…
felixarntz Nov 18, 2024
0365bff
Interactivity API: Remove redundant server state from Interactivity R…
michalczaplinski Nov 18, 2024
af003c4
Users: Correct “Add New User” page reference on Network Settings screen.
SergeyBiryukov Nov 18, 2024
dec5c90
Theme JSON: include block style variations in path only output of get…
ramonjd Nov 19, 2024
11e4c7c
Admin Color Scheme: Update the highlight color in the Modern color sc…
youknowriad Nov 19, 2024
6c00c00
HTML API: Use case insensitive tag_name comparison in `::next_tag`.
michalczaplinski Nov 19, 2024
42af8b7
Login: Revert selector change in login heading CSS.
joedolson Nov 19, 2024
7f26841
Toolbar: Allow the Learn WordPress link to be localized.
SergeyBiryukov Nov 19, 2024
e1d1493
Menus: i18n: Fix untranslatable strings in `nav-menu.js`.
joedolson Nov 19, 2024
9b62294
Options, Meta APIs: Ensure duplicate salts are properly flagged.
desrosj Nov 20, 2024
193f6eb
i18n: Account for `load_*_textdomain()` after JIT loading.
desrosj Nov 20, 2024
654475f
I18N: Adjust translator comments in `nav-menu.js`.
SergeyBiryukov Nov 20, 2024
f9418c7
Editor: update npm packages in trunk for 6.7.1.
desrosj Nov 20, 2024
4a03ebe
Build/Test Tools: Correctly check for Dependabot.
desrosj Nov 20, 2024
b2c8d8d
Editor: Avoid unnecessary array_merge in WP_Style_Engine::parse_block…
joemcgill Nov 20, 2024
99dd184
Build/Test Tools: Improve the error message shown when fetching Twemo…
johnbillion Nov 21, 2024
71a52ce
HTML API: Add method to create fragment at node.
ockham Nov 21, 2024
8cd0ec0
Bundled Theme: Pin a `theme.json` schema version to Twenty Twenty-Five.
desrosj Nov 21, 2024
849db39
Editor: Warn about empty templates on the frontend for logged in users.
mikachan Nov 22, 2024
1563d86
HTML API: Prevent fragment creation on close tag.
cbravobernal Nov 22, 2024
5728ebb
Bundled Theme: Pin schema version to rest of Twenty Twenty-Five.
desrosj Nov 22, 2024
bdeb21b
Build/Test Tools: Create reusable workflow for parsing `.version-supp…
desrosj Nov 22, 2024
af1682d
Coding Standards: Explicitly return `null` instead of coercing `void`.
SergeyBiryukov Nov 22, 2024
aa2b4fd
Editor: Fix selecting/deselecting multiple unwanted categories when c…
azaozz Nov 22, 2024
2d9937a
Coding Standards: Replace usage of deprecated `wp_get_duotone_filter_…
SergeyBiryukov Nov 23, 2024
e80aa00
Coding Standards: Remove extra `unset()` in `rest_handle_options_requ…
SergeyBiryukov Nov 24, 2024
27c566f
REST API: Remove trailing slashes when preloading requests and there …
swissspidy Nov 25, 2024
1aa41de
REST API: Terms: Respect taxonomy's default query args.
ockham Nov 25, 2024
75c587f
Coding Standards: Cast `$expired` to an integer in `wp_validate_auth_…
SergeyBiryukov Nov 25, 2024
bd21a8a
I18N: Switch locale to admin locale when sending auto update emails.
swissspidy Nov 26, 2024
c344148
I18N: Load translations just-in-time for custom themes and plugins.
swissspidy Nov 26, 2024
520e61d
Coding Standards: Cast `wp_count_terms()` result to `int` before usin…
SergeyBiryukov Nov 26, 2024
6ed2409
HTML API: Remove unused processor state context_node property
gziolo Nov 27, 2024
9840f03
HTML API: Recognize all uppercase tag names in tag processor.
cbravobernal Nov 27, 2024
b72334e
Coding Standards: Cast `gmdate( 'Z' )` to an integer before addition.
SergeyBiryukov Nov 27, 2024
e904637
I18N: Do not reuse `$theme` variable name after loading a theme's `fu…
swissspidy Nov 27, 2024
4b34369
HTML API: Allow more contexts in `create_fragment`.
ockham Nov 27, 2024
e99d839
HTML API: Make non-body fragment creation methods private.
ockham Nov 28, 2024
8834f57
Twenty-Twenty: Fixes space between post content on front.
karmatosed Nov 28, 2024
ce4627f
Coding Standards: Cast `gmdate( 'w' )` to `int` before using as integer.
SergeyBiryukov Nov 28, 2024
dfcdeaf
Editor: Add description for Banners block pattern category.
SergeyBiryukov Nov 29, 2024
0671dfd
Media: improve filter to enable setting output quality by image size.
adamsilverstein Nov 29, 2024
ad9505b
Docs: Correct DocBlock formatting for `WP_Theme_JSON::FONT_FAMILY_SCH…
SergeyBiryukov Nov 30, 2024
cc5c5b8
Date/Time: Add `d.m.Y` to date format presets on General Settings scr…
SergeyBiryukov Dec 1, 2024
c5a5d9b
Twenty Thirteen & Twenty Sixteen: Correct the border of the latest co…
carolinan Dec 2, 2024
e89e279
Interactivity API: Support length property on strings and arrays on t…
gziolo Dec 2, 2024
6383964
I18N: Load admin translations for auto update emails.
swissspidy Dec 2, 2024
daad863
Plugins: Make more plugin-related functions available early on.
swissspidy Dec 2, 2024
d93b275
Customize: Begin HTML markup before Customizer script hooks.
SergeyBiryukov Dec 2, 2024
8eb8d63
External Libraries: Upgrade PHPMailer to version 6.9.3.
SergeyBiryukov Dec 3, 2024
1d49212
Block Hooks: Fix context in `update_ignored_hooked_blocks_postmeta`.
ockham Dec 4, 2024
d576e24
Build/Test Tools: Add `repository` input to support JSON reading work…
desrosj Dec 4, 2024
ea80ac8
Build/Test Tools: Support older MariaDB versions in local Docker envi…
desrosj Dec 4, 2024
9558c1f
Build/Test Tools: Run install tests when JSON reading workflow is cha…
desrosj Dec 4, 2024
7d3ce7a
Docs: Remove blank line at the end of `wp_prepare_attachment_for_js()…
SergeyBiryukov Dec 4, 2024
b67c76e
Plugins: Load `wp-admin/includes/plugin.php` earlier.
swissspidy Dec 5, 2024
e585c95
Build/Test Tools: Properly escape `$` characters in Docker compose file.
desrosj Dec 5, 2024
5adbb3e
Build/Test Tools: Use newer versions for `include` jobs.
desrosj Dec 5, 2024
2d8d21f
Build/Test Tools: Support `trunk` as a version.
desrosj Dec 5, 2024
29ec312
Build/Test Tools: Introduce workflow for testing the local Docker env…
desrosj Dec 5, 2024
9c7d008
Embeds: ensure correct thumbnail height.
swissspidy Dec 5, 2024
59a6b5e
I18N: Add new `WP_Locale::get_month_genitive()` method.
swissspidy Dec 5, 2024
d45a119
Docs: Add missing `@var` tag for `WP_Query::$query_vars_changed`.
SergeyBiryukov Dec 5, 2024
1b1e35d
Coding Standards: Use correct escaping function for `wp_http_referer`.
SergeyBiryukov Dec 6, 2024
750f743
Coding Standards: Use strict comparison in `media_upload_form_handler…
SergeyBiryukov Dec 7, 2024
faff3a2
Coding Standards: Use strict comparison in `wp-includes/comment-templ…
SergeyBiryukov Dec 8, 2024
a1079b6
Editor: Update docblocks for `wp_get_global_stylesheet` and `WP_Theme…
tellthemachines Dec 9, 2024
0d42819
HTML API: Step past closing HTML, BODY tags
gziolo Dec 9, 2024
6106332
REST API: Correct description for the `humanized_updated` block direc…
SergeyBiryukov Dec 9, 2024
1467750
HTML API: Prevent bookmarks from being set on virtual tokens
gziolo Dec 10, 2024
2b49715
HTML API: Remove nullable from get_breadcrumbs return type
gziolo Dec 10, 2024
32880ec
Twenty Twenty-Two: Fix PHPCS issues in `functions.php`.
SergeyBiryukov Dec 10, 2024
9104190
Docs: Correct formatting for script module data filter documentation …
SergeyBiryukov Dec 11, 2024
e2b0bfd
Filesystem API: Check `PHP_OS_FAMILY` instead of `php_uname()` in Pcl…
SergeyBiryukov Dec 12, 2024
b4969d4
Build/Test Tools: Remove repository specific logic from callable work…
desrosj Dec 13, 2024
ff5850e
Build/Test Tools: Trim down the upgrade testing matrix.
desrosj Dec 13, 2024
28f4e37
Build/Test Tools: Update `devDependencies`.
desrosj Dec 13, 2024
20982b7
Customize: Remove unnecessary `height: 100%` on accordion button.
joedolson Dec 13, 2024
ab51fc3
Editor: Hide 'Skip to Editor' if editor not supported.
joedolson Dec 13, 2024
85937e7
Coding Standards: Use strict comparison in `get_blog_id_from_url()`.
SergeyBiryukov Dec 13, 2024
1cc1af2
Themes: Replace "Active" wording with "Installed" in the theme instal…
audrasjb Dec 13, 2024
b03c9f5
Comments: Avoid reverting comment reply when context menu is open.
joedolson Dec 14, 2024
c3c319e
Formatting: Check the result of `preg_split()` in `convert_smilies()`.
SergeyBiryukov Dec 14, 2024
cdc2f25
Tests: Clean up `convert_smilies()` tests.
SergeyBiryukov Dec 15, 2024
0530261
Site Health: Remove use of deprecated function from `wp_is_https_supp…
felixarntz Dec 16, 2024
b670db9
Build/Test Tools: Update `slackapi/slack-github-action`.
desrosj Dec 16, 2024
716e930
Build/Test Tools: Support manual runs for the test old branch workflow.
desrosj Dec 16, 2024
8eaaf53
Build/Test Tools: Update the Codecov GitHub Action.
desrosj Dec 16, 2024
f6fb194
Editor: Check `get_user_count()` instead of `get_users()` for the loc…
SergeyBiryukov Dec 16, 2024
dab286e
Block Hooks: Enable for post content.
ockham Dec 17, 2024
8b4425a
Build/Test Tools: Add Twenty Twenty-Five to the Performance Tests.
swissspidy Dec 17, 2024
e58bef6
Build/Test Tools: Use correct tag name for the baseline version.
swissspidy Dec 17, 2024
20c0327
Build/Test Tools: Fix version number when downgrading WP in performan…
swissspidy Dec 17, 2024
ffceac5
Build/Test Tools: Use MySQL 8.4 as the default.
desrosj Dec 17, 2024
1458de7
Build/Test Tools: Regularly run the `html-api-html5lib-tests`.
desrosj Dec 17, 2024
f08e51f
Build/Test Tools: Allow more control when testing older branches.
desrosj Dec 17, 2024
8ed4cae
Build/Test Tools: Update Default Theme `devDependencies`.
desrosj Dec 17, 2024
c697356
Build/Test Tools: Document every matrix exclusion.
desrosj Dec 17, 2024
68c4efc
Privacy: Use SHA-256 hashing algorithm for Gravatar.
SergeyBiryukov Dec 17, 2024
2238011
Coding Standards: Fix WPCS issues in `get_avatar_data()`.
SergeyBiryukov Dec 18, 2024
7af0469
Build/Test Tools: Remove an unnecessary call to svn in a debugging step.
johnbillion Dec 18, 2024
a2107c2
External Libraries: Append a string to `react`/`react-dom` versions.
desrosj Dec 18, 2024
9e4b268
External Libraries: Append `.1` to `react`/`react-dom` versions.
peterwilsoncc Dec 19, 2024
17b50d3
Privacy: Replace hardcoded MD5 references in `wp_credits_section_list…
SergeyBiryukov Dec 19, 2024
816ec5d
Docs: Add missing single quote in `WP_User_Query::prepare_query()` Do…
SergeyBiryukov Dec 19, 2024
ef76060
Block Hooks: Apply to synced patterns.
ockham Dec 19, 2024
7381a82
REST API: Protect against fatal error for post types without format s…
peterwilsoncc Dec 19, 2024
b8ecfbf
Help/About: Add additional release squad titles to credits page.
peterwilsoncc Dec 19, 2024
a64ad57
Docs: Update parameter type hints to include `null` for post thumbnai…
SergeyBiryukov Dec 20, 2024
afc8acf
Docs: Docblock improvements in .
audrasjb Dec 21, 2024
17d5e47
Media: Fix margin issues on the Media file upload screen.
audrasjb Dec 21, 2024
08c3dd4
Login and Registration: Adjust login form margins for better consiste…
audrasjb Dec 21, 2024
322b984
Help/About: Reorder release squad titles for some consistency in tran…
SergeyBiryukov Dec 21, 2024
71eaaad
Themes: Fix unwanted horizontal scrolling in theme details screen on …
audrasjb Dec 22, 2024
de76b6e
I18n: Add translator context for various occurrences of "upload".
audrasjb Dec 22, 2024
d030306
Customizer: Allow custom accordion items with obsolete structure.
joedolson Dec 22, 2024
07be244
Coding Standards: Use strict comparison in `wp_handle_comment_submiss…
SergeyBiryukov Dec 22, 2024
a9e2f1c
Coding Standards: Use strict comparison in `wpmu_validate_user_signu…
SergeyBiryukov Dec 23, 2024
9dd87b8
Coding Standards: Fix a comment indentation issue in `script-loader.p…
audrasjb Dec 23, 2024
70ecc6b
Themes: Add an ID to the block theme skip link.
joedolson Dec 23, 2024
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .env → .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ LOCAL_DB_TYPE=mysql
# When using `mysql`, see https://hub.docker.com/_/mysql for valid versions.
# When using `mariadb`, see https://hub.docker.com/_/mariadb for valid versions.
##
LOCAL_DB_VERSION=8.0
LOCAL_DB_VERSION=8.4

# Whether or not to enable multisite.
LOCAL_MULTISITE=false
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ on:
- '.jshintrc'
# This file configures PHPCS. Changes could affect the outcome.
- 'phpcs.xml.dist'
# Changes to workflow files should always verify all workflows are successful.
- '.github/workflows/*.yml'
# Confirm any changes to relevant workflow files.
- '.github/workflows/coding-standards.yml'
- '.github/workflows/reusable-coding-standards-*.yml'
workflow_dispatch:

# Cancels all previous workflow runs for pull requests that have not completed.
Expand Down
104 changes: 36 additions & 68 deletions .github/workflows/install-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@ on:
paths:
- '.github/workflows/install-testing.yml'
- '.version-support-*.json'
- '.github/workflows/reusable-support-json-reader-v1.yml'
pull_request:
# Always test the workflow when changes are suggested.
paths:
- '.github/workflows/install-testing.yml'
- '.version-support-*.json'
- '.github/workflows/install-testing.yml'
- '.github/workflows/reusable-support-json-reader-v1.yml'

schedule:
- cron: '0 0 * * 1'
workflow_dispatch:
Expand All @@ -37,65 +40,21 @@ concurrency:
permissions: {}

jobs:
# Determines the appropriate values for PHP and database versions based on the WordPress version being tested.
#
# Performs the following steps:
# - Checks out the repository.
# - Fetches the versions of PHP to test.
# - Fetches the versions of MySQL to test.
build-matrix:
name: Determine PHP Versions to test
runs-on: ubuntu-latest
timeout-minutes: 5
outputs:
major-wp-version: ${{ steps.major-wp-version.outputs.version }}
php-versions: ${{ steps.php-versions.outputs.versions }}
mysql-versions: ${{ steps.mysql-versions.outputs.versions }}

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

- name: Determine the major WordPress version
id: major-wp-version
run: |
if [ "${{ inputs.wp-version }}" ] && [ "${{ inputs.wp-version }}" != "nightly" ] && [ "${{ inputs.wp-version }}" != "latest" ]; then
echo "version=$(echo "${{ inputs.wp-version }}" | tr '.' '-' | cut -d '-' -f1-2)" >> $GITHUB_OUTPUT
elif [ "${{ inputs.wp-version }}" ]; then
echo "version=$(echo "${{ inputs.wp-version }}")" >> $GITHUB_OUTPUT
else
echo "version=nightly" >> $GITHUB_OUTPUT
fi

# Look up the major version's specific PHP support policy when a version is provided.
# Otherwise, use the current PHP support policy.
- name: Get supported PHP versions
id: php-versions
run: |
if [ "${{ steps.major-wp-version.outputs.version }}" != "latest" ] && [ "${{ steps.major-wp-version.outputs.version }}" != "nightly" ]; then
echo "versions=$(jq -r '.["${{ steps.major-wp-version.outputs.version }}"] | @json' .version-support-php.json)" >> $GITHUB_OUTPUT
else
echo "versions=$(jq -r '.[ (keys[-1]) ] | @json' .version-support-php.json)" >> $GITHUB_OUTPUT
fi

# Look up the major version's specific MySQL support policy when a version is provided.
# Otherwise, use the current MySQL support policy.
- name: Get supported MySQL versions
id: mysql-versions
run: |
if [ "${{ steps.major-wp-version.outputs.version }}" != "latest" ] && [ "${{ steps.major-wp-version.outputs.version }}" != "nightly" ]; then
echo "versions=$(jq -r '.["${{ steps.major-wp-version.outputs.version }}"] | @json' .version-support-mysql.json)" >> $GITHUB_OUTPUT
else
echo "versions=$(jq -r '.[ (keys[-1]) ] | @json' .version-support-mysql.json)" >> $GITHUB_OUTPUT
fi
# Determines the supported values for PHP and database versions based on the WordPress version being tested.
build-test-matrix:
name: Build Test Matrix
uses: WordPress/wordpress-develop/.github/workflows/reusable-support-json-reader-v1.yml@trunk
permissions:
contents: read
secrets: inherit
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
with:
wp-version: ${{ inputs.wp-version }}

# Test the WordPress installation process through WP-CLI.
#
# Performs the following steps:
# - Sets up PHP.
# - Starts the database server.
# - Downloads the specified version of WordPress.
# - Creates a `wp-config.php` file.
# - Installs WordPress.
Expand All @@ -104,25 +63,38 @@ jobs:
permissions:
contents: read
runs-on: ${{ matrix.os }}
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
timeout-minutes: 10
needs: [ build-matrix ]
needs: [ build-test-matrix ]
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
php: ${{ fromJSON( needs.build-matrix.outputs.php-versions ) }}
php: ${{ fromJSON( needs.build-test-matrix.outputs.php-versions ) }}
db-type: [ 'mysql' ]
db-version: ${{ fromJSON( needs.build-matrix.outputs.mysql-versions ) }}
db-version: ${{ fromJSON( needs.build-test-matrix.outputs.mysql-versions ) }}
multisite: [ false, true ]
memcached: [ false ]

# Exclude some PHP and MySQL versions that cannot currently be tested with Docker containers.
exclude:
# There are no local WordPress Docker environment containers for PHP <= 5.3.
- php: '5.2'
- php: '5.3'
# MySQL containers <= 5.5 do not exist or fail to start properly.
- db-version: '5.0'
- db-version: '5.1'
- db-version: '5.5'
# The PHP <= 7.3/MySQL 8.4 jobs currently fail due to mysql_native_password being disabled by default. See https://core.trac.wordpress.org/ticket/61218.
- php: '7.2'
db-version: '8.4'
- php: '7.3'
db-version: '8.4'
# MySQL 9.0+ will not work on PHP 7.2 & 7.3. See https://core.trac.wordpress.org/ticket/61218.
- php: '7.2'
db-version: '9.0'
- php: '7.3'
db-version: '9.0'

services:
database:
Expand All @@ -131,13 +103,13 @@ jobs:
- 3306
options: >-
--health-cmd="mysqladmin ping"
--health-interval=30s
--health-timeout=10s
--health-retries=5
-e MYSQL_ROOT_PASSWORD=root
-e MYSQL_DATABASE=test_db
--health-interval="30s"
--health-timeout="10s"
--health-retries="5"
-e MYSQL_ROOT_PASSWORD="root"
-e MYSQL_DATABASE="test_db"
--entrypoint sh ${{ matrix.db-type }}:${{ matrix.db-version }}
-c "exec docker-entrypoint.sh mysqld${{ matrix.db-version != '5.5' && ' --default-authentication-plugin=mysql_native_password"' || '' }}
-c "exec docker-entrypoint.sh mysqld${{ matrix.db-type == 'mysql' && contains( fromJSON('["7.2", "7.3"]'), matrix.php ) && ' --default-authentication-plugin=mysql_native_password' || '' }}"

steps:
- name: Set up PHP ${{ matrix.php }}
Expand All @@ -147,10 +119,6 @@ jobs:
coverage: none
tools: wp-cli${{ contains( fromJSON('["5.4", "5.5"]'), matrix.php ) && ':2.4.0' || '' }}

- name: Start the database server
run: |
sudo systemctl start ${{ matrix.db-type }}

- name: Download WordPress
run: wp core download ${{ inputs.wp-version && format( '--version={0}', inputs.wp-version ) || '--version=nightly' }}

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/javascript-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ on:
- '.jshintrc'
# Any change to the QUnit directory should run tests.
- 'tests/qunit/**'
# Changes to workflow files should always verify all workflows are successful.
- '.github/workflows/*.yml'
# Confirm any changes to relevant workflow files.
- '.github/workflows/javascript-tests.yml'
- '.github/workflows/reusable-javascript-tests.yml'
workflow_dispatch:

# Cancels all previous workflow runs for pull requests that have not completed.
Expand Down
154 changes: 154 additions & 0 deletions .github/workflows/local-docker-environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
name: Local Docker Environment

on:
push:
branches:
- trunk
- '6.[8-9]'
- '[7-9].[0-9]'
paths:
# Any changes to Docker related files.
- '.env.example'
- 'docker-compose.yml'
# Any changes to local environment related files
- 'tools/local-env/**'
# These files manage packages used by the local environment.
- 'package*.json'
# These files configure Composer. Changes could affect the local environment.
- 'composer.*'
# These files define the versions to test.
- '.version-support-*.json'
# Changes to this and related workflow files should always be verified.
- '.github/workflows/local-docker-environment.yml'
- '.github/workflows/reusable-support-json-reader-v1.yml'
- '.github/workflows/reusable-test-docker-environment-v1.yml'
pull_request:
branches:
- trunk
- '6.[8-9]'
- '[7-9].[0-9]'
paths:
# Any changes to Docker related files.
- '.env.example'
- 'docker-compose.yml'
# Any changes to local environment related files
- 'tools/local-env/**'
# These files manage packages used by the local environment.
- 'package*.json'
# These files configure Composer. Changes could affect the local environment.
- 'composer.*'
# These files define the versions to test.
- '.version-support-*.json'
# Changes to this and related workflow files should always be verified.
- '.github/workflows/local-docker-environment.yml'
- '.github/workflows/reusable-support-json-reader-v1.yml'
- '.github/workflows/reusable-test-docker-environment-v1.yml'
workflow_dispatch:

# Cancels all previous workflow runs for pull requests that have not completed.
concurrency:
# The concurrency group contains the workflow name and the branch name for pull requests
# or the commit hash for any other events.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true

# Disable permissions for all available scopes by default.
# Any needed permissions should be configured at the job level.
permissions: {}

jobs:
#
# Determines the appropriate supported values for PHP and database versions based on the WordPress
# version being tested.
#
build-test-matrix:
name: Build Test Matrix
uses: WordPress/wordpress-develop/.github/workflows/reusable-support-json-reader-v1.yml@trunk
permissions:
contents: read
secrets: inherit
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
with:
wp-version: ${{ github.event_name == 'pull_request' && github.base_ref || github.ref_name }}

# Tests the local Docker environment.
environment-tests-mysql:
name: PHP ${{ matrix.php }}
uses: WordPress/wordpress-develop/.github/workflows/reusable-test-local-docker-environment-v1.yml@trunk
permissions:
contents: read
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
needs: [ build-test-matrix ]
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
memcached: [ false, true ]
php: ${{ fromJSON( needs.build-test-matrix.outputs.php-versions ) }}
db-version: ${{ fromJSON( needs.build-test-matrix.outputs.mysql-versions ) }}

exclude:
# MySQL containers <= 5.5 do not exist or fail to start properly.
- db-version: '5.5'
# MySQL 9.0+ will not work on PHP 7.2 & 7.3. See https://core.trac.wordpress.org/ticket/61218.
- php: '7.2'
db-version: '9.0'
- php: '7.3'
db-version: '9.0'

with:
os: ${{ matrix.os }}
php: ${{ matrix.php }}
db-type: 'mysql'
db-version: ${{ matrix.db-version }}
memcached: ${{ matrix.memcached }}
tests-domain: ${{ matrix.tests-domain }}

slack-notifications:
name: Slack Notifications
uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
permissions:
actions: read
contents: read
needs: [ build-test-matrix, environment-tests-mysql ]
if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
with:
calling_status: ${{ contains( needs.*.result, 'cancelled' ) && 'cancelled' || contains( needs.*.result, 'failure' ) && 'failure' || 'success' }}
secrets:
SLACK_GHA_SUCCESS_WEBHOOK: ${{ secrets.SLACK_GHA_SUCCESS_WEBHOOK }}
SLACK_GHA_CANCELLED_WEBHOOK: ${{ secrets.SLACK_GHA_CANCELLED_WEBHOOK }}
SLACK_GHA_FIXED_WEBHOOK: ${{ secrets.SLACK_GHA_FIXED_WEBHOOK }}
SLACK_GHA_FAILURE_WEBHOOK: ${{ secrets.SLACK_GHA_FAILURE_WEBHOOK }}

failed-workflow:
name: Failed workflow tasks
runs-on: ubuntu-latest
permissions:
actions: write
needs: [ build-test-matrix, environment-tests-mysql, slack-notifications ]
if: |
always() &&
github.repository == 'WordPress/wordpress-develop' &&
github.event_name != 'pull_request' &&
github.run_attempt < 2 &&
(
contains( needs.*.result, 'cancelled' ) ||
contains( needs.*.result, 'failure' )
)

steps:
- name: Dispatch workflow run
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
retries: 2
retry-exempt-status-codes: 418
script: |
github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'failed-workflow.yml',
ref: 'trunk',
inputs: {
run_id: '${{ github.run_id }}'
}
});
4 changes: 3 additions & 1 deletion .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,15 @@ jobs:
uses: WordPress/wordpress-develop/.github/workflows/reusable-performance.yml@trunk
permissions:
contents: read
if: ${{ ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) && ! contains( github.event.before, '00000000' ) }}
if: ${{ ( github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' ) }}
strategy:
fail-fast: false
matrix:
memcached: [ true, false ]
with:
memcached: ${{ matrix.memcached }}
secrets:
CODEVITALS_PROJECT_TOKEN: ${{ secrets.CODEVITALS_PROJECT_TOKEN }}

slack-notifications:
name: Slack Notifications
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/php-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ on:
- 'composer.*'
# This file configures PHP compatibility scanning. Changes could affect the outcome.
- 'phpcompat.xml.dist'
# Changes to workflow files should always verify all workflows are successful.
- '.github/workflows/*.yml'
# Confirm any changes to relevant workflow files.
- '.github/workflows/php-compatibility.yml'
- '.github/workflows/reusable-php-compatibility.yml'
workflow_dispatch:

# Cancels all previous workflow runs for pull requests that have not completed.
Expand Down
Loading
Loading