Commit Graph

51051 Commits

Author SHA1 Message Date
John Blackbourn
56afb62f6b REST API: Return a more appropriate HTTP 400 response code when attempting to create or update a non-existent setting.
This switches the response from a 200, which is not appropriate for invalid requests.

Props sheldorofazeroth, johnbillion

Fixes #41604
Built from https://develop.svn.wordpress.org/trunk@60301


git-svn-id: http://core.svn.wordpress.org/trunk@59637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-11 17:42:39 +00:00
John Blackbourn
ef6f590207 Media: Fix the documented return type of the wp_update_attachment_metadata() function.
Props justlevine

See #63268
Built from https://develop.svn.wordpress.org/trunk@60300


git-svn-id: http://core.svn.wordpress.org/trunk@59636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-11 16:45:31 +00:00
Sergey Biryukov
bc9097369d Users: Correct get_the_author_posts() to always return an integer.
This matches the documented `@return` type.

Follow-up to [5638], [13576], [36085], [60296].

Props justlevine.
See #63268.
Built from https://develop.svn.wordpress.org/trunk@60299


git-svn-id: http://core.svn.wordpress.org/trunk@59635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-11 15:29:31 +00:00
John Blackbourn
eff616ca9d Build/Test Tools: Reduce the bcrypt cost during testing in order to speed up tests.
The lowest allowable cost in PHP is 4, so 5 is used which means tests can still to reduce the cost by one when testing alterations to the cost.

See #63026
Built from https://develop.svn.wordpress.org/trunk@60298


git-svn-id: http://core.svn.wordpress.org/trunk@59634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-11 14:26:23 +00:00
John Blackbourn
e82f1cfac5 Docs: Correct the documented types of the password algorithm constants in PHP 7.3 and earlier.
See #63166
Built from https://develop.svn.wordpress.org/trunk@60297


git-svn-id: http://core.svn.wordpress.org/trunk@59633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-11 14:21:50 +00:00
Sergey Biryukov
648e37c482 Docs: Correct the type of the $count parameter in get_usernumposts filter.
Follow-up to [8873], [26901], [36085].

Props justlevine.
See #63268.
Built from https://develop.svn.wordpress.org/trunk@60296


git-svn-id: http://core.svn.wordpress.org/trunk@59632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-10 12:54:30 +00:00
Bernhard Reiter
206af74681 Tests: Add new assertEqualHTML assertion.
Add a new `assertEqualHTML` method to `WP_UnitTestClass` for tests comparing HTML (potentially including block markup).

Internally, the assertion builds a deterministic tree string representation of the markup (using the HTML API) and compares the results. The format of the tree is inspired by the HTML5lib-tests tree format. It is extended with a special representation of block delimiters and their attributes. This format also makes it easier to visually spot the differences between the two strings if the assertion fails.

Finally, this changeset updates `Tests_Dependencies_Scripts` to remove its `assertEqualMarkup` and `parse_markup_fragment` methods, and to use the newly introduced `assertEqualHTML` instead.

Props bernhard-reiter, jonsurrell, dmsnell, jorbin, gziolo.
Fixes #63527.
Built from https://develop.svn.wordpress.org/trunk@60295


git-svn-id: http://core.svn.wordpress.org/trunk@59631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-10 10:25:28 +00:00
Sergey Biryukov
1ffb5f3b31 Coding Standards: Remove redundant empty() checks in map_meta_cap().
There is already a check for `empty( $object_subtype )` that exits the current `case` branch a few lines earlier.

Follow-up to [39179], [43378].

Props justlevine.
See #63268.
Built from https://develop.svn.wordpress.org/trunk@60294


git-svn-id: http://core.svn.wordpress.org/trunk@59630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-09 18:51:35 +00:00
audrasjb
caae7ebe39 Posts, Post Types: Add pre_post_insert action hook before inserting a new post.
This changeset adds a `pre_post_insert` action hook before inserting a new post via `wp_insert_post()`, allowing developers to modify or inspect post data before insertion. It brings consistency with the `pre_post_update` action hook triggered when a post is updated.

Props Hrohh, peterwilsoncc, audrasjb.
Fixes #63115.


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


git-svn-id: http://core.svn.wordpress.org/trunk@59629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-08 21:22:32 +00:00
Sergey Biryukov
947ab05cef Docs: Correct the type for WP_List_Table::$_column_headers.
The value is `null` until `::get_column_info()` is called.

