Commit Graph

50904 Commits

Author SHA1 Message Date
Aaron Jorbin
554d3b073c Docs: Correct the type of the $cache parameter in embed_oembed_html.
The value cannot be false at this point, as the filter is only applied to non-empty output.

Follow-up to [25726], [46661].

Reviewed By peterwilsoncc, jorbin.
Merges [60127] to the 6.8 branch.

Props apermo, xate, SergeyBiryukov.
Fixes #63220.

Built from https://develop.svn.wordpress.org/branches/6.8@60140


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-04-08 02:12:22 +00:00
Aaron Jorbin
05afd5d2d4 Docs: Update inline docs for various general template functions.
Reviewed By peterwilsoncc, jorbin.
Merges [60120] and [60121] to the 6.8 branch.

Props dilipbheda, mukesh27, SergeyBiryukov, audrasjb.
Fixes #63215.
See #63166.

Built from https://develop.svn.wordpress.org/branches/6.8@60139


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-04-08 02:01:29 +00:00
ryelle
8ca9ba7df3 Help/About: Revert subtle color to actually subtle color on Get Involved.
Reviewed By peterwilsoncc.
Merges [60136] to the 6.8 branch.

Props densinakum, courane01.
See #63025.


Built from https://develop.svn.wordpress.org/branches/6.8@60138


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-04-08 01:07:29 +00:00
Peter Wilson
5b95f30633 Site Editor: Fix PHP warning in _wp_get_site_editor_redirection_url().
Fixes a PHP Warning for an undefined array key "QUERY_STRING" in `_wp_get_site_editor_redirection_url()` in some PHP configurations.

Depending on the configuration, `$_SERVER['QUERY_STRING']` can either be unset or an empty string when no query string included in the URL. This changes the condition from a falsey check to an `empty()` check.

Reviewed by Mamaduka.
Merges [60134] to the 6.8 branch.

Props akshaydhere, dilipbheda, johnbillion, rainynewt, sabernhardt, sainathpoojary, shovan_jaya, tusharaddweb, wildworks.
Fixes #63224.


Built from https://develop.svn.wordpress.org/branches/6.8@60135


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-04-07 22:15:30 +00:00
Peter Wilson
1236aa9aa1 Docs: Fix types for wp_cache_set_last_changed filter.
Corrects the type for the `$time` and `$previous_time` parameters in the filter to indicate the times are expressed as strings. The values are generated from a call to `microtime()` which returns the time as a string in the form `msec sec`.

Reviewed by audrasjb.
Merges [60128] to the 6.8 branch.

Props tillkruess, westonruter.
Fixes #63194.


Built from https://develop.svn.wordpress.org/branches/6.8@60133


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-04-06 22:29:28 +00:00
desrosj
fde5146524 Security: Don't fail the Argon2-related tests when it's not available on the test infrastructure.
These tests are not critical to the bcrypt functionality, they exist to reaffirm that the underlying use of `password_hash()` and `password_verify()` supports this algorithm. The Argon2 tests therefore shouldn't unnecessarily fail on hosts that don't support it.

Reviewed by desrosj.
Merges [60124] to the 6.8 branch.

Props desrosj, johnbillion.
Fixes #21022.
Built from https://develop.svn.wordpress.org/branches/6.8@60126


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-04-03 14:48:26 +00:00
John Blackbourn
cc39c68706 Application Passwords: Correct the fallback behaviour for application passwords that don't use a generic hash.
Application passwords that aren't hashed using BLAKE2b should be checked using wp_check_password() rather than assuming they were hashed with phpass. This provides full back compat support for application passwords that were created via an overridden wp_hash_password() function that uses an alternative hashing algorithm.

Reviewed by audrasjb.
Merges [60123] into the 6.8 branch.

Props snicco, debarghyabanerjee, peterwilsoncc, jorbin, johnbillion.

Fixes #63203

Built from https://develop.svn.wordpress.org/branches/6.8@60125


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-04-03 14:38:27 +00:00
audrasjb
2330906e21 Post WordPress 6.8 RC2 version bump.
Built from https://develop.svn.wordpress.org/branches/6.8@60118


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-04-01 15:49:26 +00:00
audrasjb
1e76dfd56f WordPress 6.8 RC2.
Built from https://develop.svn.wordpress.org/branches/6.8@60117


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-04-01 15:16:27 +00:00
Joe McGill
26530a3abd General: Improve unit tests for wp_unique_id_from_values().
This is a follow-up to [60038], which updates the PHPUnit tests to account for different systems producing potentially different hashes due to platform specific floating point precision settings.

