Commit Graph

18974 Commits

Author SHA1 Message Date
Peter Wilson f5446e9f65 I18N: Add new strings to `about.php` for use with end-of-life updates.
This changeset adds two additional translation strings in the changelog file, for use when releasing the final version of WordPress on a particular branch.

Props peterwilsoncc, audrasjb, mukesh27.
Merges [55350] to the 5.7 branch.
Fixes #57216.

Built from https://develop.svn.wordpress.org/branches/5.7@55375


git-svn-id: http://core.svn.wordpress.org/branches/5.7@54908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-02-21 02:47:03 +00:00
audrasjb 7f80a3cb4e WordPress 5.7.8.
Built from https://develop.svn.wordpress.org/branches/5.7@54585


git-svn-id: http://core.svn.wordpress.org/branches/5.7@54139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 19:49:23 +00:00
audrasjb f28c97fa8c Grouped backports to the 5.7 branch.
- Editor: Bump @wordpress packages for the branch,
- Media: Refactor search by filename within the admin,
- REST API: Lockdown post parameter of the terms endpoint,
- Customize: Escape blogname option in underscores templates,
- Query: Validate relation in `WP_Date_Query`,
- Posts, Post types: Apply KSES to post-by-email content,
- General: Validate host on "Are you sure?" screen,
- Posts, Post types: Remove emails from post-by-email logs,
- Pings/trackbacks: Apply KSES to all trackbacks,
- Mail: Reset PHPMailer properties between use,
- Comments: Apply kses when editing comments,
- Widgets: Escape RSS error messages for display.

Merges [54521-54530] to the 5.7 branch.
Props audrasjb, costdev, cu121, dd32, davidbaumwald, ehtis, johnbillion, johnjamesjacoby, martinkrcho, matveb, oztaser, paulkevan, peterwilsoncc, ravipatel, SergeyBiryukov, talldanwp, timothyblynjacobs, tykoted, voldemortensen, vortfu, xknown.

Built from https://develop.svn.wordpress.org/branches/5.7@54553


git-svn-id: http://core.svn.wordpress.org/branches/5.7@54108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-17 17:55:21 +00:00
Peter Wilson e5a1534aee Security: Introduce strings to indicate support status.
Add strings for use in future maintenance/security releases to indicate the security support status of the version of WordPress.

Two strings are introduced:

* indicating the version of WordPress is not receiving security updates, and,
* indicating the version of WordPress will shortly stop receiving security updates.

This change does not make use of the strings, the purpose is to make them available to translators prior to dropping support of selected versions of WordPress.

Props costdev, chesio, robinwpdeveloper, desrosj, rudlinkon, mukesh27, sumitbagthariya16.
Merges [54322] to the 5.7 branch.
See #56532.


Built from https://develop.svn.wordpress.org/branches/5.7@54433


git-svn-id: http://core.svn.wordpress.org/branches/5.7@53992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-10 04:53:10 +00:00
desrosj 1feee50c15 WordPress 5.7.7.
Built from https://develop.svn.wordpress.org/branches/5.7@53990


git-svn-id: http://core.svn.wordpress.org/branches/5.7@53549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-30 17:28:10 +00:00
Sergey Biryukov 8b87e45e69 Grouped backports to the 5.7 branch.
- Posts, Post Types: Escape output within `the_meta()`.
- General: Ensure bookmark query limits are numeric.
- Plugins: Escape output in error messages.
- Build/Test Tools: Allow the PHPCS plugin in Composer configuration.

Merges [52412,53958-53960] to the 5.7 branch.
Props tykoted, martinkrcho, xknown, dd32, peterwilsoncc, paulkevan, timothyblynjacobs.

Built from https://develop.svn.wordpress.org/branches/5.7@53966


git-svn-id: http://core.svn.wordpress.org/branches/5.7@53525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-30 15:32:03 +00:00
audrasjb 361bcac2b9 WordPress 5.7.6.
Built from https://develop.svn.wordpress.org/branches/5.7@52893


git-svn-id: http://core.svn.wordpress.org/branches/5.7@52482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-10 22:30:03 +00:00
desrosj 072d23667d WordPress 5.7.5.
Built from https://develop.svn.wordpress.org/branches/5.7@52488


git-svn-id: http://core.svn.wordpress.org/branches/5.7@52080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-06 18:47:02 +00:00
desrosj 5030de2e76 Grouped backports to the 5.7 branch.
- Query: Improve sanitization within `WP_Tax_Query`.
- Query: Improve sanitization within `WP_Meta_Query`.
- Upgrade/Install: Avoid using `unserialize()` unnecessarily.
- Formatting: Correctly encode ASCII characters in post slugs.

