`_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
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
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
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
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
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
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
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
Several tests perform assertions conditionally or iterate dynamic arrays without ensuring they're populated. If the test is faulty and the condition never evaluates to true, or the array being iterated is unexpectedly empty, this will now correctly cause the test to fail.
Props johnbillion, jrf.
See #63167
Built from https://develop.svn.wordpress.org/trunk@60251
git-svn-id: http://core.svn.wordpress.org/trunk@59587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Add additional logic to correctly identify indexed PNG images so output PNGs correctly match the uploaded image depth.
Fix a regression introduced in WordPress 6.8 [59589] where uploaded Truecolor PNG images (meaning > 8 bit) were mis-identified as indexed (8 bit) images, causing output images to be indexed instead of Truecolor resulting in a noticeable visual degradation.
Props elvismdev, wildworks, SirLouen, siliconforks, joemcgill, iamshashank, nosilver4u.
Fixes#63448.
Built from https://develop.svn.wordpress.org/trunk@60246
git-svn-id: http://core.svn.wordpress.org/trunk@59582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This aims to bring consistency with the General Settings screen, where these fields are disabled (read-only) if the `WP_SITEURL` and `WP_HOME` constants are defined in `wp-config.php`.
Follow-up to [208], [5093], [5394].
Props dilipbheda, Presskopp, SergeyBiryukov.
Fixes#63341.
Built from https://develop.svn.wordpress.org/trunk@60237
git-svn-id: http://core.svn.wordpress.org/trunk@59573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Introduces support for Emoji 16:
- replaces emoji support test with splatter ,
- replaces two letter coded flag support test with Sark 🇨🇶,
- introduces the function `emojiRendersEmptyCenterPoint()` to the emoji loader to enable testing of emoji with a single data point.
Not to harp on about it, but Emoji 16 is perfect for tiring yourself out digging up root vegetables while visiting Sark 🇨🇶.
Props westonruter, kraftbj, pento, JeffPaul, abcd95, SergeyBiryukov, dd32, peterwilsoncc.
Fixes#63324.
Built from https://develop.svn.wordpress.org/trunk@60227
git-svn-id: http://core.svn.wordpress.org/trunk@59563 1a063a9b-81f0-0310-95a4-ce76da25c4cd