50917 Commits

Author SHA1 Message Date
Jb Audras
2af76ed75d General: Remove noopener from links opening in a new tab in wp_list_bookmarks().
Some checks are pending
Performance Tests / Compare (push) Blocked by required conditions
Performance Tests / Slack Notifications (push) Blocked by required conditions
Performance Tests / Failed workflow tasks (push) Blocked by required conditions
PHP Compatibility / Check PHP compatibility (push) Waiting to run
PHP Compatibility / Slack Notifications (push) Blocked by required conditions
PHP Compatibility / Failed workflow tasks (push) Blocked by required conditions
PHPUnit Tests / PHP 7.2 (push) Waiting to run
PHPUnit Tests / PHP 7.3 (push) Waiting to run
PHPUnit Tests / PHP 7.4 (push) Waiting to run
PHPUnit Tests / PHP 8.0 (push) Waiting to run
PHPUnit Tests / PHP 8.1 (push) Waiting to run
PHPUnit Tests / PHP 8.2 (push) Waiting to run
PHPUnit Tests / PHP 8.3 (push) Waiting to run
PHPUnit Tests / PHP 8.4 (push) Waiting to run
PHPUnit Tests / html-api-html5lib-tests (push) Waiting to run
PHPUnit Tests / Slack Notifications (push) Blocked by required conditions
PHPUnit Tests / Failed workflow tasks (push) Blocked by required conditions
Test Build Processes / Core running from build (push) Waiting to run
Test Build Processes / Core running from src (push) Waiting to run
Test Build Processes / Gutenberg running from build (push) Waiting to run
Test Build Processes / Gutenberg running from src (push) Waiting to run
Test Build Processes / Slack Notifications (push) Blocked by required conditions
Test Build Processes / Failed workflow tasks (push) Blocked by required conditions
Upgrade Develop Version Tests / Build (push) Waiting to run
Upgrade Develop Version Tests / Upgrade from 4.9 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.5 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.6 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.7 (push) Blocked by required conditions
Upgrade Develop Version Tests / Slack Notifications (push) Blocked by required conditions
Upgrade Develop Version Tests / Failed workflow tasks (push) Blocked by required conditions
This changeset removes the automatic addition of `rel="noopener"` from links targeting a new tab via `target="_blank"` in the `wp_list_bookmarks()` function. Since this was introduced, supported browsers have changed their security policies and no longer allow the opened link to have JavaScript access to the previous tab. This also removes the unit test cases previously located in `wpListBookmarks.php` as they were dedicated to test the presence of `rel="noopener"`.

Follow-up to [52061], [59120].

Props audrasjb, rvouill, marineevain, jeremy80.
Fixes #63096.



git-svn-id: https://develop.svn.wordpress.org/trunk@60058 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-19 23:13:46 +00:00
Sergey Biryukov
44465fda84 Build/Test Tools: Revert [60056] pending test failure investigation.
See #49953.

git-svn-id: https://develop.svn.wordpress.org/trunk@60057 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-19 23:01:00 +00:00
Sergey Biryukov
9a2cf6a697 Build/Test Tools: Enable starting Xdebug with the PHP request in local environment.
This aims to facilitate setting up Xdebug locally without editing the `tools/local-env/php-config.ini` file, which is not ignored by Git by default.

Note that this does not enable Xdebug by default, since both `LOCAL_PHP_XDEBUG=true` and `LOCAL_PHP_XDEBUG_MODE=debug` are additionally required for Xdebug to work.

Props SirLouen, jules-colle, johnbillion, pento.
Fixes #49953.

git-svn-id: https://develop.svn.wordpress.org/trunk@60056 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-19 22:08:11 +00:00
Joe Dolson
dce8fe474d Themes: A11y: Merge omitted changes to support focus-visible.
Merge PHP changes to ensure that `focus` doesn't match `focus-visible` in `WP_Theme_JSON`, overlooked in previous merge. Follow up to [59854].

Props huubl, joemcgill, joedolson.
Fixes #62906.

git-svn-id: https://develop.svn.wordpress.org/trunk@60055 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-19 18:44:41 +00:00
Adam Silverstein
bd6741447b Customizer: fix logo cropping.
Some checks failed
Upgrade Tests / 5.9 to latest (push) Has been cancelled
Upgrade Tests / 4.1 to latest (push) Has been cancelled
Upgrade Tests / 4.2 to latest (push) Has been cancelled
Upgrade Tests / 4.3 to latest (push) Has been cancelled
Upgrade Tests / 4.4 to latest (push) Has been cancelled
Upgrade Tests / 4.5 to latest (push) Has been cancelled
Upgrade Tests / 4.6 to latest (push) Has been cancelled
Upgrade Tests / 4.7 to latest (push) Has been cancelled
Test Default Themes & Create ZIPs / Create twentyeleven ZIP file (push) Has been cancelled
Test Default Themes & Create ZIPs / Create twentyfifteen ZIP file (push) Has been cancelled
Test Default Themes & Create ZIPs / Create twentyfourteen ZIP file (push) Has been cancelled
Test Default Themes & Create ZIPs / Create twentynineteen ZIP file (push) Has been cancelled
Test Default Themes & Create ZIPs / Create twentyseventeen ZIP file (push) Has been cancelled
Test Default Themes & Create ZIPs / Create twentysixteen ZIP file (push) Has been cancelled
Test Default Themes & Create ZIPs / Create twentyten ZIP file (push) Has been cancelled
Test Default Themes & Create ZIPs / Create twentythirteen ZIP file (push) Has been cancelled
Test Default Themes & Create ZIPs / Create twentytwelve ZIP file (push) Has been cancelled
Test Default Themes & Create ZIPs / Create twentytwenty ZIP file (push) Has been cancelled
Test Default Themes & Create ZIPs / Create twentytwentyfive ZIP file (push) Has been cancelled
Test Default Themes & Create ZIPs / Create twentytwentyfour ZIP file (push) Has been cancelled
Test Default Themes & Create ZIPs / Create twentytwentyone ZIP file (push) Has been cancelled
Test Default Themes & Create ZIPs / Create twentytwentythree ZIP file (push) Has been cancelled
Test Default Themes & Create ZIPs / Create twentytwentytwo ZIP file (push) Has been cancelled
Test Default Themes & Create ZIPs / Slack Notifications (push) Has been cancelled
Test Default Themes & Create ZIPs / Failed workflow tasks (push) Has been cancelled
Code Coverage Report / Slack Notifications (push) Has been cancelled
Code Coverage Report / Failed workflow tasks (push) Has been cancelled
Test old branches / Slack Notifications (push) Has been cancelled
Upgrade Tests / Slack Notifications (push) Has been cancelled
Upgrade Tests / Failed workflow tasks (push) Has been cancelled
Address a failure in the customizer site logo cropping after r60031. Check to ensure library exists before the call to findWhere.

Follow up to r60031.

Props: domainsupport, joemcgill, joedolson, kawsar007, addweb-solution-pvt-ltd, mukesh27.