Merges [52454-52457] to the 5.7 branch.
Props vortfu, dd32, ehtis, zieladam, whyisjake, xknown, peterwilsoncc, desrosj, iandunn.
Built from https://develop.svn.wordpress.org/branches/5.7@52466


git-svn-id: http://core.svn.wordpress.org/branches/5.7@52058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-06 17:56:05 +00:00
desrosj 3ad4c815cd WordPress 5.7.4.
Built from https://develop.svn.wordpress.org/branches/5.7@52114


git-svn-id: http://core.svn.wordpress.org/branches/5.7@51706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-10 17:06:59 +00:00
desrosj 709e3315f3 Grouped merges for 5.7.3.
- Update `lodash` to the latest version `4.17.21`.
- Disable some attributes for rich text.

Merges [51426,50941] to the 5.7 branch.
Props ellatrix, peterwilsoncc, get_dave, mcsf, talldanwp, youknowriad, desrosj, nerrad.
Built from https://develop.svn.wordpress.org/branches/5.7@51750


git-svn-id: http://core.svn.wordpress.org/branches/5.7@51358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-08 21:06:23 +00:00
Peter Wilson 1cdead833e Menus: Do not auto-set locations for new menus.
Do not auto-set new menus to all vacant locations on the Appearance > Menus screen in the dashboard.

Follow up to [48051].

Props Chouby, audrasjb, davidbaumwald, mukesh27.
Merges [50938] in to the 5.7 branch.
Fixes #52949.

Built from https://develop.svn.wordpress.org/branches/5.7@50988


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-25 05:19:05 +00:00
Peter Wilson a6d9325574 Help/About: Reduce space below minor release log.
Reduce the size of the space below the maintenance and security release log of the WP 5.7 about page.

Props dhrumil12, audrasjb, sabernhardt, ryelle.
Fixes #53067.


Built from https://develop.svn.wordpress.org/branches/5.7@50937


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-20 04:08:01 +00:00
Peter Wilson bf12394dbd About page for WordPress 5.7.2.
Built from https://develop.svn.wordpress.org/branches/5.7@50868


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-12 23:08:00 +00:00
Peter Wilson 42730aa8a9 About page update for 5.7.1.
Props audrasjb.

Built from https://develop.svn.wordpress.org/branches/5.7@50735


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-15 01:20:05 +00:00
Sergey Biryukov 5162106aa1 Site Health: Correct test result status for the HTTPS test.
The supported status values for Site Health tests are `good`, `recommended`, and `critical`.

Follow-up to [50660].

Props TimothyBlynJacobs.
Merges [50710] to the 5.7 branch.
Fixes #52783.
Built from https://develop.svn.wordpress.org/branches/5.7@50711


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-14 13:15:05 +00:00
ryelle f5e008b193 Accessibility: Administration: Update various background colors for increased contrast.
This ensures that contrast between text color and background meets the WCAG 2.0 AA recommended value. The following locations were changed:

 - Network List Tables: Use lighter background colors for site status indicator.
 - Nav Menus: Use a lighter background color for invalid menu items.
 - Pointers: Use a darker background for pointer header.
 - Themes: Use darker background on filter button hover.
 - Customizer: Use darker background for selected widget.

Follow-up to [50025], [50571].
Props kebbet, melchoyce, peterwilsoncc.
Merges [50687] to the 5.7 branch.
Fixes #52760.


Built from https://develop.svn.wordpress.org/branches/5.7@50688


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-07 17:44:09 +00:00
Peter Wilson 1d0be627a9 Site Health: Reduce false reports of HTTPS failures.
Reduce severity of failing HTTPS tests from critical to warning. Stop reporting failures if the site is being accessed over HTTPS but `wp_is_https_supported()` indicates a lack of support.

Props annalamprou, AnotherDave, ayeshrajans, bobbingwide, Clorith, dragongate, eatsleepcode, gab81, geoffrey1963, Ipstenu, k3nsai, mmuyskens, nicegamer7, peterwilsoncc, pwallner, SergeyBiryukov, TimothyBlynJacobs, Toru.
Merges [50659] to the 5.7 branch.
Fixes #52783.

Built from https://develop.svn.wordpress.org/branches/5.7@50660


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-06 03:40:06 +00:00
davidbaumwald 35592e1ffa Privacy: Print screen reader text for the "Copy suggested policy text..." action button.
This change switches out sprintf for printf on the "Copy suggested policy text from..." button screen reader text. Also, wrap the actual button text in a <span aria-hidden="true"> to prevent both the button text and the screen reader text from being spoken.