Follow-up to [31127], [35021].

Props justlevine.
See #63268.
Built from https://develop.svn.wordpress.org/trunk@60292


git-svn-id: http://core.svn.wordpress.org/trunk@59628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-08 14:21:31 +00:00
Sergey Biryukov
b25cacc539 Coding Standards: Remove extra check in WP_Comment_Query::get_comment_ids().
The preceding `foreach` loop ensures that `$status_clauses` is a non-empty array.

Follow-up to [30084].

Props justlevine.
See #63268.
Built from https://develop.svn.wordpress.org/trunk@60291


git-svn-id: http://core.svn.wordpress.org/trunk@59627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-07 15:09:30 +00:00
Sergey Biryukov
dac36377c9 Coding Standards: Remove redundant check in WP_Customize_Widgets.
`isset()` is enough to check for the property existence here.

Follow-up to [60279].

See #63168.
Built from https://develop.svn.wordpress.org/trunk@60290


git-svn-id: http://core.svn.wordpress.org/trunk@59626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-06 09:44:26 +00:00
Sergey Biryukov
d062830aed Docs: Clarify description for ::create_upload_object in the attachment test factory.
Follow-up to [34855], [44497].

See #63166.
Built from https://develop.svn.wordpress.org/trunk@60289


git-svn-id: http://core.svn.wordpress.org/trunk@59625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-06 09:31:30 +00:00
Peter Wilson
2865631851 Users: Prevent creating of empty usernames after sanitization.
Introduces a check in `wp_insert_user()` to ensure the username doesn't have a length of zero after sanitization removes invalid characters.

Props kalpeshh, missveronicatv, rayhatron, rinkalpagdar, sergeybiryukov, thehercules.
Fixes #57635.


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


git-svn-id: http://core.svn.wordpress.org/trunk@59624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-06 08:31:29 +00:00
Aaron Jorbin
410b4b0e2e Build/Test Tools: Remove unused import.
In [59279], this import was added but never used, likely since it was also imported as `local_env_uitls` on the next line.

Props yogeshbhutkar, mukesh27.
Fixes #63477. See #61218.

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


git-svn-id: http://core.svn.wordpress.org/trunk@59623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-05 20:04:30 +00:00
joedolson
03720cec5c Administration: Hide skip to toolbar link on small viewports.
Since r55326, the admin sidebar autocloses on small viewports when focus exits the sidebar. Because of this, there is no case where the Skip to Toolbar link will have any function on small viewports.

Props sabernhardt, abcd95, alh0319, mleray, joedolson.
Fixes #63286.
Built from https://develop.svn.wordpress.org/trunk@60286


git-svn-id: http://core.svn.wordpress.org/trunk@59622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-05 14:03:49 +00:00
desrosj
c90cef9097 Media: Remove inline scripts targeting IE < 9.
In #24902, an inline script was introduced to `wp_playlist_scripts()`, `wp_audio_shortcode()`, and `wp_video_shortcode()` for HTML5 compatibility in browsers running IE 8 and earlier.

These browsers have long been unsupported by WordPress, and unsupported by Microsoft for 9 years or more. So this compatibility code is no longer necessary and can safely be removed.

Hit the road, Jack, and don't ya come back no more, no more, no more, no more!

Props aslamdoctor, mindctrl, nigelnelles, joedolson.
Fixes #63471.
Built from https://develop.svn.wordpress.org/trunk@60285


git-svn-id: http://core.svn.wordpress.org/trunk@59621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-05 14:02:27 +00:00
audrasjb
aed26a6174 Users: Update label from "Admin Color Scheme" to "Administration Color Scheme".
This prevents confusion between "Admin" as a user role and "Admin" when speaking about the dashboard itself.

Props ckoerner, audrasjb, debarghyabanerjee, SergeyBiryukov, corazondejaguar, pedrofigueroa1989.
Fixes #63048.


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


git-svn-id: http://core.svn.wordpress.org/trunk@59620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-05 12:51:24 +00:00
joedolson
28519484b3 Users: A11y: Use autocomplete attributes for user name and email.
Support autocomplete attributes on user's own profile to improve accessibility. Helps user profile management meet accessibility criteria regarding user input purpose and aids users with mobility impairments.

Props greatislander, umeshsinghin, jorbin, lukasfritzedev, joedolson.
Fixes #63286.
Built from https://develop.svn.wordpress.org/trunk@60283