Fixes #63121.




git-svn-id: https://develop.svn.wordpress.org/trunk@60054 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-19 16:25:55 +00:00
Jonathan Desrosiers
86d064a72c Build/Test Tools: Increase timeout value for Slack message jobs.
Because of how dependent jobs and queuing works in GitHub Actions, it’s common for workflows to be completed with the exception of sending Slack notifications.

“The waiting is the hardest part”, and occasionally these jobs hit the `10` minute timeout value before their turn comes up.

See #62221.

git-svn-id: https://develop.svn.wordpress.org/trunk@60053 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-19 13:17:06 +00:00
Jonathan Desrosiers
43a3e84d18 Build/Test Tools: Use ‘pull_request.head.ref` when checking built files.
Because `pull_request_target` happens in the context of the base branch, attempting to checkout `github.head_ref` results in a failure when the workflow comes from a fork.

This adjusts the options passed to `actions/checkout` to use the repository that actually contains the test branch.

See #62221.

git-svn-id: https://develop.svn.wordpress.org/trunk@60052 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-19 12:30:39 +00:00
Jonathan Desrosiers
741464ae76 Build/Test Tools: Update 3rd party actions.
This updates the following 3rd party actions:

- `actions/setup-node` from `4.2.0` to `4.3.0`
- `actions/upload-artifact` from `4.6.0` to `4.6.1`
- `ramsey/composer-install` from `3.0.0` to `3.1.0`
- `actions/cache` from `4.2.0` to `4.2.2`
- `actions/download-artifact` from `4.1.8` to `4.1.9`
- `codecov/codecov-action` from `5.3.1` to `5.4.0`

See #62221.

git-svn-id: https://develop.svn.wordpress.org/trunk@60051 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-19 12:23:42 +00:00
Jonathan Desrosiers
a728957ae2 Build/Test Tools: Pin full commit SHA for rhysd/actionlint.
This is a recommended best practice for hardening workflows that are utilizing 3rd party actions.

Follow up to [59679].

Props johnbillion.
See #62221.

git-svn-id: https://develop.svn.wordpress.org/trunk@60050 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-19 12:16:28 +00:00
Aaron Jorbin
a18719e7ea Coding Standards: Fix alignment in wp_check_filetype_and_ext.
Some checks are pending
Performance Tests / Compare (push) Blocked by required conditions
Performance Tests / Slack Notifications (push) Blocked by required conditions
Performance Tests / Failed workflow tasks (push) Blocked by required conditions
PHP Compatibility / Check PHP compatibility (push) Waiting to run
PHP Compatibility / Slack Notifications (push) Blocked by required conditions
PHP Compatibility / Failed workflow tasks (push) Blocked by required conditions
PHPUnit Tests / PHP 7.2 (push) Waiting to run
PHPUnit Tests / PHP 7.3 (push) Waiting to run
PHPUnit Tests / PHP 7.4 (push) Waiting to run
PHPUnit Tests / PHP 8.0 (push) Waiting to run
PHPUnit Tests / PHP 8.1 (push) Waiting to run
PHPUnit Tests / PHP 8.2 (push) Waiting to run
PHPUnit Tests / PHP 8.3 (push) Waiting to run
PHPUnit Tests / PHP 8.4 (push) Waiting to run
PHPUnit Tests / html-api-html5lib-tests (push) Waiting to run
PHPUnit Tests / Slack Notifications (push) Blocked by required conditions
PHPUnit Tests / Failed workflow tasks (push) Blocked by required conditions
Test Build Processes / Core running from build (push) Waiting to run
Test Build Processes / Core running from src (push) Waiting to run
Test Build Processes / Gutenberg running from build (push) Waiting to run
Test Build Processes / Gutenberg running from src (push) Waiting to run
Test Build Processes / Slack Notifications (push) Blocked by required conditions
Test Build Processes / Failed workflow tasks (push) Blocked by required conditions
Upgrade Develop Version Tests / Build (push) Waiting to run
Upgrade Develop Version Tests / Upgrade from 4.9 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.5 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.6 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.7 (push) Blocked by required conditions
Upgrade Develop Version Tests / Slack Notifications (push) Blocked by required conditions
Upgrade Develop Version Tests / Failed workflow tasks (push) Blocked by required conditions
Follow-up to [59315].

See #62272, #62279.


git-svn-id: https://develop.svn.wordpress.org/trunk@60049 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-18 23:39:20 +00:00
Aaron Jorbin
d44e1c2ce2 Coding Standards: Fix alignment in WP_Query::parse_tax_query.
Follow-up to [59766].

See #59516, #62279.


git-svn-id: https://develop.svn.wordpress.org/trunk@60048 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-18 23:32:56 +00:00
Aaron Jorbin
1aa6da693a Coding Standards: Fix alignment in WP_Image_Editor_Imagick::thumbnail_image.
Follow-up to [59589].

See #36477, #62279.


git-svn-id: https://develop.svn.wordpress.org/trunk@60047 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-18 23:23:23 +00:00
Aaron Jorbin
7047a91c0e Coding Standards: Fix alignment in locate_block_template.
Follow-up to [59449].

See #62053, #62279.


git-svn-id: https://develop.svn.wordpress.org/trunk@60046 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-18 22:06:21 +00:00
Sergey Biryukov
392867ae07 Coding Standards: Remove leading and trailing spaces in URLs on the Menus screen.
Follow-up to [42343].

Props kkmuffme.
Fixes #62978.

git-svn-id: https://develop.svn.wordpress.org/trunk@60045 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-18 21:46:43 +00:00
Aaron Jorbin
7607cbc5d1 Coding Standards: Fix alignment in WP_REST_Widgets_Controller::prepare_item_for_response.
Follow-up to [59899].

See #56481, 62279.


git-svn-id: https://develop.svn.wordpress.org/trunk@60044 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-18 20:37:10 +00:00
Aaron Jorbin
a96fa164b0 Coding Standards: Correct alignment in parameters passed to wp_editor.
Follow-up to [59188].

See #29838, #62279.


git-svn-id: https://develop.svn.wordpress.org/trunk@60043 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-18 20:07:59 +00:00
Jb Audras
d03e05c078 Post WordPress 6.8 Beta 3 version bump.
Some checks failed
Test Default Themes & Create ZIPs / Create twentyseventeen ZIP file (push) Blocked by required conditions
Test Default Themes & Create ZIPs / Create twentysixteen ZIP file (push) Blocked by required conditions
Test Default Themes & Create ZIPs / Create twentyten ZIP file (push) Blocked by required conditions
Test Default Themes & Create ZIPs / Create twentythirteen ZIP file (push) Blocked by required conditions
Test Default Themes & Create ZIPs / Create twentytwelve ZIP file (push) Blocked by required conditions
Test Default Themes & Create ZIPs / Create twentytwenty ZIP file (push) Blocked by required conditions
Test Default Themes & Create ZIPs / Create twentytwentyfive ZIP file (push) Blocked by required conditions
Test Default Themes & Create ZIPs / Create twentytwentyfour ZIP file (push) Blocked by required conditions
Test Default Themes & Create ZIPs / Create twentytwentyone ZIP file (push) Blocked by required conditions
Test Default Themes & Create ZIPs / Create twentytwentythree ZIP file (push) Blocked by required conditions
Test Default Themes & Create ZIPs / Create twentytwentytwo ZIP file (push) Blocked by required conditions
Test Default Themes & Create ZIPs / Slack Notifications (push) Blocked by required conditions
Test Default Themes & Create ZIPs / Failed workflow tasks (push) Blocked by required conditions
Test Build Processes / Core running from build (push) Waiting to run
Test Build Processes / Core running from src (push) Waiting to run
Test Build Processes / Gutenberg running from build (push) Waiting to run
Test Build Processes / Gutenberg running from src (push) Waiting to run
Test Build Processes / Slack Notifications (push) Blocked by required conditions
Test Build Processes / Failed workflow tasks (push) Blocked by required conditions
Upgrade Develop Version Tests / Build (push) Waiting to run
Upgrade Develop Version Tests / Upgrade from 4.9 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.5 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.6 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.7 (push) Blocked by required conditions
Upgrade Develop Version Tests / Slack Notifications (push) Blocked by required conditions
Upgrade Develop Version Tests / Failed workflow tasks (push) Blocked by required conditions
Local Docker Environment / Build Test Matrix (push) Has been cancelled
Local Docker Environment / PHP ${{ matrix.php }} (push) Has been cancelled
Local Docker Environment / Slack Notifications (push) Has been cancelled
Local Docker Environment / Failed workflow tasks (push) Has been cancelled
git-svn-id: https://develop.svn.wordpress.org/trunk@60042 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-18 15:27:48 +00:00
Jb Audras
8a050ea8d7 WordPress 6.8 Beta 3.
git-svn-id: https://develop.svn.wordpress.org/trunk@60041 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-18 15:09:03 +00:00
Joe Dolson
19c08e3bd9 Bundled Themes: A11y: Dismiss submenus with esc in Twenty Twenty.
Allow submenus in Twenty Twenty to be dismissed using the `esc` key to meet WCAG 1.4.13. Set focus to previous submenu parent on `esc`, and ensure that after escaping the last submenu, tab moves to the next parent item, not back into the submenu.

Props lcarevic, rcreators, pratiklondhe, poena, karmatosed, chaion07, audrasjb, mehdi01, mohonchandra, najmulsaju, saurabhdhariwal, ugyensupport, shailu25.
Fixes #49950.

git-svn-id: https://develop.svn.wordpress.org/trunk@60040 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-18 14:39:38 +00:00
Jb Audras
10e18b614b Customize: Improve alignment of theme wrapper.
This changeset updates the class used for the theme wrapper in the customizer, which fixes an alignment issue occuring when searching a theme on WordPress.org from the customizer interface.

Props kharisblank, ankitkumarshah, benazeer, sainathpoojary, mukesh27, kharisblank, parthvataliya, im3dabasia1, sukhendu2002, praful2111, ruchirj, imranhasanraaz, shailu25.
Fixes #62637.



git-svn-id: https://develop.svn.wordpress.org/trunk@60039 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-18 13:13:13 +00:00
Joe McGill
8b632c94a5 Editor: Fix layout support classes to be generated with a stable ID.
This fixes a bug reported in https://github.com/WordPress/gutenberg/issues/67308 related to the Interactivity API's client-side navigation feature by replacing the incrementally generated IDs with stable hashes derived from the block's layout style definition.

Fixes #62985.
Props darerodz.


git-svn-id: https://develop.svn.wordpress.org/trunk@60038 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-18 12:41:31 +00:00
Joe McGill
79fd25fa56 Themes: Improve error notice when wp_is_block_theme() is called too early.
This is a follow-up to [59968] which improves error handling for when `wp_is_block_theme()` is called too early. Initially, `_doing_it_wrong()` was called in `WP_Theme::is_block_theme()` was called prior to themes being set up, in order to avoid the bug reported in #63062, where doing so would cause parent themes to not be resolved. After further investigation, the issue is only caused by calling `wp_is_block_theme()` before the root theme directory has been registered (e.g., when called on the `muplugins_loaded` hook).

Moving This error message to `wp_is_block_theme()` when `$GLOBALS['wp_theme_directories']` is empty avoids unnecessary error messages.

Props wildworks, sukhendu2002, SirLouen, dinhtungdu, narenin, joemcgill, peterwilsoncc, afragen.
Fixes #63086. See #63062.


git-svn-id: https://develop.svn.wordpress.org/trunk@60037 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-18 12:28:17 +00:00
Joe McGill
056221298c Editor: Update packages for 6.8 Beta 3.
Syncs @wordpress/* packages to the 'wp-6.8' npm tag.

Props mamaduka.
See #62887.


git-svn-id: https://develop.svn.wordpress.org/trunk@60036 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-18 11:59:53 +00:00
Peter Wilson
76a2ed752c Emoji: Update the Twemoji library to 15.1.0.
Some checks are pending
Performance Tests / Compare (push) Blocked by required conditions
Performance Tests / Slack Notifications (push) Blocked by required conditions
Performance Tests / Failed workflow tasks (push) Blocked by required conditions
PHP Compatibility / Check PHP compatibility (push) Waiting to run
PHP Compatibility / Slack Notifications (push) Blocked by required conditions
PHP Compatibility / Failed workflow tasks (push) Blocked by required conditions
PHPUnit Tests / PHP 7.2 (push) Waiting to run
PHPUnit Tests / PHP 7.3 (push) Waiting to run
PHPUnit Tests / PHP 7.4 (push) Waiting to run
PHPUnit Tests / PHP 8.0 (push) Waiting to run
PHPUnit Tests / PHP 8.1 (push) Waiting to run
PHPUnit Tests / PHP 8.2 (push) Waiting to run
PHPUnit Tests / PHP 8.3 (push) Waiting to run
PHPUnit Tests / PHP 8.4 (push) Waiting to run
PHPUnit Tests / html-api-html5lib-tests (push) Waiting to run
PHPUnit Tests / Slack Notifications (push) Blocked by required conditions
PHPUnit Tests / Failed workflow tasks (push) Blocked by required conditions
Test Build Processes / Core running from build (push) Waiting to run
Test Build Processes / Core running from src (push) Waiting to run
Test Build Processes / Gutenberg running from build (push) Waiting to run
Test Build Processes / Gutenberg running from src (push) Waiting to run
Test Build Processes / Slack Notifications (push) Blocked by required conditions
Test Build Processes / Failed workflow tasks (push) Blocked by required conditions
Upgrade Develop Version Tests / Build (push) Waiting to run
Upgrade Develop Version Tests / Upgrade from 4.9 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.5 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.6 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.7 (push) Blocked by required conditions
Upgrade Develop Version Tests / Slack Notifications (push) Blocked by required conditions
Upgrade Develop Version Tests / Failed workflow tasks (push) Blocked by required conditions
This version adds support for the latest emoji added in Unicode Emoji 15.1.

I will rise like a phoenix 🐦🔥 but you’re my flame 🔥.
 
Props audrasjb, azaozz, hbhalodia, jorbin, sergeybiryukov, sirlouen.
Fixes #63064.



git-svn-id: https://develop.svn.wordpress.org/trunk@60035 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-18 02:59:09 +00:00
Sergey Biryukov
71732ba84e Coding Standards: Remove extra slashes when concatenating ABSPATH with a path.
Some checks are pending
Performance Tests / Compare (push) Blocked by required conditions
Performance Tests / Slack Notifications (push) Blocked by required conditions
Performance Tests / Failed workflow tasks (push) Blocked by required conditions
PHP Compatibility / Check PHP compatibility (push) Waiting to run
PHP Compatibility / Slack Notifications (push) Blocked by required conditions
PHP Compatibility / Failed workflow tasks (push) Blocked by required conditions
PHPUnit Tests / PHP 7.2 (push) Waiting to run
PHPUnit Tests / PHP 7.3 (push) Waiting to run
PHPUnit Tests / PHP 7.4 (push) Waiting to run
PHPUnit Tests / PHP 8.0 (push) Waiting to run
PHPUnit Tests / PHP 8.1 (push) Waiting to run
PHPUnit Tests / PHP 8.2 (push) Waiting to run
PHPUnit Tests / PHP 8.3 (push) Waiting to run
PHPUnit Tests / PHP 8.4 (push) Waiting to run
PHPUnit Tests / html-api-html5lib-tests (push) Waiting to run
PHPUnit Tests / Slack Notifications (push) Blocked by required conditions
PHPUnit Tests / Failed workflow tasks (push) Blocked by required conditions
Test Build Processes / Core running from build (push) Waiting to run
Test Build Processes / Core running from src (push) Waiting to run
Test Build Processes / Gutenberg running from build (push) Waiting to run
Test Build Processes / Gutenberg running from src (push) Waiting to run
Test Build Processes / Slack Notifications (push) Blocked by required conditions
Test Build Processes / Failed workflow tasks (push) Blocked by required conditions
Upgrade Develop Version Tests / Build (push) Waiting to run
Upgrade Develop Version Tests / Upgrade from 4.9 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.5 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.6 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.7 (push) Blocked by required conditions
Upgrade Develop Version Tests / Slack Notifications (push) Blocked by required conditions
Upgrade Develop Version Tests / Failed workflow tasks (push) Blocked by required conditions
Since `ABSPATH` is defined and documented to end with a forward slash `/`, this changeset removes the first `/` from strings appended to `ABSPATH` in various files, leading to `//` in the resulting path.