Props mukesh27, SergeyBiryukov, sabernhardt, desrosj.
Merges [50585] to the 5.7 branch.
Fixes #52891.
Built from https://develop.svn.wordpress.org/branches/5.7@50609


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-26 20:32:04 +00:00
davidbaumwald 6e556a478a Revert [50607].
Unprops davidbaumwald.
Built from https://develop.svn.wordpress.org/branches/5.7@50608


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-26 20:18:02 +00:00
davidbaumwald 0a198192c7 Built from https://develop.svn.wordpress.org/branches/5.7@50607
git-svn-id: http://core.svn.wordpress.org/branches/5.7@50220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-26 20:09:03 +00:00
desrosj 12ecbce0b2 Build/Test Tools: Backport several GitHub Action improvements and dependency updates.
This backports several GitHub Action improvements and `devDependency` updates to the 5.7 branch.

Backports [50432,50435-50436,50479,50485-50487,50545,50579] to the 5.7 branch.
See #52667, #52643, #52658, #52660, #52624, #52625.
Built from https://develop.svn.wordpress.org/branches/5.7@50584


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-25 20:02:19 +00:00
ryelle 6bc61cc749 Login, Registration: Prevent button misalignment on login screen.
Replace the CSS removed in [50569], which is used to align the login & register buttons.

Props mukesh27, audrasjb.
Reviewed by SergeyBiryukov.
Merges [50577] to the 5.7 branch.
Fixes #52834.


Built from https://develop.svn.wordpress.org/branches/5.7@50580


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-25 15:33:02 +00:00
Sergey Biryukov 85bde2e551 Accessibility: Administration: Use a darker gray color for various admin UI items.
This ensures that the color meets the WCAG 2.0 AA recommended contrast ratio.

Follow-up to [50025], [50525].

Props sabernhardt, ryelle.
Merges [50571] to the 5.7 branch.
Fixes #52760.
Built from https://develop.svn.wordpress.org/branches/5.7@50578


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-25 14:44:06 +00:00
Peter Wilson 7d19c6d338 Privacy: Wrap text in buttons on privacy policy guide.
On narrow screens allow the text to wrap in the copy buttons on the privacy policy guide screen to avoid horizontal overflow of the parent container.

Props audrasjb, davidbaumwald, jaymanpandya, paaljoachim, palmiak, sabernhardt, SergeyBiryukov, sumitsingh.
Merges [50568] to the 5.7 branch.
Fixes #52751.

Built from https://develop.svn.wordpress.org/branches/5.7@50574


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-25 00:07:04 +00:00
Peter Wilson 59e1fddb58 Login, Registration: Prevent button misalignment on password reset screen.
Prevent misalignment of "generate password" and "save password" buttons on the password reset screen on narrow screens and in languages requiring longer text than English.

Props audrasjb, grapplerulrich, ryelle.
Merges [50569] to the 5.7 branch.
Fixes #52834.

Built from https://develop.svn.wordpress.org/branches/5.7@50572


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-25 00:01:05 +00:00
Peter Wilson 37d01e0346 Media: Pass the appropriate reference into `wp_getimagesize`.
With changes that were introduced in #49889 the second parameter for getimagesize() function is expecting a a reference.

Previously, most calls did not pass the 2nd param, and as a result, we are getting unexpected results.

This was only a problem with applications that are using a custom stream wrapper, and the image contained EXIF data.

For more see:

    https://github.com/humanmade/S3-Uploads/issues/496
    https://github.com/aws/aws-sdk-php/issues/1923 

Fixes #52826.
Merges [50552] to the 5.7 branch.
Props terriann, SergeyBiryukov, Mista-Flo, hellofromTonya, rinatkhaziev, whyisjake.

Built from https://develop.svn.wordpress.org/branches/5.7@50553


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-19 02:13:05 +00:00
ryelle ef272f47a3 Help/About: Run image comparison script after all assets have loaded.
If the callback is called before the images are loaded, the comparison doesn't work. `wp.domReady` uses `DOMContentLoaded`, which does not guarantee that the images are loaded. This switches to use the `load` event, which waits for all resources to load.

Props vladytimy, joyously, sergeybiryukov.
Merges [50535] to the 5.7 branch.
Fixes #52758.


Built from https://develop.svn.wordpress.org/branches/5.7@50536


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-15 19:57:05 +00:00
Sergey Biryukov c46deb4cb6 Accessibility: Administration: Use a darker color for post dates in the Activity and Quick Draft dashboard widgets.
This ensures that the color meets the WCAG 2.0 AA recommended contrast ratio.