git-svn-id: http://core.svn.wordpress.org/trunk@59619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-05 12:49:38 +00:00
Sergey Biryukov
9a17bba551 Coding Standards: Remove redundant ! empty() check in is_object_in_term().
If `$object_terms` is empty, the immediately preceding code block causes the function to return early.

Follow-up to [8131], [10159].

Props justlevine.
See #63268.
Built from https://develop.svn.wordpress.org/trunk@60282


git-svn-id: http://core.svn.wordpress.org/trunk@59618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-05 11:01:26 +00:00
Adam Silverstein
56381ccf78 Media: remove swfupload flash fallback for media uploads.
Remove swfobject and swfupload. These scripts are no longer supported and Flash is dead.

Props sainathpoojary, audrasjb, mkeck, tabrisrp. 

Fixes #52699.


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


git-svn-id: http://core.svn.wordpress.org/trunk@59617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-05 10:14:26 +00:00
joedolson
8c7a8fdce8 Themes: A11y: Fix scroll jump when closing modal navigation.
Fix an issue where navigation and search modals triggered an undesirable scroll behavior if triggered while the page was not scrolled all the way to the top.

Props kjellr, nikunj8866, sabernhardt, karmatosed, sainathpoojary, joedolson.
Fixes #52116.
Built from https://develop.svn.wordpress.org/trunk@60280


git-svn-id: http://core.svn.wordpress.org/trunk@59616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-05 09:04:28 +00:00
audrasjb
497047a10c Customize: Prevent errors occuring with Classic Theme without Widgets.
This changeset prevents the customizer from displaying a warning when a classic theme has no widget area.

Props ArtZ91, SirLouen, audrasjb, dilipbheda.
Fixes #63151.


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


git-svn-id: http://core.svn.wordpress.org/trunk@59615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-05 08:45:33 +00:00
Adam Silverstein
d90e6eb924 Site Health: add image output mapping details to the info tab.
Add details to the info tab under media handling to show the mapping from uploaded image types to output types.

Props ironprogrammer, yogeshbhutkar.

Fixes #63047.


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


git-svn-id: http://core.svn.wordpress.org/trunk@59614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-05 08:16:27 +00:00
desrosj
be29ea5da9 Build/Test Tools: Test against the latest innovation releases.
The latest MySQL innovation release is now `9.3`, and the latest MariaDB innovation release (also known as a “rolling release”) is `11.7`.

This updates the test matrices and the `.version-support-mysql.json` accordingly.

Props peterwilsoncc.
See #63167.
Built from https://develop.svn.wordpress.org/trunk@60277


git-svn-id: http://core.svn.wordpress.org/trunk@59613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-05 07:55:30 +00:00
Sergey Biryukov
d4d9284227 Docs: Correct alignment for some translator comments.
Follow-up to [49154].

See #63166.
Built from https://develop.svn.wordpress.org/trunk@60276


git-svn-id: http://core.svn.wordpress.org/trunk@59612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-04 22:21:37 +00:00
John Blackbourn
41e25d6802 General: Various fixes to the correctness of code and documentation reported by PHPStan.
Props justlevine

See #63268
Built from https://develop.svn.wordpress.org/trunk@60275


git-svn-id: http://core.svn.wordpress.org/trunk@59611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-03 16:51:33 +00:00
Sergey Biryukov
f11ca907a0 Site Health: Explicitly deprecate WP_Debug_Data::get_sizes(), unused since WP 5.6.
Follow-up to [49154], [60272].

Props yashjawale, dhruvang21, ankitkumarshah, SergeyBiryukov.
Fixes #63516.
Built from https://develop.svn.wordpress.org/trunk@60274


git-svn-id: http://core.svn.wordpress.org/trunk@59610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-03 14:23:32 +00:00
Sergey Biryukov
f53d5c599c General: Adjust WP_Community_Events::format_event_data_time() deprecation.
`_deprecated_function()` does not support a custom message, which appears to be redundant here, as the method's DocBlock already indicates that it is unused as of WordPress 5.5.2.

Includes correcting the version in the `@deprecated` tag.

Follow-up to [49146], [49201].

Props dhruvik18, dhruvang21, rollybueno, SirLouen, SergeyBiryukov.
Fixes #63511.
Built from https://develop.svn.wordpress.org/trunk@60273