Follow-up to [54872], [55720], [57545].

Props dhruvik18, SergeyBiryukov.
Fixes #63102.

git-svn-id: https://develop.svn.wordpress.org/trunk@60034 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-17 22:38:45 +00:00
Joe McGill
65f5e158ad Editor: Change hook for 'wp_set_editor_default_mode'.
This is a follow up to [59968], which moves the `wp_set_editor_default_mode()` callback to `init` to make sure the subsequent call to `create_initial_post_types()` doesn't overwrite the post type support settings.

Props mamaduka, psykro.
Fixes #61811.


git-svn-id: https://develop.svn.wordpress.org/trunk@60033 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-17 20:09:39 +00:00
Joe Dolson
d6e3b8a9e2 Administration: A11y: Prevent empty author link in list tables.
If the author display name is unknown, show an `emdash` and screen reader text `(no author)`, consistent with other cases where information is unknown. Fix an issue where an unknown author name displayed as an invisible link with no text.

Props kkmuffme, hdkothari81, shailu25, snehapatil02, sabernhardt, faisal03, rishavdutta, sumitbagthariya16, joedolson.
Fixes #62913.

git-svn-id: https://develop.svn.wordpress.org/trunk@60032 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-17 18:52:12 +00:00
Adam Silverstein
4a12552742 Media: disable "Insert Gallery" button during uploads.
Ensure that the button to insert a gallery is disabled until all image uploads have completed on the Edit Gallery screen.  Prevents an issue where users could insert a gallery with some images missing.

