whyisjake
a428042e49
Coding standards: Modify escaping functions to avoid potential false positives.
...
Props xknown, zieladam, peterwilsoncc.Y
Built from https://develop.svn.wordpress.org/branches/5.5@49375
git-svn-id: http://core.svn.wordpress.org/branches/5.5@49134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-29 16:58:05 +00:00
tellyworth
542c3d4bb1
Community Events: Display dates and times in the user's time zone.
...
Fixes #51130
Merges [49145], [49146], [49147], [49152], and [49201] to the 5.5 branch.
Props sippis, hlashbrooke, audrasjb, Rarst, iandunn
Built from https://develop.svn.wordpress.org/branches/5.5@49275
git-svn-id: http://core.svn.wordpress.org/branches/5.5@49037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-22 04:05:05 +00:00
Sergey Biryukov
5188ab0ce7
Upgrade/Install: Check if plugin or theme update results are available before applying the notification filters.
...
This avoids a PHP notice for an undefined index of either `plugin` or `theme` in the `auto_{plugin|theme}_update_send_email` filter hook.
Props afragen, audrasjb.
Merges [49166] to the 5.5 branch.
Fixes #51400 .
Built from https://develop.svn.wordpress.org/branches/5.5@49167
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-15 23:31:07 +00:00
Sergey Biryukov
2434d8188d
Comments: Check if a valid comment ID was passed when editing a comment.
...
This avoids a PHP notice after submitting the Edit Comment form.
Follow-up to [48050].
Props regan.khadgi.
Merges [48958] to the 5.5 branch.
Fixes #51263 .
Built from https://develop.svn.wordpress.org/branches/5.5@48959
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-09-08 22:46:07 +00:00
Sergey Biryukov
a4b9563038
Media: In `wp_ajax_image_editor()`, check if the `error` property exists before accessing it.
...
This avoids a PHP notice when editing an image.
Follow-up to [48375].
Props Mista-Flo.
Merges [48946] to the 5.5 branch.
Fixes #51251 .
Built from https://develop.svn.wordpress.org/branches/5.5@48956
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-09-07 13:07:03 +00:00
Sergey Biryukov
ff206bc029
Administration: Give the `$error` variable in `wp-admin/admin-header.php` a more descriptive name.
...
This avoids a conflict with the same global variable used elsewhere, e.g. in Theme Editor.
Follow-up to [48850].
Props vinayak.anivase.
Merges [48938] to the 5.5 branch.
Fixes #51219 .
Built from https://develop.svn.wordpress.org/branches/5.5@48955
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-09-07 13:05:10 +00:00
Sergey Biryukov
bb254465ec
Help/About: Update the About page for 5.5.1.
...
Props audrasjb, desrosj, SergeyBiryukov.
Fixes #51202 .
Built from https://develop.svn.wordpress.org/branches/5.5@48933
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-09-01 17:44:03 +00:00
Sergey Biryukov
0cf22af9bc
Help/About: Fix typo and remove trailing spaces from some strings.
...
Props mukesh27, casiepa, davidbaumwald.
Merges [48809] to the 5.5 branch.
Fixes #51028 .
Built from https://develop.svn.wordpress.org/branches/5.5@48932
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-09-01 17:24:08 +00:00
desrosj
fdad915022
Script Loader: Add backward compatibility for JavaScript i18n globals and properties deprecated in WordPress 5.5.
...
The recommended approach for any plugins using these globals or properties is to switch to the newer `wp.i18n` functions.
In the meantime, this ensures that accessing any of these globals does not break the rest of the code on the page, and an appropriate warning message is logged to the JavaScript console.
Follow-up to: https://core.trac.wordpress.org/query?summary=~wp.i18n&milestone=5.5
Props omarreiss, peterwilsoncc, kbjohnson90, johnbillion, TimothyBlynJacobs, joostdevalk, ocean90, desrosj, SergeyBiryukov.
Merges [48923] to the 5.5 branch.
Fixes #51123 .
Built from https://develop.svn.wordpress.org/branches/5.5@48925
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-31 22:44:13 +00:00
desrosj
22ceef8ed5
Themes: Normalize the installed theme path in `Theme_Installer_Skin::do_overwrite()` before comparing with the uploaded theme.
...
This ensures that the data for the currently installed theme is picked up properly when uploading a theme update on Windows.
Follow-up to [48390].
Props bobbingwide, wpamitkumar, mukesh27.
Merges [48913] to the 5.5 branch.
Fixes #51182 .
Built from https://develop.svn.wordpress.org/branches/5.5@48919
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-31 18:31:09 +00:00
desrosj
26edd1d039
Docs: Clarify the usage of `null` for `auto_update_{$type}` filter.
...
The value is internally used to detect whether nothing has hooked into this filter.
Props audrasjb, pbiron, johnbillion, SergeyBiryukov.
Merges [48909] to the 5.5 branch.
Fixes #50848 .
Built from https://develop.svn.wordpress.org/branches/5.5@48916
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-31 18:02:04 +00:00
desrosj
15ed5a9e75
Docs: Add a `@since` note to the `display_post_states` filter to clarify that it is now also applied in the Customizer context.
...
If any admin functions are used within the filter, their existence should be checked with `function_exists()` before being used.
Follow-up to [47763], [48620].
Props audrasjb, garrett-eclipse, Howdy_McGee, dlh, khag7, SergeyBiryukov.
Merges [48910] to the 5.5 branch.
Fixes #51081 .
Built from https://develop.svn.wordpress.org/branches/5.5@48915
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-31 17:57:02 +00:00
Sergey Biryukov
a6f6950507
Upgrade/Install: Only display the auto-update links on the Network Admin > Themes screen for themes that support the feature.
...
Follow-up to [48669], [48688].
Props afragen, pbiron, audrasjb, desrosj, SergeyBiryukov.
Merges [48899] to the 5.5 branch.
Fixes #51129 .
Built from https://develop.svn.wordpress.org/branches/5.5@48900
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-27 22:26:04 +00:00
desrosj
9fceb56948
Upgrade/Install: Pass details about the specific plugin and theme updates attempted to filters.
...
This adds an additional parameter to the `auto_plugin_update_send_email` and `auto_theme_update_send_email` filters to provide the additional context of which updates were attempted and their outcome. This will help plugin and theme auto-update emails to be better tailored to a site owner's liking.
Props audrasjb, Paddy Landau, desrosj.
Merges [48888] to the 5.5 branch.
Fixes #50988 .
Built from https://develop.svn.wordpress.org/branches/5.5@48889
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-27 19:34:05 +00:00
Sergey Biryukov
522904bde6
Taxonomy: Make sure `wp_terms_checklist()` and `Walker_Category_Checklist::start_el()` properly handle an array of strings as `selected_cats` or `popular_cats` values.
...
Even with these values documented as an array of integers, they can technically also accept an array of strings, e.g. as form results.
Add a unit test.
Props brianhogg, TimothyBlynJacobs, SergeyBiryukov.
Merges [48880] to the 5.5 branch.
Fixes #51137 .
Built from https://develop.svn.wordpress.org/branches/5.5@48882
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-27 03:08:03 +00:00
Sergey Biryukov
97bbea6001
Upgrade/Install: Make the check for empty `home` option in `__get_option()` more resilient.
...
This addresses a regression in [47808], where the `home` check expected an empty string to use `siteurl` as a fallback, but `wpdb::get_var()` returns `null` if the option is empty.
Props fjarrett.
Merges [48868] to the 5.5 branch.
Fixes #51011 .
Built from https://develop.svn.wordpress.org/branches/5.5@48869
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-26 17:07:09 +00:00
Sergey Biryukov
559fcbdfed
Quick/Bulk Edit: Revert [48134] to address the bottom "Bulk actions" dropdown not functioning properly on Posts and Users list tables.
...
A better solution for the original issue will be explored in a future release.
Props audrasjb, garrett-eclipse, webzunft, Krstarica, chunkysteveo, SergeyBiryukov.
Merges [48866] to the 5.5 branch.
Fixes #50882 , #50998 . See #46872 .
Built from https://develop.svn.wordpress.org/branches/5.5@48867
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-26 14:21:04 +00:00
Sergey Biryukov
202f167106
Administration: Remove non-color related styling from Modern color scheme.
...
Color schemes should only affect colors, to avoid diverging from a consistent and predictable layout, especially if core CSS rules subsequently change.
Follow-up to [48277], [48286], [48345].
Props Joen, johnbillion, afercia, johnjamesjacoby.
Merges [48862] to the 5.5 branch.
Fixes #51127 . See #50504 .
Built from https://develop.svn.wordpress.org/branches/5.5@48863
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-26 13:21:03 +00:00
Sergey Biryukov
be19de843c
Administration: Don't print the `.php-error` class in the admin header for PHP notices in `wp-config.php`.
...
Any notices in that file happen before `WP_DEBUG` takes effect, and should not be displayed with the `error_reporting` level previously set in `wp-load.php`.
Adding the class when there is no notice displayed results in extra padding under the admin bar, which should be avoided.
Follow-up to [20102], [21025], [26620], [47745].
Props akissz, tw2113, laxman-prajapati, sabernhardt, johnbillion, SergeyBiryukov.
Merges [48850] to the 5.5 branch.
Fixes #51073 .
Built from https://develop.svn.wordpress.org/branches/5.5@48851
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-24 10:50:05 +00:00
Sergey Biryukov
5ddabef439
Plugins: Avoid a PHP notice if the `update-supported` key in plugin data is not set.
...
Props sanzeeb3.
Merges [48820] to the 5.5 branch.
Fixes #51052 .
Built from https://develop.svn.wordpress.org/branches/5.5@48821
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-18 20:40:04 +00:00
Sergey Biryukov
62a5dbff7b
Help/About: Revert [48811] from the 5.5 branch for now, to avoid displaying untranslated strings on the About page.
...
This should be merged back when 5.5.1 is about to be released.
See #51028 .
Built from https://develop.svn.wordpress.org/branches/5.5@48813
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-18 03:02:08 +00:00
Sergey Biryukov
b2e4cc384d
Help/About: Fix typo and remove trailing spaces from some strings.
...
Props mukesh27, casiepa, davidbaumwald.
Merges [48809] to the 5.5 branch.
Fixes #51028 .
Built from https://develop.svn.wordpress.org/branches/5.5@48811
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-17 10:59:06 +00:00
Sergey Biryukov
f6dfc217e7
Site Health: Ensure that the tests returned by `WP_Site_Health::get_tests()` always have the required array keys: `direct` and `async`.
...
This avoids PHP notices if these keys were accidentally removed using the `site_status_tests` filter.
Props khag7, Ov3rfly, desrosj, Clorith.
Merges [48808] to the 5.5 branch.
Fixes #50858 .
Built from https://develop.svn.wordpress.org/branches/5.5@48810
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-17 02:23:06 +00:00
Sergey Biryukov
260dd52af5
Site Health: Only display the warning about the `post_max_size` PHP value when it's lower than `upload_max_filesize`.
...
Previously, the warning was displayed even if the value was higher than `upload_max_filesize`, which made the report inaccurate, as these values don't necessarily have to match.
Props oakesjosh, jeroenrotty, desrosj, Clorith.
Merges [48800] and [48801] to the 5.5 branch.
Fixes #50945 .
Built from https://develop.svn.wordpress.org/branches/5.5@48806
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-17 01:29:03 +00:00
Sergey Biryukov
f86e37faae
Site Health: Add site environment type to the debug information.
...
Follow-up to [47919], [48188], [48372].
Props joostdevalk, Clorith.
Merges [48802] to the 5.5 branch.
Fixes #50887 .
Built from https://develop.svn.wordpress.org/branches/5.5@48805
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-17 01:25:04 +00:00
Sergey Biryukov
3557ce0af2
Site Health: Recognize `define( 'WP_AUTO_UPDATE_CORE', 'minor' )` as an acceptable value.
...
Previously, it was only incidentally recognized as valid due to a loose comparison with `true`.
With the strict comparison added to `WP_Site_Health_Auto_Updates::test_constants()`, this was no longer the case.
Follow-up to [47841].
Props sterndata, mukesh27, avixansa, desrosj, SergeyBiryukov.
Merges [48792] to the 5.5 branch.
Fixes #50912 .
Built from https://develop.svn.wordpress.org/branches/5.5@48804
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-17 01:04:04 +00:00
Sergey Biryukov
38da35836a
Filesystem API: Use correct variable when closing the file handle in `WP_Filesystem_FTPext::get_contents()`.
...
Props gothick@gothick.org.uk .
Merges [48797] to the 5.5 branch.
Fixes #51029 .
Built from https://develop.svn.wordpress.org/branches/5.5@48803
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-17 00:57:07 +00:00
desrosj
abd91fb7c9
Help/About: Final adjustments to the 5.5 About page.
...
- Final CDN asset URLs.
- Some minor color adjustments.
Props ryelle, marybaum, davidbaumwald, audrasjb, estelaris, afercia, cbringmann, andreamiddleton, desrosj, SergeyBiryukov, ocean90, nrqsnchz, spacedmonkey, whyisjake, man4toman.
Merges [48783] to the 5.5 branch.
Fixes #50416 .
Built from https://develop.svn.wordpress.org/branches/5.5@48784
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-11 16:57:06 +00:00
Sergey Biryukov
d5c3cd0293
I18N: Fix typo in a screen reader text string on the About page.
...
Follow-up to [48729].
Props pedromendonca.
Reviewed by desrosj, SergeyBiryukov.
Merges [48770] to the 5.5 branch.
Fixes #50884 .
Built from https://develop.svn.wordpress.org/branches/5.5@48771
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-10 13:25:05 +00:00
Sergey Biryukov
8e47fe0608
Help/About: Update videos and their descriptions on the About page.
...
Follow-up to [48675], [48686], [48721], [48729], [48730], [48736].
Props ryelle, marybaum, estelaris, desrosj, joen, afercia.
Reviewed by jorbin, SergeyBiryukov.
Merges [48761] to the 5.5 branch.
See #50416 .
Built from https://develop.svn.wordpress.org/branches/5.5@48763
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-08 21:02:06 +00:00
whyisjake
931826a203
Docs: Correct usage of the dynamic auto_update_{$type} filter.
...
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].
Built from https://develop.svn.wordpress.org/branches/5.5@48756
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-07 19:25:02 +00:00
Sergey Biryukov
52b59a5f07
Comments: Update comment cache in the upgrade routine for changing the `comment_type` DB field value in comments table.
...
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 .
Built from https://develop.svn.wordpress.org/branches/5.5@48752
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-07 16:35:08 +00:00
desrosj
719ef3461b
Site Health: Consistently pass an object to the `auto_update_{$type}` filter in Site Health debug data.
...
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 .
Built from https://develop.svn.wordpress.org/branches/5.5@48747
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-07 13:51:02 +00:00
desrosj
081d50e68f
Site Health: Check if session_status() exists before calling it.
...
Merges [48742] to the 5.5 branch.
Reviewed by desrosj, SergeyBiryukov.
Props bgermann.
Fixes #50862 .
Built from https://develop.svn.wordpress.org/branches/5.5@48746
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-07 13:43:05 +00:00
Sergey Biryukov
8f16fd5be2
Help/About: Correct header spacing on shorter screens after removing the musician name.
...
Remove some unnecessary CSS.
Follow-up to [48730].
Props ryelle.
Reviewed by whyisjake, SergeyBiryukov.
Merges [48736] to the 5.5 branch.
See #50416 .
Built from https://develop.svn.wordpress.org/branches/5.5@48737
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-04 18:13:05 +00:00
Sergey Biryukov
79e668950f
Plugins: Move the "Successfully installed the plugin" string to the correct `Plugin_Upgrader` method.
...
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 .
Built from https://develop.svn.wordpress.org/branches/5.5@48735
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-04 18:04:05 +00:00
desrosj
b21d6c49ff
Help/About: String updates and accessibility improvements to the 5.5 About page.
...
Merges [48729-48730] to the 5.5 branch.
Props audrasjb, SergeyBiryukov.
See #50416 .
Built from https://develop.svn.wordpress.org/branches/5.5@48733
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-04 17:44:06 +00:00
whyisjake
d4dcfc37f6
Site Health: Display auto-update properly for plugins that don't support auto-updates.
...
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.
Built from https://develop.svn.wordpress.org/branches/5.5@48732
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-04 17:39:06 +00:00
whyisjake
afbbb3baa5
Help/About: String update for 5.5 release.
...
We don't use hyphens for the [block editor](https://make.wordpress.org/core/handbook/best-practices/spelling/ ).
See #50416 .
Props davidbaumwald, marybaum, desrosj.
Built from https://develop.svn.wordpress.org/branches/5.5@48723
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-04 15:59:10 +00:00
Andrea Fercia
bfc7b4f50b
Accessibility: Administration: Address backward compatibility concerns for the sortable postboxes areas after [48340].
...
Merges [48717] to the 5.5 branch.
Fixes #49288 for 5.5.
Built from https://develop.svn.wordpress.org/branches/5.5@48718
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-04 13:30:06 +00:00
whyisjake
e3e4523695
Upgrade/Install: Ensure the proper count of plugins that have auto-update enabled.
...
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.
Built from https://develop.svn.wordpress.org/branches/5.5@48704
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-31 17:24:03 +00:00
whyisjake
fc4dd704c2
Upgrade/Install: Allow for WordPress.org to remotely disable auto-updates for plugins/themes
...
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.
Built from https://develop.svn.wordpress.org/branches/5.5@48702
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-31 17:05:04 +00:00
whyisjake
fd27e2560b
Upgrade/Install: Only show auto-update for themes that support the feature.
...
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.
Built from https://develop.svn.wordpress.org/branches/5.5@48698
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-30 22:04:05 +00:00
whyisjake
bb983b936c
Upgrade/Install: Pass the plugin file path into the plugin_auto_update_debug_string filter.
...
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.
Built from https://develop.svn.wordpress.org/branches/5.5@48697
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-30 21:52:07 +00:00
Sergey Biryukov
5ca7f64672
Help/About: Adjust two strings on the About page for better i18n.
...
Follow-up to [48675].
Props ocean90, audrasjb, kittmedia, nao.
Reviewed by desrosj, SergeyBiryukov.
Merges [48686] to the 5.5 branch.
See #50416 .
Built from https://develop.svn.wordpress.org/branches/5.5@48691
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-30 12:15:04 +00:00
Sergey Biryukov
f6b9ae8a6f
Themes: Pass correct variable to `is_php_version_compatible()` in `wp_theme_update_row()`.
...
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 .
Built from https://develop.svn.wordpress.org/branches/5.5@48690
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-30 11:46:05 +00:00
Sergey Biryukov
9e23c609e9
Upgrade/Install: Pass correct argument to `clear_destination` in `Theme_Upgrader::install()`.
...
Follow-up to [48390].
Props afragen, sabernhardt.
Reviewed by desrosj, SergeyBiryukov.
Merges [48685] to the 5.5 branch.
Fixes #9757 .
Built from https://develop.svn.wordpress.org/branches/5.5@48687
git-svn-id: http://core.svn.wordpress.org/branches/5.5@48449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-29 15:21:06 +00:00
whyisjake
d8fd6d05a3
Upgrade/Install: Swap `auto-update-supported` to `update-supported` in update checks.
...
Ensures backwards compatability with external updaters.
See #50280 .
Props everyone-in-the-core-updates-channel.
Built from https://develop.svn.wordpress.org/trunk@48678
git-svn-id: http://core.svn.wordpress.org/trunk@48440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-28 18:28:06 +00:00
desrosj
6209a40fd9
Upgrade/Install: Clarify the descriptions for `install_(plugin|theme)_overwrite_actions`.
...
See #9757 .
Built from https://develop.svn.wordpress.org/trunk@48677
git-svn-id: http://core.svn.wordpress.org/trunk@48439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-28 18:16:07 +00:00
desrosj
1aa48c68f5
Upgrade/Install: Correct spelling of “overwrite” in new hooks and array indexes.
...
See #9757 .
Built from https://develop.svn.wordpress.org/trunk@48676
git-svn-id: http://core.svn.wordpress.org/trunk@48438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-28 17:56:04 +00:00