Reviewed by audrasjb, desrosj.
Merges [60113] to the 6.8 branch.

Props debarghyabanerjee, joemcgill, peterwilsoncc, siliconforks.
Fixes #63175.

Built from https://develop.svn.wordpress.org/branches/6.8@60116


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-04-01 13:32:26 +00:00
audrasjb
3e11daaded Editor: Update packages for 6.8 RC 2.
Syncs @wordpress/* packages to the 'wp-6.8' npm tag.

Reviewed by joemcgill.
Merges [60114] to the 6.8 branch.
Props mamaduka.
See #62887.


Built from https://develop.svn.wordpress.org/branches/6.8@60115


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-04-01 12:44:40 +00:00
audrasjb
9b6afe8a3f REST API: Properly capitalize "REST" in translation strings.
Reviewed by jorbin.
Merges [60104] to the 6.8 branch.
Props tobifjellner, sabernhardt, abcd95.
Fixes #63193.


Built from https://develop.svn.wordpress.org/branches/6.8@60105


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-28 22:44:29 +00:00
audrasjb
19e46a28f9 Administration: Replace missed reference of "Add New" in WP_Taxonomy class.
Follow-up to [59784], [59786], [59791].

Reviewed by joedolson.
Merges [60098] to 6.8 branch.
Props timse201, audrasjb.
Fixes #61219.


Built from https://develop.svn.wordpress.org/branches/6.8@60099


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-26 22:07:28 +00:00
desrosj
342ecc0d33 Build/Test Tools: 6.8 post-branching updates.
This makes some post-branching changes to the 6.8 branch:
- Pins the most newest supported version of PHP for the local Docker environment
- Switches to using remote references for GitHub Action workflows
- Removes GitHub Action workflow files that will never run from this branch.

See #63164.
Built from https://develop.svn.wordpress.org/branches/6.8@60092


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-25 16:41:13 +00:00
desrosj
395fdd55c8 Branch 6.8
Built from https://develop.svn.wordpress.org/branches/6.8@60091


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-25 16:31:17 +00:00
audrasjb
67631199b5 Post WordPress 6.8 RC1 version bump.
Built from https://develop.svn.wordpress.org/trunk@60090


git-svn-id: http://core.svn.wordpress.org/trunk@59426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-25 16:09:28 +00:00
audrasjb
6f4426b76f WordPress 6.8 RC1.
Built from https://develop.svn.wordpress.org/trunk@60089


git-svn-id: http://core.svn.wordpress.org/trunk@59425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-25 15:39:29 +00:00
audrasjb
555dc83d90 Permalinks: Revert [59966].
The original commit ignores some of the arguments that can be passed to the function, mainly `base` and `format`. Reverting for now.

Props peterwilsoncc.


Built from https://develop.svn.wordpress.org/trunk@60088


git-svn-id: http://core.svn.wordpress.org/trunk@59424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-25 15:18:12 +00:00
ryelle
4fa00adc34 Help/About: Update the About page for 6.8.
Introducing the new content for the 6.8 About page. This release introduces a new header image, but otherwise only minor tweaks to the layout and colors.

See #63025.
Props michelleames, marybaum, jeffpaul, flixos90, krupajnanda, vgnavada, karmatosed, benjamin_zekavica, ryelle, peterwilsoncc, benniledl, audrasjb.


Built from https://develop.svn.wordpress.org/trunk@60087


git-svn-id: http://core.svn.wordpress.org/trunk@59423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-25 15:16:40 +00:00
desrosj
f537eedd4d Build/Test Tools: Apply one missed action update.
Follow up to [60083].

See #62221.
Built from https://develop.svn.wordpress.org/trunk@60086


git-svn-id: http://core.svn.wordpress.org/trunk@59422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-25 14:43:29 +00:00
audrasjb
73540ca808 Coding Standards: Use sprintf() for correct i18n in wp_unique_id_from_values().
Follow-up to [60075], [60079].

Fixes #62985.


Built from https://develop.svn.wordpress.org/trunk@60085


git-svn-id: http://core.svn.wordpress.org/trunk@59421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-25 14:31:31 +00:00
Adam Silverstein
6fd9b34405 Media: prevent uploading image types the server doesn’t support.
Normalize behavior between uploading in the media library and uploading directly to the block editor.  Now, when uploading an image with a mime type the server does not support (either in the media library or the block editor), the user will see an error message “This image cannot be processed by the web server. Convert it to JPEG or PNG before uploading”.

Alos, add a new filter `wp_prevent_unsupported_mime_type_uploads` which determines whether the server should prevent uploads for image types it doesn't support. The default value is true and the filter also receives the uploaded image mime type.

Props: joomskys, adamsilverstein, azaozz, swissspidy, joemcgill, flixos90, audrasjb. 

Fixes #61167


Built from https://develop.svn.wordpress.org/trunk@60084


git-svn-id: http://core.svn.wordpress.org/trunk@59420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-25 14:07:53 +00:00
desrosj
0f97fb14d1 Build/Test Tools: Update 3rd party GitHub Actions.
This updates the following GitHub Actions:
- `actions/upload-artifact` from `4.6.1` to `4.6.2`
- `actions/download-artifact` from `4.1.9` to `4.2.1`
- `actions/cache` from `4.2.2` to `4.2.3`

Though these are minor updates, they include a hardening change, switching to masking cache entry tokens in debug logs.

Fixes #62221.
Built from https://develop.svn.wordpress.org/trunk@60083


git-svn-id: http://core.svn.wordpress.org/trunk@59419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-25 14:06:29 +00:00
desrosj
76028a3d29 Build/Test Tools: Add Slack notifications and auto-retry to linting workflow.
See #62221.
Built from https://develop.svn.wordpress.org/trunk@60082


git-svn-id: http://core.svn.wordpress.org/trunk@59418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-25 13:32:27 +00:00
desrosj
28d9c94ad7 Build/Test Tools: Mount correct volume directory for devcontainer.
This switches to mounting the current directory instead of the one above the working directory in the mounted volume, which can include many directories of unrelated projects.

Props johnbillion.
Fixes #62899.
Built from https://develop.svn.wordpress.org/trunk@60081


git-svn-id: http://core.svn.wordpress.org/trunk@59417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-25 13:11:25 +00:00
desrosj
7169c11ee8 Build/Test Tools: Prevent Dependabot workflow runs in other mirrors.
Currently, workflows are configured to only run for `wordpress-develop` or when pull requests are opened where forks and mirrors are the base repository.

Because a Dependabot configuration is present in the repository, it cannot be turned off for mirrors. This results in workflows running for all Dependabot PRs, which is problematic for private mirrors and needlessly consumes minutes and resources.

Props swissspidy, johnbillion.
See #62221.
Built from https://develop.svn.wordpress.org/trunk@60080


git-svn-id: http://core.svn.wordpress.org/trunk@59416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-25 13:02:24 +00:00
Joe McGill
98a3f5f11c Editor: Fix translators note in wp_unique_id_from_values().
Follow up to [60075] to fix a typo.

Props mukesh27, johnbillion.
See #62985.

Built from https://develop.svn.wordpress.org/trunk@60079


git-svn-id: http://core.svn.wordpress.org/trunk@59415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-25 12:54:22 +00:00
Joe McGill
9600fbf688 Editor: Update packages for 6.8 RC 1.
Syncs @wordpress/* packages to the 'wp-6.8' npm tag.

Props mamaduka, audrasjb.
See #62887.

Built from https://develop.svn.wordpress.org/trunk@60078


git-svn-id: http://core.svn.wordpress.org/trunk@59414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-25 12:48:38 +00:00
audrasjb
69998027a2 Twenty Eleven: Improve documentation for twentyeleven_attachment_size filter.
Follow-up to [25625].

Props sabernhardt.
Fixes #63160.


Built from https://develop.svn.wordpress.org/trunk@60077


git-svn-id: http://core.svn.wordpress.org/trunk@59413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-25 10:17:29 +00:00
Mamaduka
3bad234b73 Editor: Revert the new default rendering mode for Pages.
This fully reverts changes from #61811 while leaving infrastructure in place for consumers to enable different default rendering modes for their post types.

Props mamaduka, joemcgill, mtdkei.
Fixes #63139.
Built from https://develop.svn.wordpress.org/trunk@60076


git-svn-id: http://core.svn.wordpress.org/trunk@59412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-25 06:45:28 +00:00
Peter Wilson
886fb31207 Editor: Tidy up _doing_it_wrong() call in wp_unique_id_from_values().
Adds a translator note not to translate the parameter name `$data` and removes an unused `sprintf()` that doesn't contain any placeholders.

Props peterwilsoncc, joemcgill.
Fixes #62985.

Built from https://develop.svn.wordpress.org/trunk@60075


git-svn-id: http://core.svn.wordpress.org/trunk@59411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-25 01:47:25 +00:00
audrasjb
5beb28bd39 Coding Standards: Fix a trailing indentation issue after [60073].
Follow-up to [60073].

See #62163.


Built from https://develop.svn.wordpress.org/trunk@60074


git-svn-id: http://core.svn.wordpress.org/trunk@59410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-25 00:04:25 +00:00
audrasjb
46cb039f26 REST API: exclude rest_route from get_params() if pretty permalinks are disabled.
This changeset introduces a modification to the `get_params()` method within the WordPress REST API. The change ensures that the `rest_route` parameter is excluded from the parameters returned when pretty permalinks are not enabled. This update enhances the developer experience by ensuring that the parameters returned by `get_params()` are relevant and do not include unnecessary values, thereby reducing potential confusion and errors.

Props westonruter, TimothyBlynJacobs, audrasjb, debarghyabanerjee, dilip2615, shanemuir, peterwilsoncc.
Fixes #62163.


Built from https://develop.svn.wordpress.org/trunk@60073


git-svn-id: http://core.svn.wordpress.org/trunk@59409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-24 23:59:35 +00:00
Sergey Biryukov
94bac1c6b3 Coding Standards: Remove a one-time variable in WP_Privacy_Requests_Table::get_request_counts().
This allows the `$wpdb::prepare()` call to be picked up correctly by PHPCS.

Follow-up to [43008], [45448].

Props aristath, poena, afercia, SergeyBiryukov.
See #62279.
Built from https://develop.svn.wordpress.org/trunk@60072


git-svn-id: http://core.svn.wordpress.org/trunk@59408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-24 19:59:33 +00:00
Aaron Jorbin
58dbe3e577 Coding Standards: Update commits to ignore for blaming for 6.8
This adds white space only changes made during 6.8 to the list of commits which we instruct git blame to ignore. Excluding them helps to reduce the noise when doing code archaeology.

Follow-up to [53007].

Props jorbin, peterwilsoncc.
See #62279.


Built from https://develop.svn.wordpress.org/trunk@60071


git-svn-id: http://core.svn.wordpress.org/trunk@59407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-24 16:57:33 +00:00
Joe McGill
d5a86a55ab Interactivity API: Apply the same directive name restrictions as the client.
This adds the same logic to filter directive data attributes to ignore invalid data attributes that is applied in the client to avoid processing directives on the server that will not be processed in the client.

Props jonsurrell, SirLouen.
Fixes #62426.


Built from https://develop.svn.wordpress.org/trunk@60070


git-svn-id: http://core.svn.wordpress.org/trunk@59406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-24 14:53:28 +00:00
Sergey Biryukov
01428753d0 Coding Standards: Remove a one-time variable in WP_MS_Sites_List_Table::prepare_items().
This allows the `$wpdb::prepare()` call to be picked up correctly by PHPCS.

Follow-up to [28712], [55656].

Props aristath, poena, afercia, SergeyBiryukov.
See #62279.
Built from https://develop.svn.wordpress.org/trunk@60069


git-svn-id: http://core.svn.wordpress.org/trunk@59405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-23 14:48:31 +00:00
Sergey Biryukov
984294a965 Tests: Use assertSame() in REST API attachments controller tests.
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 [48291], [50124], [57603].

See #62278.
Built from https://develop.svn.wordpress.org/trunk@60068


git-svn-id: http://core.svn.wordpress.org/trunk@59404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-22 16:08:25 +00:00
Sergey Biryukov
e12d727e75 Tests: Use assertSame() in REST API schema sanitization tests.
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 [39061], [48937].

See #62278.
Built from https://develop.svn.wordpress.org/trunk@60067


git-svn-id: http://core.svn.wordpress.org/trunk@59403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-21 23:48:24 +00:00
desrosj
aea45374b2 Build/Test Tools: Use Dependabot to manage npm dependencies.
This expands the use of Dependabot to also manage npm dependencies by configuring several groups of related packages. After [59983], pull requests for the majority of these updates can now be staged without encountering test failures.

Props joemcgill, peterwilsoncc, swissspidy, johnbillion.
See #62221.
Built from https://develop.svn.wordpress.org/trunk@60066


git-svn-id: http://core.svn.wordpress.org/trunk@59402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-21 18:29:26 +00:00
desrosj
4eaf568a38 Build/Test Tools: Re-add GitHub App.
Without this, workflow runs are not triggered by commits made by the workflow.

Follow up to [59983], [60052], [60059], [60063], [60064].

See #62221.
Built from https://develop.svn.wordpress.org/trunk@60065


git-svn-id: http://core.svn.wordpress.org/trunk@59401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-21 18:02:26 +00:00
desrosj
2c96bbb75c Build/Test Tools: Use correct context value for forks.
Follow up to [59983], [60052], [60059], [60063].

See #62221.
Built from https://develop.svn.wordpress.org/trunk@60064


git-svn-id: http://core.svn.wordpress.org/trunk@59400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-21 17:35:26 +00:00
desrosj
b68a7b5200 Build/Test Tools: Eliminate the need for custom tokens.
This reworks the workflow files introduced in [59983] to eliminate the need for a custom app token.

Follow up to [59983], [60052], [60059].

See #62221.
Built from https://develop.svn.wordpress.org/trunk@60063


git-svn-id: http://core.svn.wordpress.org/trunk@59399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-21 16:35:27 +00:00
audrasjb
8eb3443f31 General: Improve aria-current management in get_custom_logo().
This changeset fixes a edge case in `get_custom_logo()` where a page was set for the homepage without any front page in Settings > Reading and the `aria-current` attribute wasn't present on the logo link.

Props bschneidewind, audrasjb, siliconforks, sabernhardt, faisal03, shailu25, peterwilsoncc.
Fixes #62879.


Built from https://develop.svn.wordpress.org/trunk@60062


git-svn-id: http://core.svn.wordpress.org/trunk@59398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-21 13:56:29 +00:00
Peter Wilson
e895a309d3 Site Editor: Fix PHP warning pre-loading page REST requests.
Fix a PHP warning when opening a page directly in the site editor, eg by navigating to the URL `/wp-admin/site-editor.php?p=%2Fpage&postId=200`, caused by an undefined variable name.

Props abcd95, joemcgill, narenin, soyebsalar, websiteredev, wildworks.
Fixes #63122.

Built from https://develop.svn.wordpress.org/trunk@60061


git-svn-id: http://core.svn.wordpress.org/trunk@59397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-20 23:03:30 +00:00
Sergey Biryukov
c4a4c19e24 Build/Test Tools: Enable starting Xdebug on trigger 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.
Built from https://develop.svn.wordpress.org/trunk@60060


git-svn-id: http://core.svn.wordpress.org/trunk@59396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-20 14:12:26 +00:00
desrosj
ff69524db8 Build/Test Tools: Use the wordpress-develop-pr-bot app for changes.
This switches to using the `wordpress-develop-pr-bot` GitHub app when authoring commits instead of masquerading as Dependabot.

Follow up to [59983], [60052].

See #62221.
Built from https://develop.svn.wordpress.org/trunk@60059


git-svn-id: http://core.svn.wordpress.org/trunk@59395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-20 13:22:26 +00:00
audrasjb
e0dfa1ff54 General: Remove noopener from links opening in a new tab in wp_list_bookmarks().
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.


Built from https://develop.svn.wordpress.org/trunk@60058


git-svn-id: http://core.svn.wordpress.org/trunk@59394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-19 23:15:35 +00:00
Sergey Biryukov
e8fc75dfe1 Build/Test Tools: Revert [60056] pending test failure investigation.
See #49953.
Built from https://develop.svn.wordpress.org/trunk@60057


git-svn-id: http://core.svn.wordpress.org/trunk@59393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-19 23:02:27 +00:00
Sergey Biryukov
3bf92ea78e 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.
Built from https://develop.svn.wordpress.org/trunk@60056


git-svn-id: http://core.svn.wordpress.org/trunk@59392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-03-19 22:10:29 +00:00