Props: adamsilverstein, gonom9, rishavdutta.
Fixes: #39824.



git-svn-id: https://develop.svn.wordpress.org/trunk@60031 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-17 17:46:51 +00:00
Adam Silverstein
6f9d8e6c69 Media: fix potentially failing Imagick PDF alpha channel test.
Some checks failed
Performance Tests / Slack Notifications (push) Blocked by required conditions
Performance Tests / Failed workflow tasks (push) Blocked by required conditions
PHP Compatibility / Check PHP compatibility (push) Waiting to run
PHP Compatibility / Slack Notifications (push) Blocked by required conditions
PHP Compatibility / Failed workflow tasks (push) Blocked by required conditions
PHPUnit Tests / PHP 7.2 (push) Waiting to run
PHPUnit Tests / PHP 7.3 (push) Waiting to run
PHPUnit Tests / PHP 7.4 (push) Waiting to run
PHPUnit Tests / PHP 8.0 (push) Waiting to run
PHPUnit Tests / PHP 8.1 (push) Waiting to run
PHPUnit Tests / PHP 8.2 (push) Waiting to run
PHPUnit Tests / PHP 8.3 (push) Waiting to run
PHPUnit Tests / PHP 8.4 (push) Waiting to run
PHPUnit Tests / html-api-html5lib-tests (push) Waiting to run
PHPUnit Tests / Slack Notifications (push) Blocked by required conditions
PHPUnit Tests / Failed workflow tasks (push) Blocked by required conditions
Test Build Processes / Core running from build (push) Waiting to run
Test Build Processes / Core running from src (push) Waiting to run
Test Build Processes / Gutenberg running from build (push) Waiting to run
Test Build Processes / Gutenberg running from src (push) Waiting to run
Test Build Processes / Slack Notifications (push) Blocked by required conditions
Test Build Processes / Failed workflow tasks (push) Blocked by required conditions
Upgrade Develop Version Tests / Build (push) Waiting to run
Upgrade Develop Version Tests / Upgrade from 4.9 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.5 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.6 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.7 (push) Blocked by required conditions
Upgrade Develop Version Tests / Slack Notifications (push) Blocked by required conditions
Upgrade Develop Version Tests / Failed workflow tasks (push) Blocked by required conditions
Lint GitHub Actions workflow files / Lint GitHub Action files (push) Has been cancelled
Only test PDF alpha functionality when supported by the server.

Props: adamsilverstein, swissspidy, antpb, sippis.
Fixes #60798.



git-svn-id: https://develop.svn.wordpress.org/trunk@60030 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-17 17:26:41 +00:00
Joe Dolson
c8414754e9 TinyMCE: A11y: Remove title attributes and improve placeholders.
Shifts the `title` attribute on `more` and `page-break` placeholder images to `alt`, moves the `title` attribute to `alt` on the `style` and `script` placeholders and replaces the images to differentiate between CSS and JS content.

