Commit Graph

20821 Commits

Author SHA1 Message Date
audrasjb
4f965a7ad0 Docs: Fix since declaration in get_test_search_engine_visibility() docblock.
See #63375.


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


git-svn-id: http://core.svn.wordpress.org/trunk@59866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-31 23:11:21 +00:00
audrasjb
3930f78020 Site Health: Add a test and the related notice for the Search Engine Visibility setting.
This changeset adds a new Site Health test to make site owners more aware when search engines are discouraged from indexing their sites.
It also increases the visibility of the related Dashboard widget notice.

Changes:
- Adds a new Site Health test under the "Privacy" category to check whether search engines are discouraged
- Displays "recommended" status when search engines are discouraged, with clear messaging to review settings
- Provides a direct link to the Reading Settings page to change this option
- Use a red/alert color to the dashicon used on the Dashboard widget notice

Props jeffr0, newyorkerlaura, joedolson, codente, abcd95, andrewhoyer, SirLouen, johnbillion, mymothersdaughter, audrasjb, Emlebrun, gaeldenysiak, beryldlg, Spaceshipone, coralietixeront, peterwilsoncc.
Fixes #63375.


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


git-svn-id: http://core.svn.wordpress.org/trunk@59865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-31 23:09:27 +00:00
audrasjb
dd37da8585 Plugins: Move the Add Plugins screen description above the filter menu.
This changeset moves the Add Plugins screen general description above the filter menu. It also rephrases a bit the wording of this description.

Props Presskopp, audrasjb, dhruvang21, shailu25.
Fixes #63723.


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


git-svn-id: http://core.svn.wordpress.org/trunk@59864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-31 22:49:33 +00:00
audrasjb
37542ac0e1 Docs: Typo correction and comment improvement in color-picker.css.
Props mujuonly, sabernhardt, dhruvang21.
Fixes #63196.
See #63166.


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


git-svn-id: http://core.svn.wordpress.org/trunk@59862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-31 17:34:26 +00:00
Peter Wilson
998fd4dac5 Media: Modify escaping used for upload image announcements.
Replaces `esc_js()` with `wp_json_encode()` for escaping the screen reader announcement when a media upload fails. As the code is within a `<script>` tag rather than an inline script handler, the `esc_js()` function would cause special characters to be announced in their HTML encoded form rather than as the character, eg `&` would be announced as `&amp;`.

Follow up to [60263].

Props peterwilsoncc, joedolson.
Fixes #63114.

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


git-svn-id: http://core.svn.wordpress.org/trunk@59856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-29 01:25:29 +00:00
joedolson
f819b81d25 Media: Add gap between Crop apply controls when stacked.
Switch the display of the Media editor Crop controls to `flexbox` and add a gap of 4px in both column and row directions. Gives space between buttons when they are stacked.

Props presskopp, audrasjb, rishabhwp, joedolson.
Fixes #63672.
Built from https://develop.svn.wordpress.org/trunk@60517


git-svn-id: http://core.svn.wordpress.org/trunk@59853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-28 02:08:26 +00:00
joedolson
caf07c5d31 General: Prevent Media & Theme modals from events on modified arrow keys.
Change the left and right arrow key navigation used in the Theme and Media modal interfaces so the events don't fire when `shift` or `ctrl` are also pressed.

Includes tests.

Props praful2111, hiteshtalpada, joemcgill, sandeepdahiya, abcd95, joedolson.
Fixes #63126.
Built from https://develop.svn.wordpress.org/trunk@60516


git-svn-id: http://core.svn.wordpress.org/trunk@59852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-28 00:40:25 +00:00
John Blackbourn
e6b6fd3b17 Posts, Post Types: Add a filter to the post statuses available in Quick Edit and Bulk Edit.
Props kakomap, SirLouen, iamadisingh, mukesh27

Fixes #36237
Built from https://develop.svn.wordpress.org/trunk@60512


git-svn-id: http://core.svn.wordpress.org/trunk@59848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-25 15:17:22 +00:00
Sergey Biryukov
b322832f3b Docs: Correct the type for $tax global in WP_Terms_List_Table::__construct().
Follow-up to [32642].

Props yashjawale.
Fixes #63742.
Built from https://develop.svn.wordpress.org/trunk@60498


git-svn-id: http://core.svn.wordpress.org/trunk@59834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-23 17:00:41 +00:00
johnjamesjacoby
339e1e90e2 Multisite: Enforce consistent types on ID columns in multisite database tables, to better allow for foreign keys to more reliably be defined between them.
This change adjusts the install & upgrade routines so all of ID-based database columns in the multisite database tables are `unsigned`, bringing them up-to-speed with ID-based columns in single-site tables.

Additionally, the `$wp_db_version` number is bumped, and the `pre_schema_upgrade()` upgrade function is modified to accommodate & use that new version.

