Follow-up to [48039], [48283], [48749], [48757], [48758].
This brings the changes to the 5.5 branch.
Props TimothyBlynJacobs, SergeyBiryukov, whyisjake.
Fixes#37011.
git-svn-id: https://develop.svn.wordpress.org/branches/5.5@48759 602fd350-edb4-49c9-b593-d223f7449a82
This ensures that the canonical name of the filter is used in Site Health debug data, as well as on plugin and theme screens, so the developer reference site remains correct.
This brings the changes from [48750] to the 5.5 branch.
Props johnbillion.
Fixes#50868, see [48750].
git-svn-id: https://develop.svn.wordpress.org/branches/5.5@48756 602fd350-edb4-49c9-b593-d223f7449a82
To accommodate for the change, the custom-logo theme feature now accepts the unlink-homepage-logo parameter.
If and when the logo is linked on the home page, the link has the aria-current attribute for better accessibility.
Follow-up to [48039], [48283], see [48749].
This brings the changes to the 5.5 branch.
Props sabernhardt, audrasjb, johnstonphilip, demetris, SergeyBiryukov.
Fixes#37011.
git-svn-id: https://develop.svn.wordpress.org/branches/5.5@48755 602fd350-edb4-49c9-b593-d223f7449a82
This ensures that comment object cache is cleared after changing the comment type to `comment` instead of an empty string.
Add a unit test for `_wp_batch_update_comment_type()`.
Follow-up to [47597], [47626], [48225], [48227].
Props imath, westonruter.
Reviewed by desrosj, SergeyBiryukov.
Merges [48748] and [48751] to the 5.5 branch.
Fixes#49236.
git-svn-id: https://develop.svn.wordpress.org/branches/5.5@48752 602fd350-edb4-49c9-b593-d223f7449a82
Previously, some instances of the filter received an array from a plugin or theme update response, potentially triggering PHP notices.
Merges [48745] to the 5.5 branch.
Reviewed by desrosj, SergeyBiryukov.
Props bpayton, pbiron.
Fixes#50852.
git-svn-id: https://develop.svn.wordpress.org/branches/5.5@48747 602fd350-edb4-49c9-b593-d223f7449a82
Remove some unnecessary CSS.
Follow-up to [48730].
Props ryelle.
Reviewed by whyisjake, SergeyBiryukov.
Merges [48736] to the 5.5 branch.
See #50416.
git-svn-id: https://develop.svn.wordpress.org/branches/5.5@48737 602fd350-edb4-49c9-b593-d223f7449a82
The string refers to the installation, and belongs in the `::install_strings()` method, not in `::upgrade_strings()`.
Props sswebster, nateinaction.
Reviewed by whyisjake, SergeyBiryukov.
Merges [48734] to the 5.5 branch.
Fixes#50837.
git-svn-id: https://develop.svn.wordpress.org/branches/5.5@48735 602fd350-edb4-49c9-b593-d223f7449a82
Properly filter auto_update_plugin when displaying the table.
This brings the changes from [48731] to the 5.5 branch.
Fixes#50822.
Props Gwendydd, pbiron, audrasjb, SergeyBiryukov, whyisjake.
git-svn-id: https://develop.svn.wordpress.org/branches/5.5@48732 602fd350-edb4-49c9-b593-d223f7449a82
Keep 1024-bit legacy root certificates re-added in [35919], except for those already expired, for compatibility with older OpenSSL versions.
Props barry, ayeshrajans, desrosj, whyisjake.
Reviewed by whyisjake, SergeyBiryukov.
Merges [48707] to the 5.5 branch.
See #50828.
git-svn-id: https://develop.svn.wordpress.org/branches/5.5@48708 602fd350-edb4-49c9-b593-d223f7449a82
As certain plugins may not support updates, this count needs to accurately reflect that in the navbar.
This brings the changes from [48703] to the WordPress 5.5 branch.
Fixes 50808.
Props knutsp, audrasjb, pbiron, dd32, apedog, afragen, chriscct7, garyc40, whyisjake, SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/branches/5.5@48704 602fd350-edb4-49c9-b593-d223f7449a82
As auto-updates are rolled out across WordPress.org, the API response can modulate the response, ensuring that a rolled out could be stalled or staggered if needed for security or performance reasons.
This brings the changes from [48701] to the 5.5 branch.
Fixes#50824.
Props dd32, whyisjake, SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/branches/5.5@48702 602fd350-edb4-49c9-b593-d223f7449a82
Similar to the changes for plugins in [48669], let's only show the UI for themes when updates are supported for that theme.
This brings the changes from [48688] to the 5.5 branch.
See #50280.
Props dd32.
git-svn-id: https://develop.svn.wordpress.org/branches/5.5@48698 602fd350-edb4-49c9-b593-d223f7449a82
Adds better tooling for when user specific plugins can be updated, but platform specific ones cannot.
This brings [48696] to the 5.5 branch.
Fixes#50821.
Props bpayton, pbiron, audrasjb, SergeyBiryukov, whyisjake.
git-svn-id: https://develop.svn.wordpress.org/branches/5.5@48697 602fd350-edb4-49c9-b593-d223f7449a82
Follow-up to [48675].
Props ocean90, audrasjb, kittmedia, nao.
Reviewed by desrosj, SergeyBiryukov.
Merges [48686] to the 5.5 branch.
See #50416.
git-svn-id: https://develop.svn.wordpress.org/branches/5.5@48691 602fd350-edb4-49c9-b593-d223f7449a82
This applies to the Themes screen in Multisite network admin.
Follow-up to [48660].
Props pbiron, afragen.
Reviewed by peterwilsoncc, SergeyBiryukov.
Merges [48689] to the 5.5 branch.
Fixes#48507. See #48491.
git-svn-id: https://develop.svn.wordpress.org/branches/5.5@48690 602fd350-edb4-49c9-b593-d223f7449a82
Follow-up to [48390].
Props afragen, sabernhardt.
Reviewed by desrosj, SergeyBiryukov.
Merges [48685] to the 5.5 branch.
Fixes#9757.
git-svn-id: https://develop.svn.wordpress.org/branches/5.5@48687 602fd350-edb4-49c9-b593-d223f7449a82
This removes the toggle UI when updates aren't available. When plugins use the filter, the UI is updated to show that they are being controlled via code. And then removed entirely when not available.
See #50798.
Fixes#50280.
Props elrae, pbiron, SergeyBiryukov, audrasjb, azaozz, StephenCronin, whyisjake, dd32, TimothyBlynJacobs, desrosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@48669 602fd350-edb4-49c9-b593-d223f7449a82
Since `wp_get_environment_type()` runs too early for plugins to hook these filters, and the result is then cached in a static variable and cannot be changed later, the filters are not that useful.
The `WP_ENVIRONMENT_TYPES` and `WP_ENVIRONMENT_TYPE` constants and environment variables should be enough for now.
Follow-up to [47919], [48188], [48372].
Props Clorith, SergeyBiryukov.
Fixes#33161.
git-svn-id: https://develop.svn.wordpress.org/trunk@48662 602fd350-edb4-49c9-b593-d223f7449a82