Props sabernhardt, abcd95, joedolson.
Fixes #62861.

git-svn-id: https://develop.svn.wordpress.org/trunk@60007 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-17 16:14:05 +00:00
Jonathan Desrosiers
a179731534 Build/Test Tools: Add input for skipping Playwright steps.
In older branches utilizing Puppeteer instead of Playwright, installing Playwright browsers is unnecessary and resulting in workflow failures.

This introduces a new `install-playwright` input that allows older branches to indicate that Playwright related steps should be skipped.

See #63117.

git-svn-id: https://develop.svn.wordpress.org/trunk@60005 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-17 16:03:43 +00:00
Jonathan Desrosiers
4694f287d2 Build/Test Tools: Correct E2E workflow path filtering.
The reusable E2E workflow does not yet follow the `-v#` pattern because there is only one version.

The current pattern is not matching the `reusable-end-to-end-tests.yml` file.

See #62221.

git-svn-id: https://develop.svn.wordpress.org/trunk@60004 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-17 16:00:07 +00:00
Joe McGill
eaeda35de1 Editor: Support site preview mode for the Site Editor.
This allows the Site Editor to load a preview of the site as an `IFRAME_REQUEST` by checking for a `wp_site_preview` query param. By setting the `IFRAME_REQUEST` constant when loading the preview, the site's admin bar and some third party plugin overlays will not be shown in the preview.

Props wildworks, joemcgill, peterwilsoncc, presstoke, mamaduka, johnbillion, faisal03.
Fixes #63076.


git-svn-id: https://develop.svn.wordpress.org/trunk@60003 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-17 13:01:24 +00:00
Peter Wilson
b98b347504 Query: Fix performance regression starting the loop for all fields.
Some checks are pending
Performance Tests / Compare (push) Blocked by required conditions
Performance Tests / Slack Notifications (push) Blocked by required conditions
Performance Tests / Failed workflow tasks (push) Blocked by required conditions
PHP Compatibility / Check PHP compatibility (push) Waiting to run
PHP Compatibility / Slack Notifications (push) Blocked by required conditions
PHP Compatibility / Failed workflow tasks (push) Blocked by required conditions
PHPUnit Tests / PHP 7.2 (push) Waiting to run
PHPUnit Tests / PHP 7.3 (push) Waiting to run
PHPUnit Tests / PHP 7.4 (push) Waiting to run
PHPUnit Tests / PHP 8.0 (push) Waiting to run
PHPUnit Tests / PHP 8.1 (push) Waiting to run
PHPUnit Tests / PHP 8.2 (push) Waiting to run
PHPUnit Tests / PHP 8.3 (push) Waiting to run
PHPUnit Tests / PHP 8.4 (push) Waiting to run
PHPUnit Tests / html-api-html5lib-tests (push) Waiting to run
PHPUnit Tests / Slack Notifications (push) Blocked by required conditions
PHPUnit Tests / Failed workflow tasks (push) Blocked by required conditions
Test Build Processes / Core running from build (push) Waiting to run
Test Build Processes / Core running from src (push) Waiting to run
Test Build Processes / Gutenberg running from build (push) Waiting to run
Test Build Processes / Gutenberg running from src (push) Waiting to run
Test Build Processes / Slack Notifications (push) Blocked by required conditions
Test Build Processes / Failed workflow tasks (push) Blocked by required conditions
Upgrade Develop Version Tests / Build (push) Waiting to run
Upgrade Develop Version Tests / Upgrade from 4.9 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.5 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.6 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.7 (push) Blocked by required conditions
Upgrade Develop Version Tests / Slack Notifications (push) Blocked by required conditions
Upgrade Develop Version Tests / Failed workflow tasks (push) Blocked by required conditions
Fixes a performance regression starting the loop after calling `WP_Query( [ 'fields' => 'all' ] )`. This changes how `WP_Query::the_post()` determines whether there is a need to traverse the posts for cache warming.

If IDs are queried, `WP_Query::$posts` is assumed to be an array of post IDs. If all fields are queried, `WP_Query::$posts` is assumed to be an array of fully populated post objects.

Follow up to [59919], [59937].

Props joemcgill, peterwilsoncc, SirLouen.
Fixes #56992.



git-svn-id: https://develop.svn.wordpress.org/trunk@59993 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-16 22:55:11 +00:00
Joe Dolson
7950bbed13 Editor: A11y: Skip link hidden in editor on medium-small screens.
Adjust the position of the skip link in viewports between 600 and 782 pixels, where they were hidden due to `overflow-y: auto` in the block editor. Ensures that the skip link is visibly available for users on all viewport sizes.

Props sabernhardt, narenin, audrasjb, mukesh27, joedolson, wildworks.
Fixes #63084.

git-svn-id: https://develop.svn.wordpress.org/trunk@59992 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-16 22:47:49 +00:00
Joe Dolson
fe7a69cddf Bundled Themes: Move skip link from #page to body in Twenty Fourteen.
Improvement following [59914] to make the position of the skip to content link consistent across different states and viewports.

Props sabernhardt, himanshupathak95, joedolson.
Fixes #62969.

git-svn-id: https://develop.svn.wordpress.org/trunk@59991 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-16 22:32:22 +00:00
Sergey Biryukov
aec301558d Coding Standards: Escape thumbnail URL and attributes in wp_image_editor().
Follow-up to [11965].

Props benazeer, dhruvang21, sabernhardt.
Fixes #62951.

git-svn-id: https://develop.svn.wordpress.org/trunk@59990 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-16 20:45:08 +00:00
Joe Dolson
fd55ed4b7b Customizer: A11y: Respect prefers-reduced-motion.
Several significant animations in the customizer did not respect prefers reduced motion. Change CSS to wrap animations in `@media` queries to verify user preferences.

Props wildworks, sainathpoojary, abcd95, joedolson, audrasjb.
Fixes #62806.

git-svn-id: https://develop.svn.wordpress.org/trunk@59989 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-16 20:25:35 +00:00
Joe Dolson
d07d4fce8c A11y: Add spoken notice when screen options are saved on change.
When some screen option input fields are changed (post table columns, welcome panel, and metabox visibility), the change is saved to options. Other screen options (e.g. number of items per page) are only saved on submit. The changes that are saved immediately are visibly changed for sighted readers immediately. Change adds a `wp.a11y.speak()` call to inform screen readers that a value change has updated screen options.

Props kkmuffme, joedolson, yogeshbhutkar, audrasjb, sourabhjain.
Fixes #62550.

git-svn-id: https://develop.svn.wordpress.org/trunk@59988 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-16 19:38:42 +00:00
Joe Dolson
fc0531c4d5 Media: Add 'muted' attribute and normalize HTML attributes.
Add the 'muted' attribute to the audio shortcode. Fix boolean attributes to meet HTML5 standards. Replaces instances like `attr="1"` with `attr` for `loop`, `autoplay`, and `muted`, and improves handling of the `preload` attribute to only output valid values.