Follow-up to [10852].

Props spacedmonkey, johnjamesjacoby.

Fixes #40418.
Built from https://develop.svn.wordpress.org/trunk@60497


git-svn-id: http://core.svn.wordpress.org/trunk@59833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-22 17:48:32 +00:00
johnjamesjacoby
e508ad2b08 Taxonomy: Filter the arguments passed into wp_dropdown_categories() in the Categories post edit metabox AJAX request output.
This commit fixes a bug that caused differing dropdown results between AJAX & non-AJAX output, when using the `post_edit_category_parent_dropdown_args` hook.

(That hook is documented inside of the `post_categories_meta_box()` function, introduced via r33682 and #33026.)

Props obiplabon, birgire.

Fixes #44343.
Built from https://develop.svn.wordpress.org/trunk@60492


git-svn-id: http://core.svn.wordpress.org/trunk@59828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-21 18:17:24 +00:00
Sergey Biryukov
ead6495be5 Docs: Fix typo in get_udims() description.
Follow-up to [6309], [8912], [9119], [18632].

Props bhaveshdesai, sabernhardt, mukesh27.
Fixes #63704.
Built from https://develop.svn.wordpress.org/trunk@60488


git-svn-id: http://core.svn.wordpress.org/trunk@59824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-19 11:52:31 +00:00
joedolson
105213123d Customize: Fix keyboard a11y on back button.
Following [59224], the back button for section navigation was no longer keyboard navigable. This was caused by an accidental removal of scripts that conditionally handled the `tabindex` value of this control to make it focusable only when visible.

Fixes the issue by restoring code removed in [59224].

Props wildworks, poojapadamad, abcd95, ankitmaru, iamshashank, sourabhjain, joedolson.
Fixes #63011.
Built from https://develop.svn.wordpress.org/trunk@60482


git-svn-id: http://core.svn.wordpress.org/trunk@59818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-18 03:11:30 +00:00
joedolson
3793daf8ca Administration: Fix color contrast code in .description.
Fix a color contrast failure by changing the color of `code` elements inside form description fields to `#50575e`.

Props sainathpoojary, pmbaldha, sabernhardt, joedolson.
Fixes #63449.
Built from https://develop.svn.wordpress.org/trunk@60481


git-svn-id: http://core.svn.wordpress.org/trunk@59817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-17 15:39:30 +00:00
Sergey Biryukov
b42336c2f7 Coding Standards: Remove redundant check in insert_with_markers().
The check in the `elseif` branch would always be true, as the preceding `if` is for `! $found_marker`.

Follow-up to [34740].

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


git-svn-id: http://core.svn.wordpress.org/trunk@59816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-17 11:57:31 +00:00
joedolson
2c4fe39c44 General: Add missing closing li in plugin editor.
Adds a missing closing `li` tag in the plugin editor file list.

Props dkarfa, pmbaldha, sandeepdahiya, cikrimcin, westonruter, audrasjb, joedolson.
Fixes #63546.
Built from https://develop.svn.wordpress.org/trunk@60479


git-svn-id: http://core.svn.wordpress.org/trunk@59815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-17 00:42:43 +00:00
Sergey Biryukov
7fe38f1ff6 Coding Standards: Remove redundant check in wp_read_image_metadata().
This logical branch is only reachable if `$exif_description` is already verified as truthy a few lines above.

Follow-up to [57267].

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


git-svn-id: http://core.svn.wordpress.org/trunk@59811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-16 12:57:36 +00:00
Dominik Schilling
cafb8269ac Media: Disable upload button in browser's built-in file uploader if no file is selected.
Props karinchristen, krokodok, stefanvelthuys, hubersen, joedolson, mukesh27, rollybueno, ocean90.
Fixes #63561.

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


git-svn-id: http://core.svn.wordpress.org/trunk@59785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-12 15:26:28 +00:00
Sergey Biryukov
6eb679999f Coding Standards: Remove redundant check in wp-admin/nav-menus.php.
The `$add_new_screen` variable is already checked as falsey a few lines above, and is a prerequisite for reaching this code.

Follow-up to [51539].

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


git-svn-id: http://core.svn.wordpress.org/trunk@59776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-08 13:23:35 +00:00
Aaron Jorbin
db50ff98ec Pings/Trackbacks: Use HTTPS for services that now support it.
This updates the default on new installations for rpc.pingomatic.com to use https  while also upgrading existing sites that use rpc.pingomatic.com or rpc.twingly.com to use https for those two domains.

Props sabernhardt, peterwilsoncc, jorbin, bhubbard, matt.
Fixes #42007.


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


git-svn-id: http://core.svn.wordpress.org/trunk@59757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-07 18:05:31 +00:00
Sergey Biryukov
11c31a3bbe Coding Standards: Remove redundant check in WP_Upgrader:maintenance_mode().
The first part of the conditional checks if `$enable` is truthy, so it is always false in the `elseif`.

Follow-up to [11005].

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


git-svn-id: http://core.svn.wordpress.org/trunk@59753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-06 16:42:35 +00:00
John Blackbourn
e00c5f086c Docs: Add a few missing @since tags.
See #63166
Built from https://develop.svn.wordpress.org/trunk@60416


git-svn-id: http://core.svn.wordpress.org/trunk@59752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-06 11:57:35 +00:00
johnjamesjacoby
8fa2f85596 Networks and Sites: Add support for file/upload type inputs on the "New Site" screen.
This change allows plugins to add files when creating sites via the network-admin "New Site" form.

* Adds `enctype="multipart/form-data"` to the form in `wp-admin/network/site-new.php`.
* Supports `input type="file"` fields in this form (via the `network_site_new_form` action).

Props johnjamesjacoby, sakibmoon, sirlouen, realloc.

Fixes #62086.
Built from https://develop.svn.wordpress.org/trunk@60398


git-svn-id: http://core.svn.wordpress.org/trunk@59734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-30 19:02:25 +00:00
John Blackbourn
60f3d7ed11 Docs: Documentation and i18n string improvements relating to MySQL and server requirements.
See #63166
Built from https://develop.svn.wordpress.org/trunk@60363


git-svn-id: http://core.svn.wordpress.org/trunk@59699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-29 20:55:36 +00:00
John Blackbourn
86a3dbf668 Networks and Sites: Correct and improve terminology relating to deactivated, deleted, and archived sites on a Multisite installation.
* Deleting a site is permanent action, so the terminology around site deletion has been updated to reflect that.
* Site deactivation has been renamed to "Flag for Deletion", and a site with this status is no longer incorrectly shown as "Deleted".
* Extra helper text has been added to the screen shown when changing a site's status to make the effects clearer to Super Admins.

Props kawauso, ryan_b, wonderboymusic, nacin, DrewAPicture, martythornley, SergeyBiryukov, jeremyfelt, ideag, jorbin, sukhendu2002, johnbillion, realloc.

Fixes #15801
Built from https://develop.svn.wordpress.org/trunk@60358


git-svn-id: http://core.svn.wordpress.org/trunk@59694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-27 15:09:32 +00:00
Sergey Biryukov
066852ca44 Coding Standards: Explicitly return null in functions saving URL rewrite rules.
This matches the documented `@return` type in `save_mod_rewrite_rules()` and `iis7_save_url_rewrite_rules()`.

Follow-up to [12726], [17328], [43362].

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


git-svn-id: http://core.svn.wordpress.org/trunk@59689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-26 13:06:31 +00:00
Sergey Biryukov
dc6577a932 Coding Standards: Remove unnecessary isset() check in Custom_Image_Header::step_2().
The only path where `$oitar` is not set returns in an earlier conditional.

Follow-up to [20806].

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


git-svn-id: http://core.svn.wordpress.org/trunk@59687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-25 14:18:39 +00:00
Sergey Biryukov
dbcc21613d Coding Standards: Remove unnecessary isset() check in wp-admin/post.php.
`wp_die()` is called a few lines earlier if `$post_type_object` is falsey.

Follow-up to [12597], [17169], [24201].

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


git-svn-id: http://core.svn.wordpress.org/trunk@59680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-24 12:49:30 +00:00
desrosj
5f0b04a44c Site Health: Bump the recommended version of MariaDB to 10.6.
Version `10.5` of MariaDB will reach end of life on 24 June 2025.

MariaDB 10.6 is the next oldest LTS version still receiving support upstream and is now the recommended minimum version.

Props vipulgupta003.
See #63587.
Built from https://develop.svn.wordpress.org/trunk@60319


git-svn-id: http://core.svn.wordpress.org/trunk@59655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-18 12:12:29 +00:00
Sergey Biryukov
3e80de5288 Coding Standards: Remove extra empty() in request_filesystem_credentials().
This commit removes an unnecessary `empty( $connection_type )` check, as the left side of the same conditional already accounts for a possibly empty value.

Follow-up to [37467].

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


git-svn-id: http://core.svn.wordpress.org/trunk@59645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-14 05:04:28 +00:00
John Blackbourn
90d0955974 Login and Registration: Ensure a revealed password is reverted to the password input type upon form submission.
This means if a password has been toggled to visible by the user, or is visible by default, it gets reverted to the `password` type to prevent browsers from remembering it as a previously-provided value and potentially displaying it as an autofill option on non-password inputs.

Props jamieburchell, sukhendu2002, vgnavada

Fixes #62147
Built from https://develop.svn.wordpress.org/trunk@60306


git-svn-id: http://core.svn.wordpress.org/trunk@59642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-13 10:37:29 +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
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
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
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
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
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
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
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
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
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