git-svn-id: http://core.svn.wordpress.org/trunk@59609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-02 15:00:28 +00:00
Sergey Biryukov
46acc4afff Docs: Mark WP_Debug_Data::get_sizes() as deprecated in WordPress 5.6.
Follow-up to [49154].

See #63166.
Built from https://develop.svn.wordpress.org/trunk@60272


git-svn-id: http://core.svn.wordpress.org/trunk@59608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-01 20:45:31 +00:00
audrasjb
661df76c83 Docs: Improve inline docs params for various category template tags functions.
Props dilipbheda, audrasjb, mukesh27.
Fixes #63225.
See #63166.


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


git-svn-id: http://core.svn.wordpress.org/trunk@59607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-01 07:22:27 +00:00
Sergey Biryukov
eaf61cb8cc Docs: Correct the order of parameters in some cache functions used by unit tests.
Follow-up to [40561].

Props truptikanzariya, rutvikbhambhi2004, nareshbheda, sabernhardt, mukesh27.
Fixes #63497.
Built from https://develop.svn.wordpress.org/trunk@60270


git-svn-id: http://core.svn.wordpress.org/trunk@59606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-05-31 23:58:29 +00:00
audrasjb
6a7b277ecc Users: Add support for Initials and Color Gravatar images in default user profile pics.
Gravatar includes support for Initials and Color auto-generated images. This changeset adds them to the built-in feature for user profile images.

Props haozi, audrasjb, getsyash, valentingrenier.
Fixes #63087.
See #57493.


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


git-svn-id: http://core.svn.wordpress.org/trunk@59605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-05-30 17:02:27 +00:00
joedolson
369d812d23 Upgrade/Install: Avoid setting focus on password during install.
On the installation screen, focus was set first to the site title field, then moved to the password field. Autofocus should only ever be moved to the first field of a form, so that screen reader users don't miss important fields.

Fix by checking whether the site title field is present before setting password field focus.

Props zodiac1978, himanshupathak95, abcd95, joedolson.
Fixes #63281.
Built from https://develop.svn.wordpress.org/trunk@60268


git-svn-id: http://core.svn.wordpress.org/trunk@59604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-05-30 16:37:48 +00:00
audrasjb
09758ea71f Administration: Improve comment actions alignment in the Activity Widget.
This changeset improves comment actions alignement on small screens for the Dashboard Activity Widget.

Props sainathpoojary, valentingrenier, cedche99, quentinr64600.
Fixes #63277.


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


git-svn-id: http://core.svn.wordpress.org/trunk@59603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-05-30 16:36:25 +00:00
audrasjb
abdace2115 Media: Fix overflow of long user display names on Edit Media screen.
This changeset resolves an issue where long usernames in the media uploader modal would overflow their container. By adding the dedicated `word-wrap-break-word` class, usernames now properly break into multiple lines.

Follow-up to [59834], [59835].

Props sainathpoojary, audrasjb, sabernhardt, renishsurani, SirLouen, valentingrenier.
Fixes #63243.


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


git-svn-id: http://core.svn.wordpress.org/trunk@59602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-05-30 16:26:37 +00:00
Sergey Biryukov
e8a19e8976 Docs: Document the $wp_version global in update_core().
Follow-up to [17576], [22226], [31124], [32643], [39687].

Props upadalavipul, mukesh27, johnbillion, SergeyBiryukov.
Fixes #63496.
Built from https://develop.svn.wordpress.org/trunk@60265


git-svn-id: http://core.svn.wordpress.org/trunk@59601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-05-30 13:38:32 +00:00
John Blackbourn
ca29540645 Docs: Improvements and corrections to documentation relating to metadata.
See #63166
Built from https://develop.svn.wordpress.org/trunk@60264


git-svn-id: http://core.svn.wordpress.org/trunk@59600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-05-29 23:09:28 +00:00
joedolson
ca659bb9bc Media: Screen reader improvements for upload media errors.
Add a screen reader announcement when a media upload fails. Also add an announcement when dismissing upload errors, and improve the labeling context of the dismiss error button to explicitly identify which error will be dismissed.

Props joedolson, navi161, yogeshbhutkar, rishavdutta.
Fixes #63114.
Built from https://develop.svn.wordpress.org/trunk@60263


git-svn-id: http://core.svn.wordpress.org/trunk@59599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-05-29 19:53:29 +00:00
Sergey Biryukov
c012f14c0b Docs: Document the $wp_theme_directories global in wp_is_block_theme().
Follow-up to [52069], [52330].