Props shub07, dmsnell, debarghyabanerjee, audrasjb, narenin, apermo, joedolson.
Fixes #61515.

git-svn-id: https://develop.svn.wordpress.org/trunk@59987 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-16 18:49:39 +00:00
Joe Dolson
6f8d4e2b7d Media: Dismiss button not functional on upload errors.
Some checks failed
PHP Compatibility / Slack Notifications (push) Blocked by required conditions
PHP Compatibility / Failed workflow tasks (push) Blocked by required conditions
PHPUnit Tests / PHP 7.2 (push) Waiting to run
PHPUnit Tests / PHP 7.3 (push) Waiting to run
PHPUnit Tests / PHP 7.4 (push) Waiting to run
PHPUnit Tests / PHP 8.0 (push) Waiting to run
PHPUnit Tests / PHP 8.1 (push) Waiting to run
PHPUnit Tests / PHP 8.2 (push) Waiting to run
PHPUnit Tests / PHP 8.3 (push) Waiting to run
PHPUnit Tests / PHP 8.4 (push) Waiting to run
PHPUnit Tests / html-api-html5lib-tests (push) Waiting to run
PHPUnit Tests / Slack Notifications (push) Blocked by required conditions
PHPUnit Tests / Failed workflow tasks (push) Blocked by required conditions
Test Build Processes / Core running from build (push) Waiting to run
Test Build Processes / Core running from src (push) Waiting to run
Test Build Processes / Gutenberg running from build (push) Waiting to run
Test Build Processes / Gutenberg running from src (push) Waiting to run
Test Build Processes / Slack Notifications (push) Blocked by required conditions
Test Build Processes / Failed workflow tasks (push) Blocked by required conditions
Upgrade Develop Version Tests / Build (push) Waiting to run
Upgrade Develop Version Tests / Upgrade from 4.9 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.5 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.6 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.7 (push) Blocked by required conditions
Upgrade Develop Version Tests / Slack Notifications (push) Blocked by required conditions
Upgrade Develop Version Tests / Failed workflow tasks (push) Blocked by required conditions
Installation Tests / Build Test Matrix (push) Has been cancelled
Installation Tests / WP ${{ inputs.wp-version || 'nightly' }} / PHP ${{ matrix.php }} / ${{ 'mariadb' == matrix.db-type && 'MariaDB' || 'MySQL' }} ${{ matrix.db-version }}${{ matrix.multisite && ' multisite' || '' }} (push) Has been cancelled
Installation Tests / Slack Notifications (push) Has been cancelled
Installation Tests / Failed workflow tasks (push) Has been cancelled
Change the `onclick` attribute to a separate inlined script in the error message and improve the event attachment behavior.

Props vivekawsm, mijotj, adamsilverstein, parthvataliya, adhun, sarathar, peterwilsoncc, sayedulsayem, chaion07, sppramodh, indirabiswas27, aishwarryapande, dhrumilk, manojmaharrshi, ugyensupport, imranhasanraaz, pkbhatt, shailu25, joedolson.
Fixes #60074.

git-svn-id: https://develop.svn.wordpress.org/trunk@59986 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-16 16:09:13 +00:00
Sergey Biryukov
ed2f2ecd3f Tests: Use assertSame() in some newly introduced tests.
Some checks are pending
End-to-end Tests / Slack Notifications (push) Blocked by required conditions
End-to-end Tests / Failed workflow tasks (push) Blocked by required conditions
JavaScript Tests / QUnit Tests (push) Waiting to run
JavaScript Tests / Slack Notifications (push) Blocked by required conditions
JavaScript Tests / Failed workflow tasks (push) Blocked by required conditions
Performance Tests / Determine Matrix (push) Waiting to run
Performance Tests / ${{ matrix.multisite && 'Multisite' || 'Single Site' }} ${{ matrix.memcached && 'Memcached' || 'Default' }} (push) Blocked by required conditions
Performance Tests / Compare (push) Blocked by required conditions
Performance Tests / Slack Notifications (push) Blocked by required conditions
Performance Tests / Failed workflow tasks (push) Blocked by required conditions
PHP Compatibility / Check PHP compatibility (push) Waiting to run
PHP Compatibility / Slack Notifications (push) Blocked by required conditions
PHP Compatibility / Failed workflow tasks (push) Blocked by required conditions
PHPUnit Tests / PHP 7.2 (push) Waiting to run
PHPUnit Tests / PHP 7.3 (push) Waiting to run
PHPUnit Tests / PHP 7.4 (push) Waiting to run
PHPUnit Tests / PHP 8.0 (push) Waiting to run
PHPUnit Tests / PHP 8.1 (push) Waiting to run
PHPUnit Tests / PHP 8.2 (push) Waiting to run
PHPUnit Tests / PHP 8.3 (push) Waiting to run
PHPUnit Tests / PHP 8.4 (push) Waiting to run
PHPUnit Tests / html-api-html5lib-tests (push) Waiting to run
PHPUnit Tests / Slack Notifications (push) Blocked by required conditions
PHPUnit Tests / Failed workflow tasks (push) Blocked by required conditions
Test Build Processes / Core running from build (push) Waiting to run
Test Build Processes / Core running from src (push) Waiting to run
Test Build Processes / Gutenberg running from build (push) Waiting to run
Test Build Processes / Gutenberg running from src (push) Waiting to run
Test Build Processes / Slack Notifications (push) Blocked by required conditions
Test Build Processes / Failed workflow tasks (push) Blocked by required conditions
This ensures that not only the return values match the expected results, but also that their type is the same.

Going forward, stricter type checking by using `assertSame()` should generally be preferred to `assertEquals()` where appropriate, to make the tests more reliable.

Follow-up to [59630].

See #62278.