Follow-up to [50025].

Props sabernhardt, Otshelnik-Fm, audrasjb.
Merges [50525] to the 5.7 branch.
Fixes #52760.
Built from https://develop.svn.wordpress.org/branches/5.7@50526


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-12 12:08:13 +00:00
ryelle e78b4f2b69 Help/About: Use absolute URLs for inline images on About pages.
This ensures the images are loaded correctly from both single site and network About pages.

Props TobiasBg, audrasjb.
Merges [50523] to the 5.7 branch.
Fixes #52743.


Built from https://develop.svn.wordpress.org/branches/5.7@50524


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-11 21:50:08 +00:00
Sergey Biryukov f3a89c4ee8 Help/About: Correct the WebM video URL on About page.
Props mihdan, audrasjb.
Merges [50518] to the 5.7 branch.
Fixes #52756.
Built from https://develop.svn.wordpress.org/branches/5.7@50519


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-10 10:30:05 +00:00
Sergey Biryukov c63ebe7525 Update `$_old_files` for 5.7.
Follow up to [50066].

Props desrosj.
Reviewed by davidbaumwald, SergeyBiryukov.
Fixes #52334.
Built from https://develop.svn.wordpress.org/branches/5.7@50511


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-08 19:05:07 +00:00
Sergey Biryukov 7bb43234fb Help/About: Clarify two strings.
The intro text has been updated for accuracy and to make it easier for translation. The button text has been updated for accuracy.

Props jdy68, audrasjb, marybaum, davidbaumwald.
Reviewed by ryelle, SergeyBiryukov.
Merges [50495] to the 5.7 branch.
See #52347.
Built from https://develop.svn.wordpress.org/branches/5.7@50498


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-05 10:42:02 +00:00
desrosj ad6d163cfa Help/About: Clarify a string about lazy-loading iframes.
Props davidbaumwald, audrasjb, hellofromTonya.
See #52347.
Built from https://develop.svn.wordpress.org/branches/5.7@50492


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-04 16:46:05 +00:00
ryelle b5e412fc3e Help/About: Iterate on the 5.7 About Page.
Adds a more obviously interactive comparison for viewing the color scheme differences. Improvements on RTL and IE11. Update strings to be more clear and consistent. Switch to the CDN for loading images.

Props sarahricker, desrosj, melchoyce, SergeyBiryukov, tikifez, clorith, marybaum, audrasjb, francina, hellofromTonya.
Reviewed by SergeyBiryukov.
Merges [50478] to the 5.7 branch.
Fixes #52693. See #52347.


Built from https://develop.svn.wordpress.org/branches/5.7@50480


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-02 20:14:04 +00:00
Mike Schroder 41f4aae738 Upgrade/Install: Invalidate OPcache for version.php during update.
Invalidate OPcache for wp-content/version.php on update individually, since it's copied separately.

Props stodorovic, krstarica, cenay, desrosj, pbiron, sergeybiryukov, mikeschroder.

Reviewed by mikeschroder, SergeyBiryukov.
Merges [50460] and [50475] to the 5.7 branch.
Fixes #51686, #51281.
See #36455.



Built from https://develop.svn.wordpress.org/branches/5.7@50477


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-02 18:21:03 +00:00
Peter Wilson 6072eb4497 Help/About: Remove extra space in the 5.7 About page copy.
Props tobifjellner, audrasjb, desrosj, ryelle.
Merges [50430] to the 5.7 branch.
Fixes #52632.

Built from https://develop.svn.wordpress.org/branches/5.7@50438


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-25 23:37:04 +00:00
Peter Wilson a531b8f403 Administration: Revert the change to `click` event handler for fly-out submenus.
The `click()` method there is not the jQuery method, but is an HTML DOM method instead.

This makes the fly-out submenu header clickable again when the menu is folded.

Follow-up to [50420].

Props peterwilsoncc, SergeyBiryukov.
Merges [50429] to the 5.7 branch.
Fixes #52638. See #51812.

Built from https://develop.svn.wordpress.org/branches/5.7@50437


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-25 22:52:04 +00:00
Sergey Biryukov b65d83b872 External Libraries: Further fix jQuery deprecations in WordPress core.
This includes many minor adjustments to a wide array of core files to replace shorthands with full declarations.

Follow-up to [50001], [50270], [50367].

Props Clorith, hellofromTonya, peterwilsoncc, adamsilverstein, aristath.
See #51812.
Built from https://develop.svn.wordpress.org/trunk@50420