Props upadalavipul.
See #63496.
Built from https://develop.svn.wordpress.org/trunk@60262


git-svn-id: http://core.svn.wordpress.org/trunk@59598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-05-29 18:28:30 +00:00
Sergey Biryukov
eea226f70f Docs: Improve documentation for WP_Filesystem_FTPext::parselisting().
Includes:
* Adding a summary for the method.
* Documenting the `$line` parameter.
* Documenting the case when an empty string is returned.

Follow-up to [7126], [30678], [55714].

Props opurockey, abcd95, SergeyBiryukov.
Fixes #63491.
Built from https://develop.svn.wordpress.org/trunk@60261


git-svn-id: http://core.svn.wordpress.org/trunk@59597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-05-28 10:49:37 +00:00
joedolson
5e1454dd91 Embeds: Increase color contrast on preview content.
Fix the color contrast in the post embed template for the post excerpt, site title link, comments count, comments and share icons, continue reading link, and related hover states.

Props rishit30g, sabernhardt, getsyash, swissspidy, SirLouen, joedolson.
Fixes #63460.
Built from https://develop.svn.wordpress.org/trunk@60260


git-svn-id: http://core.svn.wordpress.org/trunk@59596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-05-28 01:00:32 +00:00
joedolson
a882c300da Revisions: Improve revisions layout on mobile viewports.
On small screens, the restore revision button was mostly hidden due to excessive constraints on overflow height. Fix the overflow issue and ensure that restore revision buttons are always usable. 

Props yogeshbhutkar, getsyash, joedolson.
Fixes #63029.
Built from https://develop.svn.wordpress.org/trunk@60259


git-svn-id: http://core.svn.wordpress.org/trunk@59595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-05-28 00:49:34 +00:00
Aaron Jorbin
eb6737146a Plugins: Clarify documentation for when current_action and current_filter can return false.
If `current_action` or `current_filter` is called outside of an action/filter, then these functions will return false.

Props debarghyabanerjee, mukesh27, peterwilsoncc, SirLouen.
Fixes #63479.

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


git-svn-id: http://core.svn.wordpress.org/trunk@59594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-05-27 15:53:29 +00:00
Aaron Jorbin
fff2fd34f4 Build/Test: Restore PHPCompat scan to correct version.
Reverts [60256].

Unprops jorbin.
Props johnbillion.

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


git-svn-id: http://core.svn.wordpress.org/trunk@59593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-05-27 15:39:27 +00:00
Aaron Jorbin
6ff9c352d9 Bump PHP Compat scan to 7.4
WordPress bumped it's minimum version to 7.4 in [57985] but the compatibility scan was still searching for issues that would only happen in 7.2 and 7.3.

See #58719, #63167.

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


git-svn-id: http://core.svn.wordpress.org/trunk@59592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-05-27 15:32:31 +00:00
Sergey Biryukov
7faba13ae1 Filesystem API: Remove unused code in WP_Filesystem_FTPext::parselisting().
Follow-up to [7126].

Props viralsampat.
Fixes #63485.
Built from https://develop.svn.wordpress.org/trunk@60255


git-svn-id: http://core.svn.wordpress.org/trunk@59591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-05-27 12:41:35 +00:00
John Blackbourn
4f4928f69e Docs: Correct the description of the wpdb::process_field_formats() return value.
See #63166
Built from https://develop.svn.wordpress.org/trunk@60254


git-svn-id: http://core.svn.wordpress.org/trunk@59590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-05-26 21:47:32 +00:00
John Blackbourn
90b7e1792f Build/Test Tools: Increase shared user fixtures following switch to bcrypt hashing.
User creation is somewhat more expensive since switching the default password hashing algorithm to bcrypt in 6.8. This speeds up the tests by making more use of shared user fixtures, thus reducing the number of users that are created during tests.

Props peterwilsoncc.

See #63026
Built from https://develop.svn.wordpress.org/trunk@60253


git-svn-id: http://core.svn.wordpress.org/trunk@59589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-05-26 14:36:30 +00:00
Sergey Biryukov
75ca090ac2 Administration: Remove unused and commented out HTML code in touch_time().
Follow-up to [7338], [29206].

Props umesh.nevase, abcd95.
Fixes #63476.
Built from https://develop.svn.wordpress.org/trunk@60252


git-svn-id: http://core.svn.wordpress.org/trunk@59588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-05-26 13:21:29 +00:00