git-svn-id: https://develop.svn.wordpress.org/trunk@59985 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-15 23:26:50 +00:00
Jonathan Desrosiers
59f3fef3d3 Build/Test Tools: Use more specific (and correct) names for secrets.
Some checks failed
End-to-end Tests / Failed workflow tasks (push) Blocked by required conditions
JavaScript Tests / QUnit Tests (push) Waiting to run
JavaScript Tests / Slack Notifications (push) Blocked by required conditions
JavaScript Tests / Failed workflow tasks (push) Blocked by required conditions
Performance Tests / Determine Matrix (push) Waiting to run
Performance Tests / ${{ matrix.multisite && 'Multisite' || 'Single Site' }} ${{ matrix.memcached && 'Memcached' || 'Default' }} (push) Blocked by required conditions
Performance Tests / Compare (push) Blocked by required conditions
Performance Tests / Slack Notifications (push) Blocked by required conditions
Performance Tests / Failed workflow tasks (push) Blocked by required conditions
PHP Compatibility / Check PHP compatibility (push) Waiting to run
PHP Compatibility / Slack Notifications (push) Blocked by required conditions
PHP Compatibility / Failed workflow tasks (push) Blocked by required conditions
Test Build Processes / Core running from build (push) Waiting to run
Test Build Processes / Core running from src (push) Waiting to run
Test Build Processes / Gutenberg running from build (push) Waiting to run
Test Build Processes / Gutenberg running from src (push) Waiting to run
Test Build Processes / Slack Notifications (push) Blocked by required conditions
Test Build Processes / Failed workflow tasks (push) Blocked by required conditions
Lint GitHub Actions workflow files / Lint GitHub Action files (push) Has been cancelled
PHPUnit Tests / PHP 7.2 (push) Has been cancelled
PHPUnit Tests / PHP 7.3 (push) Has been cancelled
PHPUnit Tests / PHP 7.4 (push) Has been cancelled
PHPUnit Tests / PHP 8.0 (push) Has been cancelled
PHPUnit Tests / PHP 8.1 (push) Has been cancelled
PHPUnit Tests / PHP 8.2 (push) Has been cancelled
PHPUnit Tests / PHP 8.3 (push) Has been cancelled
PHPUnit Tests / PHP 8.4 (push) Has been cancelled
PHPUnit Tests / html-api-html5lib-tests (push) Has been cancelled
PHPUnit Tests / Slack Notifications (push) Has been cancelled
PHPUnit Tests / Failed workflow tasks (push) Has been cancelled
Follow up to [59983].

See #62221.

git-svn-id: https://develop.svn.wordpress.org/trunk@59984 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-14 18:57:42 +00:00
Jonathan Desrosiers
e7e27142e2 Build/Test Tools: Introduce a workflow for checking built files.
There are several files generated and updated by the build process that are under version control. Including changes to these files is a common missed step for contributors regardless of experience level.

This introduces a workflow that checks for changes to versioned files as a result of other changes in pull requests and commits them back to the head branch. Because this workflow requires the `pull_request_target` event instead of `pull_request`, local references to reusable workflows should never be used.

In addition to improving the contributor experience, this also opens the door to use Dependabot for monitoring npm dependencies, many of which produce changes to built files when updating.

Props desrosj, johnbillion, joemcgill, swissspidy.
See #62221.

git-svn-id: https://develop.svn.wordpress.org/trunk@59983 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-14 18:51:49 +00:00
Sergey Biryukov
7aae2ea200 Upgrade/Install: Revert [59981] pending test failure investigation.
Some checks failed
Test old branches / test-build-processes.yml for 6.3 (push) Has been cancelled
Test old branches / coding-standards.yml for 6.4 (push) Has been cancelled
Test old branches / end-to-end-tests.yml for 6.4 (push) Has been cancelled
Test old branches / javascript-tests.yml for 6.4 (push) Has been cancelled
Test old branches / performance.yml for 6.4 (push) Has been cancelled
Test old branches / php-compatibility.yml for 6.4 (push) Has been cancelled
Test old branches / phpunit-tests.yml for 6.4 (push) Has been cancelled
Test old branches / test-build-processes.yml for 6.4 (push) Has been cancelled
Test old branches / coding-standards.yml for 6.5 (push) Has been cancelled
Test old branches / end-to-end-tests.yml for 6.5 (push) Has been cancelled
Test old branches / javascript-tests.yml for 6.5 (push) Has been cancelled
Test old branches / performance.yml for 6.5 (push) Has been cancelled
Test old branches / php-compatibility.yml for 6.5 (push) Has been cancelled
Test old branches / phpunit-tests.yml for 6.5 (push) Has been cancelled
Test old branches / test-build-processes.yml for 6.5 (push) Has been cancelled
Test old branches / coding-standards.yml for 6.6 (push) Has been cancelled
Test old branches / end-to-end-tests.yml for 6.6 (push) Has been cancelled
Test old branches / javascript-tests.yml for 6.6 (push) Has been cancelled
Test old branches / performance.yml for 6.6 (push) Has been cancelled
Test old branches / php-compatibility.yml for 6.6 (push) Has been cancelled
Test old branches / phpunit-tests.yml for 6.6 (push) Has been cancelled
Test old branches / test-build-processes.yml for 6.6 (push) Has been cancelled
Test old branches / coding-standards.yml for 6.7 (push) Has been cancelled
Test old branches / end-to-end-tests.yml for 6.7 (push) Has been cancelled
Test old branches / javascript-tests.yml for 6.7 (push) Has been cancelled
Test old branches / performance.yml for 6.7 (push) Has been cancelled
Test old branches / php-compatibility.yml for 6.7 (push) Has been cancelled
Test old branches / phpunit-tests.yml for 6.7 (push) Has been cancelled
Test old branches / test-build-processes.yml for 6.7 (push) Has been cancelled
Test old branches / Slack Notifications (push) Has been cancelled
See #62718.

git-svn-id: https://develop.svn.wordpress.org/trunk@59982 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-14 14:51:11 +00:00
Sergey Biryukov
001a86a7ca Upgrade/Install: Pass stored credentials to WP_Filesystem() in WP_Upgrader.
When using a non-direct filesystem, the call in `WP_Upgrader::maintenance_mode()` did not include the required credentials, leading to a fatal error as the connection was not initialized properly.

This commit attempts to use the stored credentials if available, and triggers a notice otherwise.

Follow-up to [56341], [58128].

Props hideishi, dd32, SergeyBiryukov.
Fixes #62718.

git-svn-id: https://develop.svn.wordpress.org/trunk@59981 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-14 12:57:10 +00:00
Jb Audras
32fe6af9c3 Themes: Enqueue classic-theme-styles in enqueue_block_assets.
Some checks failed
Performance Tests / Compare (push) Blocked by required conditions
Performance Tests / Slack Notifications (push) Blocked by required conditions
Performance Tests / Failed workflow tasks (push) Blocked by required conditions
PHP Compatibility / Check PHP compatibility (push) Waiting to run
PHP Compatibility / Slack Notifications (push) Blocked by required conditions
PHP Compatibility / Failed workflow tasks (push) Blocked by required conditions
PHPUnit Tests / PHP 7.2 (push) Waiting to run
PHPUnit Tests / PHP 7.3 (push) Waiting to run
PHPUnit Tests / PHP 7.4 (push) Waiting to run
PHPUnit Tests / PHP 8.0 (push) Waiting to run
PHPUnit Tests / PHP 8.1 (push) Waiting to run
PHPUnit Tests / PHP 8.2 (push) Waiting to run
PHPUnit Tests / PHP 8.3 (push) Waiting to run
PHPUnit Tests / PHP 8.4 (push) Waiting to run
PHPUnit Tests / html-api-html5lib-tests (push) Waiting to run
PHPUnit Tests / Slack Notifications (push) Blocked by required conditions
PHPUnit Tests / Failed workflow tasks (push) Blocked by required conditions
Test Build Processes / Core running from build (push) Waiting to run
Test Build Processes / Core running from src (push) Waiting to run
Test Build Processes / Gutenberg running from build (push) Waiting to run
Test Build Processes / Gutenberg running from src (push) Waiting to run
Test Build Processes / Slack Notifications (push) Blocked by required conditions
Test Build Processes / Failed workflow tasks (push) Blocked by required conditions
Upgrade Develop Version Tests / Build (push) Has been cancelled
Upgrade Develop Version Tests / Upgrade from 4.9 (push) Has been cancelled
Upgrade Develop Version Tests / Upgrade from 6.5 (push) Has been cancelled
Upgrade Develop Version Tests / Upgrade from 6.6 (push) Has been cancelled
Upgrade Develop Version Tests / Upgrade from 6.7 (push) Has been cancelled
Upgrade Develop Version Tests / Slack Notifications (push) Has been cancelled
Upgrade Develop Version Tests / Failed workflow tasks (push) Has been cancelled
[54687] introduced a fallback stylesheet for Button block styles (and later File blocks) for both the front end and the editor. In the editor, that has been added within the body, after the theme's block styles. That commit had quick fixes for Twenty Twelve and Twenty Twenty, but raising the specificity for those colors should have been unnecessary. Also, themes such as Twenty Fourteen — and non-bundled themes — still have had a similar problem with the incorrect order.