git-svn-id: http://core.svn.wordpress.org/trunk@50031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-23 19:45:04 +00:00
ryelle 9a32a41e52 Help/About: WordPress 5.7 About Page.
This is the start of the WordPress 5.7 about page.

Props audrasjb, metalandcoffee, melchoyce, hedgefield, francina, webcommsat, lukecarbis, meher, sarahricker, marybaum.
See #52347.


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


git-svn-id: http://core.svn.wordpress.org/trunk@50029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-23 18:41:05 +00:00
desrosj 8fc757b1f0 Build/Test Tools: Update NPM dependencies.
This updates two `devDependencies`:

- `uglify-js` from `3.12.7` to `3.12.8`.
- `sassn` from `1.32.6` to `1.32.8`.

See #51801.
Built from https://develop.svn.wordpress.org/trunk@50416


git-svn-id: http://core.svn.wordpress.org/trunk@50027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-23 16:45:19 +00:00
Sergey Biryukov af9675bdcb Users: Give the Password Reset table row its own wrapper class.
Previously, the class of the Sessions table row was duplicated.

Follow-up to [50129], [50411].

See #52597.
Built from https://develop.svn.wordpress.org/trunk@50412


git-svn-id: http://core.svn.wordpress.org/trunk@50023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-23 14:35:03 +00:00
Sergey Biryukov e0b66dd56c Users: Relocate the Password Reset feature to the Account Management section.
Follow-up to [50129].

Props mukesh27, audrasjb, hellofromTonya.
Fixes #52597.
Built from https://develop.svn.wordpress.org/trunk@50411


git-svn-id: http://core.svn.wordpress.org/trunk@50022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-23 14:21:05 +00:00
Sergey Biryukov ddca2ed164 Docs: Document the usage of `$pagenow` global in a few functions.
See #51800.
Built from https://develop.svn.wordpress.org/trunk@50407


git-svn-id: http://core.svn.wordpress.org/trunk@50018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-22 19:18:12 +00:00
Peter Wilson 0b9c7b7cdf Site Health: Update loopback test to `POST` to wp-cron.
Replace loopback health check URL with a `POST` request to `wp-cron.php` in the WordPress install directory. This more closely represents how WordPress uses loopback requests.

A `POST` request is used to cause `wp-cron.php` to exit prior to running any cron jobs. This allows the test to indicate success quicker and accounts for sites that set the `DISABLE_WP_CRON` constant to avoid running cron jobs on loopback requests.

Props clorith, peterwilsoncc, TimothyBlynJacobs.
Fixes #52547.


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


git-svn-id: http://core.svn.wordpress.org/trunk@50010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-22 00:51:09 +00:00
Sergey Biryukov 17fa3f6b6d I18N: Remove extra spaces from translatable strings in Privacy help tabs.
Follow-up to [50147].

Props tobifjellner.
Fixes #52583.
Built from https://develop.svn.wordpress.org/trunk@50398


git-svn-id: http://core.svn.wordpress.org/trunk@50009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-21 16:04:11 +00:00
Sergey Biryukov 50f8dafe17 Users: Correctly display an error message after clicking the "Send Reset Link" button.
The `addInlineNotice()` function expects a single string as a success or error message, not an array of strings.

Follow-up to [50129].

Props audrasjb.
Fixes #52573.
Built from https://develop.svn.wordpress.org/trunk@50390


git-svn-id: http://core.svn.wordpress.org/trunk@50001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-19 17:24:05 +00:00
ryelle 6e895528e7 Customizer: Bring admin color schemes back into the customizer.
In #50547, the admin color schemes were added to the customizer UI, but at some point specificity changed and the colors were overridden by the defaults. This brings the color schemes back into the customizer, using the button color as a highlight, with the link color for text to keep things readable.

Follow up to [48371].
Props audrasjb, peterwilsoncc.
Fixes #52230.


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


git-svn-id: http://core.svn.wordpress.org/trunk@49997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-18 16:51:05 +00:00
ryelle 369c43ff2e Administration: Apply background color to updated message in plugin list table.
Follow-up to [50025].
Props afragen.
Fixes #52452.


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


git-svn-id: http://core.svn.wordpress.org/trunk@49996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-18 15:16:03 +00:00
Peter Wilson c6af819b3a Site Health: Use home page for loopback test.
Use `home_url()` for asynchronous loopback test to ensure correct results on sites with WordPress installed elsewhere, for example WordPress in a sub-directory.

Props Levdbas.
Fixes #52547.


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


git-svn-id: http://core.svn.wordpress.org/trunk@49992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-17 23:10:04 +00:00