Thus, this changeset:
- Registers the stylesheet outside `wp_enqueue_classic_theme_styles()`.
- Enqueues classic styles in the `enqueue_block_assets` action instead of adding them in the `block_editor_settings_all` filter.
- Deprecates the `wp_add_editor_classic_theme_styles()` function.

Follow-up to [54687].

Props sabernhardt, mukesh27.
Fixes #61892.



git-svn-id: https://develop.svn.wordpress.org/trunk@59980 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-13 22:58:25 +00:00
Sergey Biryukov
dbdeb3ccdd Docs: Correct formatting for some inline comments in unit tests.
Follow-up to [54111], [56714], [58182], [59630], [59817], [59966].

See #62281.

git-svn-id: https://develop.svn.wordpress.org/trunk@59979 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-13 18:21:37 +00:00
Jb Audras
066499a1a2 Users: Remove unwanted aria-describedby attribute in User Edit.
Some checks are pending
Performance Tests / Compare (push) Blocked by required conditions
Performance Tests / Slack Notifications (push) Blocked by required conditions
Performance Tests / Failed workflow tasks (push) Blocked by required conditions
PHP Compatibility / Check PHP compatibility (push) Waiting to run
PHP Compatibility / Slack Notifications (push) Blocked by required conditions
PHP Compatibility / Failed workflow tasks (push) Blocked by required conditions
PHPUnit Tests / PHP 7.2 (push) Waiting to run
PHPUnit Tests / PHP 7.3 (push) Waiting to run
PHPUnit Tests / PHP 7.4 (push) Waiting to run
PHPUnit Tests / PHP 8.0 (push) Waiting to run
PHPUnit Tests / PHP 8.1 (push) Waiting to run
PHPUnit Tests / PHP 8.2 (push) Waiting to run
PHPUnit Tests / PHP 8.3 (push) Waiting to run
PHPUnit Tests / PHP 8.4 (push) Waiting to run
PHPUnit Tests / html-api-html5lib-tests (push) Waiting to run
PHPUnit Tests / Slack Notifications (push) Blocked by required conditions
PHPUnit Tests / Failed workflow tasks (push) Blocked by required conditions
Test Build Processes / Core running from build (push) Waiting to run
Test Build Processes / Core running from src (push) Waiting to run
Test Build Processes / Gutenberg running from build (push) Waiting to run
Test Build Processes / Gutenberg running from src (push) Waiting to run
Test Build Processes / Slack Notifications (push) Blocked by required conditions
Test Build Processes / Failed workflow tasks (push) Blocked by required conditions
Upgrade Develop Version Tests / Build (push) Waiting to run
Upgrade Develop Version Tests / Upgrade from 4.9 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.5 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.6 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.7 (push) Blocked by required conditions
Upgrade Develop Version Tests / Slack Notifications (push) Blocked by required conditions
Upgrade Develop Version Tests / Failed workflow tasks (push) Blocked by required conditions
This changeset removes the `aria-describedby` attribute when not editing the current user, as no description paragraph is associated.

Props kkmuffme, audrasjb, faisal03, shailu25, nandow, eddystile, marineevain, qhaensler, virginienacci.
Fixes #63006.



git-svn-id: https://develop.svn.wordpress.org/trunk@59978 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-13 10:02:28 +00:00
Sergey Biryukov
d71d317864 Coding Standards: Use strict comparison in WP_Query::get_posts(), take 1.
Some checks are pending
Performance Tests / Compare (push) Blocked by required conditions
Performance Tests / Slack Notifications (push) Blocked by required conditions
Performance Tests / Failed workflow tasks (push) Blocked by required conditions
PHP Compatibility / Check PHP compatibility (push) Waiting to run
PHP Compatibility / Slack Notifications (push) Blocked by required conditions
PHP Compatibility / Failed workflow tasks (push) Blocked by required conditions
PHPUnit Tests / PHP 7.2 (push) Waiting to run
PHPUnit Tests / PHP 7.3 (push) Waiting to run
PHPUnit Tests / PHP 7.4 (push) Waiting to run
PHPUnit Tests / PHP 8.0 (push) Waiting to run
PHPUnit Tests / PHP 8.1 (push) Waiting to run
PHPUnit Tests / PHP 8.2 (push) Waiting to run
PHPUnit Tests / PHP 8.3 (push) Waiting to run
PHPUnit Tests / PHP 8.4 (push) Waiting to run
PHPUnit Tests / html-api-html5lib-tests (push) Waiting to run
PHPUnit Tests / Slack Notifications (push) Blocked by required conditions
PHPUnit Tests / Failed workflow tasks (push) Blocked by required conditions
Test Build Processes / Core running from build (push) Waiting to run
Test Build Processes / Core running from src (push) Waiting to run
Test Build Processes / Gutenberg running from build (push) Waiting to run
Test Build Processes / Gutenberg running from src (push) Waiting to run
Test Build Processes / Slack Notifications (push) Blocked by required conditions
Test Build Processes / Failed workflow tasks (push) Blocked by required conditions
Upgrade Develop Version Tests / Build (push) Waiting to run
Upgrade Develop Version Tests / Upgrade from 4.9 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.5 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.6 (push) Blocked by required conditions
Upgrade Develop Version Tests / Upgrade from 6.7 (push) Blocked by required conditions
Upgrade Develop Version Tests / Slack Notifications (push) Blocked by required conditions
Upgrade Develop Version Tests / Failed workflow tasks (push) Blocked by required conditions
Follow-up to [4112], [17552], [19918], [20740], [56513], [56656].

Props aristath, poena, afercia, SergeyBiryukov.
See #62279.

git-svn-id: https://develop.svn.wordpress.org/trunk@59976 602fd350-edb4-49c9-b593-d223f7449a82
2025-03-12 20:10:29 +00:00