43515 Commits

Author SHA1 Message Date
Sergey Biryukov
a4da1cae04 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.

git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50711 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-14 13:13:42 +00:00
Peter Wilson
1556c8ce99 Bundled Themes: Bump versions for WordPress 5.7.1.
Twenty Twenty-One: Bump version to 1.3
Twenty Seventeen: Bump version to 2.7

Props desrosj, mukesh27, peterwilsoncc.
Merges [50708] to the 5.7 branch.
Fixes #52859.



git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50709 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-13 23:58:13 +00:00
Peter Wilson
997cacc65e 5.7 branch post 5.7.1 RC1 version bump.
git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50691 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-07 23:31:11 +00:00
Peter Wilson
e2e47c2b49 5.7 branch is now 5.7.1 RC1.
git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50690 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-07 23:06:37 +00:00
Kelly Choyce-Dwan
7aa4ad6245 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.



git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50688 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-07 17:42:36 +00:00
Peter Wilson
8bf7643c4b Media: Do not lazy load hidden images or embeds.
Improve the check for sourceless or dimensionless media when determining if the lazy loading attribute should be added to iframes and images. Never include the lazy loading attribute on embeds of WordPress posts as the iframe is initially hidden.

Including `loading="lazy"` on initially hidden iframes and images can prevent the media from loading in some browsers.

Props adamsilverstein, fabianpimminger, flixos90, johnbillion, jonkastonka, joyously, peterwilsoncc, SergeyBiryukov, SirStuey, swissspidy.
Merges [50682], [50683] to the 5.7 branch.
Fixes #52768.



git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50684 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-07 01:50:59 +00:00
Peter Wilson
8b25cd6995 Bundled Themes: Update the “Tested up to” value.
“Tested up to” is not displayed on the theme directory or within the WordPress dashboard, but should be updated to be accurate for anyone reading the theme’s source code.

Follow up to [50508].

Props desrosj.
Merges [50669] to the 5.7 branch.
Fixes #52982.


git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50681 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-06 23:54:02 +00:00
Peter Wilson
375a336e6a Twenty Twenty-One: Rebuild IE specific editor stylesheet.
This was not updated to include the changes from [50493].

Props desrosj.
Merges [50667] to the 5.7 branch.
Fixes #52981. See #52702.


git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50680 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-06 23:51:39 +00:00
Peter Wilson
3bb2070807 Options, Meta APIs: Update default color scheme swatch to match CSS changes.
Update the default/fresh theme color swatch displayed on user profile pages to match CSS changes made during the 5.7 release cycle.

Props audrasjb, desrosj, ninetyninew, ryelle.
Merges [50663] to the 5.7 branch.
Fixes #52750.



git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50679 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-06 23:50:21 +00:00
Peter Wilson
39723311fa Editor: Update @wordpress npm packages for 5.7.1 RC1.
Update @wordpress npm packages to the latest published versions for the 5.7 branch. This includes block editor bug fixes for WordPress 5.7.1.

Props gziolo, noisysocks, youknowriad.
See #52912.



git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50678 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-06 23:48:14 +00:00
Jonathan Desrosiers
ba4bc305cb Build/Test Tools: Prevent PHPUnit tests on push for forks/private mirrors.
The reorganization of the PHPUnit workflow in [50441] unintentionally caused the tests to be run for every `push` event, even for forks and private mirrors.

Previously, the second job required the first one to pass, and the conditional check on the first prevented both from running. Because the first job is no longer required for the second, both jobs must have the appropriate conditional check.

Merges [50670] to the 5.7 branch.
Fixes #52983.

git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50671 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-06 15:24:10 +00:00
Peter Wilson
e95c8136bf Media: Conditionally pass 2nd parameter to getimagesize().
In the wrapper function `wp_getimagesize()` check if the second parameter was passed before sending it to the PHP function `getimagesize()`.

The PHP function has a different execution path depending on the number of parameters passed, this ensures the wrapper function follows the appropriate path.

Follow up to [50552].
Props azaozz, hellofromtonya, Mista-Flo, peterwilsoncc, rinatkhaziev, RogerTheriault, SergeyBiryukov, terriann, whyisjake.
Merges [50586] to the 5.7 branch.
Fixes #52826.


git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50662 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-06 03:42:02 +00:00
Peter Wilson
96cfff96be Script Loader: Escape HTML5 boolean attribute names.
Add escaping of boolean attribute names in `wp_sanitize_script_attributes()` for themes supporting HTML5 script elements.

Props tmatsuur, johnbillion, joyously.
Merges [50575] to the 5.7 branch.
Fixes #52894.


git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50661 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-06 03:40:38 +00:00
Peter Wilson
2fa8eb4973 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.


git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50660 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-06 03:38:56 +00:00
Sergey Biryukov
ac89f69207 REST API: Correct enum validation for numeric values.
When validating `enum` values as `integer` or `number`, consider a number with a zero fractional part to be equivalent to an integer of the same value.

In `rest_are_values_equal()`, when comparing two values of type `int` or `float` (in any combination), first cast both of them to `float` and then compare.

This matches some test cases from the official JSON Schema test suite.

Follow-up to [50010].

Props yakimun, stefanjoebstl, TimothyBlynJacobs, rachelbaker.
Merges [50653] to the 5.7 branch.
Fixes #52932.

git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50656 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-04 19:11:07 +00:00
Sergey Biryukov
4185ed3670 Coding Standards: Move some translator comments to the correct place.
Follow-up to [46273], [50060], [50117].

Merges [50654] to the 5.7 branch.
See #52627.

git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50655 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-04 18:32:47 +00:00
Sergey Biryukov
c95eb67df9 KSES: Add object-position to the list of safe CSS properties.
This resolves an issue with the Cover block, where the `object-position` property is removed from the content when a non-admin user saves the post, leading to block recovery loop.

Props Mamaduka, aristath.
Merges [50634] to the 5.7 branch.
Fixes #52961.

git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50649 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-02 19:29:56 +00:00
Sergey Biryukov
d66fae5a10 External Libraries: Upgrade PHPMailer from 6.3.0 to 6.4.0.
6.4.0 reverts a change that made the `mail()` and sendmail transports set the envelope sender if one isn't explicitly provided, as it was causing problems in specific PHP/server configurations.

Release post: https://github.com/PHPMailer/PHPMailer/releases/tag/v6.4.0
Changelog: https://github.com/PHPMailer/PHPMailer/compare/v6.3.0...v6.4.0

Props Synchro, tigertech, ayeshrajans, galbaras, audrasjb, SergeyBiryukov, desrosj, ocean90.
Merges [50628] to the 5.7 branch.
Fixes #52822.

git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50630 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-01 12:59:20 +00:00
David Baumwald
8292e72a5b 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.

git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50609 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-26 20:30:56 +00:00
David Baumwald
17805ecf86 Revert [50607].
Unprops davidbaumwald.

git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50608 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-26 20:16:50 +00:00
David Baumwald
c23423a0f8 git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50607 602fd350-edb4-49c9-b593-d223f7449a82 2021-03-26 20:07:08 +00:00
Jonathan Desrosiers
4ba7f55796 Build/Test Tools: Backport several build tool fixes & improvements.
This backports a handful of test fixes related to generating code coverage reporting, as well as some `devDependency` updates.

Backports [50591-50595,50597-50598] to the 5.7 branch.
See #52624, #52786, #51734.

git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50601 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-26 16:07:38 +00:00
Jonathan Desrosiers
c2e97f26f4 Revert [50599].
Unprops desrosj.

git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50600 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-26 15:54:07 +00:00
Jonathan Desrosiers
0559bf34cf git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50599 602fd350-edb4-49c9-b593-d223f7449a82 2021-03-26 15:50:36 +00:00
Jonathan Desrosiers
c0a3a1b062 Twenty Twelve: Change theme version back to 3.3.
Because the changes in Twenty Twelve did not impact site look or functionality, version 3.4 of Twenty Twelve was not released in coordination with WordPress 5.7.

This reverts the portion of [50508] relevant to Twenty Twelve, changing the version back to 3.3 so that version 3.4 is not skipped accidentally when there are changes that should be released.

Merges [50596] to the 5.7 branch.
See #52704.

git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50597 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-26 15:27:36 +00:00
Jonathan Desrosiers
8e15999eff Build/Test Tools: Run test workflows on old branches on a schedule.
On TravisCI, old branches still receiving security updates were tested on a regular basis. This ensured tests continued to pass as time passed even if updates were not made to these branches.

On GitHub Actions, there is no interface to configure this (TravisCI had a UI), but there is a `schedule` event that can trigger workflow runs on cron that can be used to accomplish the same thing.

This introduces a workflow file that runs twice a month (on the 1st and 15th) to verify the tests within older branches.

Because the `schedule` event only runs within the primary branch, the appropriate workflows in each old branch will be triggered manually through the `workflow_dispatch` trigger using the GitHub REST API. `workflow_dispatch` will need to be added to all workflows in all old branches in order for the event to dispatch successfully.

Merges [50590] to the 5.7 branch.
See #52653.

git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50591 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-26 13:16:23 +00:00
Peter Wilson
3a3839c56c Twenty Seventeen: Remove extra space around post editor.
The editor uses the full height of its container, so the added margins cause the visual editor to break out of the container. This removes the top & bottom margins, and makes the left & right margins consistent with the meta box area.

Follow-up to [50465].

Props joseeyoast, audrasjb, SergeyBiryukov.
Merges [50534] to the 5.7 branch.
Fixes #52816.


git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50588 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-26 04:08:37 +00:00
Peter Wilson
84dc8fce67 Robots: Remove contradictory directive check in wp_robots().
Removes the mutually exclusive directives check in `wp_robots()`, ie allow both `follow` and `nofollow` to be specified and for `archive` and `noarchive` to be specified.

This fixes a bug in which WordPress would defer to the most permissive over the least permissive. When contradictory instructions are included, WordPress will defer to the search engine's or archivist's resolution policy: generally this is to observe the least, not most permissive.

Props Cybr, flixos90, SergeyBiryukov.
Merges [50566] to the 5.7 branch.
Fixes #52713.


git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50587 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-26 00:26:55 +00:00
Jonathan Desrosiers
c44eb304c8 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.

git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50584 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-25 19:59:44 +00:00
Kelly Choyce-Dwan
5de5b823da Pointers: Make pointer border darker to match arrow tip.
Props johnjamesjacoby, melchoyce, SergeyBiryukov.
Merges [50551] to the 5.7 branch.
Fixes #52670.



git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50581 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-25 15:36:11 +00:00
Kelly Choyce-Dwan
ae523ec894 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.



git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50580 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-25 15:31:39 +00:00
Sergey Biryukov
3bdec19895 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.

git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50578 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-25 14:42:44 +00:00
Peter Wilson
eabca4f181 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.


git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50574 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-25 00:05:05 +00:00
Peter Wilson
7e66aefa7f REST API: Prevent database error when deleting meta data.
Add a check to `WP_REST_Meta_Fields::delete_meta_value()` ensuring meta data is set before attempting to delete it from the database. If the data does not exist, the delete is considered successful as the data matches the desired state.

Props BrechtVds, goaroundagain, TimothyBlynJacobs.
Merges [50567] to the 5.7 branch.
Fixes #52787.


git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50573 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-25 00:02:35 +00:00
Peter Wilson
ba6f27827c 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.


git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50572 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-24 23:59:55 +00:00
Peter Wilson
7398473d33 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.


git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50553 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-19 02:11:23 +00:00
Jonathan Desrosiers
f01016e1e3 Build/Test Tools: Pin NodeJS 14.x in the .nvmrc file for the 5.7 branch.
See #52341.

git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50539 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-17 19:44:15 +00:00
Kelly Choyce-Dwan
a0e82e5c0f 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.



git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50536 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-15 19:55:49 +00:00
Sergey Biryukov
e00b7ce926 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.

git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50526 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-12 12:06:25 +00:00
Kelly Choyce-Dwan
35ee26dbd3 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.



git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50524 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-11 21:48:43 +00:00
Sergey Biryukov
65ef3d1d13 Help/About: Correct the WebM video URL on About page.
Props mihdan, audrasjb.
Merges [50518] to the 5.7 branch.
Fixes #52756.

git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50519 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-10 10:28:08 +00:00
Jonathan Desrosiers
319af9ef8e Post WordPress 5.7 version bump.
The 5.7 branch is now 5.7.1 alpha.

git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50515 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-09 21:07:15 +00:00
Sergey Biryukov
2b54128958 WordPress 5.7.
git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50513 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-09 20:13:15 +00:00
Sergey Biryukov
f9be303194 Update $_old_files for 5.7.
Follow up to [50066].

Props desrosj.
Reviewed by davidbaumwald, SergeyBiryukov.
Fixes #52334.

git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50511 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-08 19:03:41 +00:00
Jonathan Desrosiers
64444cd67e Build/Test Tools: Ensure the test_php_and_js_shortcode_attribute_regexes_match() test can run when testing using either the src or build directory.
Reviewed by desrosj, johnbillion.
Props alexstine, desrosj.
Merges [50501] to the 5.7 branch.
Fixes #51734.

git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50509 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-08 15:14:30 +00:00
Jonathan Desrosiers
739323f34b Bundled Themes: Bump theme version numbers for WordPres 5.7.
This updates all new default themes to new versions, which will be released shortly after WordPress 5.7. The new versions are:

- Twenty Twenty-One: 1.2
- Twenty Twenty: 1.7
- Twenty Nineteen: 2.0
- Twenty Seventeen: 2.6
- Twenty Sixteen: 2.4
- Twenty Fifteen: 2.9
- Twenty Fourteen: 3.1
- Twenty Thirteen: 3.3
- Twenty Twelve: 3.4
- Twenty Eleven: 3.7
- Twenty Ten: 3.3

Reviewed by desrosj, williampatton.
Merges [50507] to the 5.7 branch.
Fixes #52704.

git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50508 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-08 14:54:12 +00:00
Sergey Biryukov
c299eee817 Post WordPress 5.7 RC3 version bump.
git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50503 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-05 20:23:55 +00:00
Sergey Biryukov
183883fee8 WordPress 5.7 RC3.
git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50502 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-05 20:09:43 +00:00
Sergey Biryukov
9df89e8baa XML-RPC: Pass an empty array to the xmlrpc_call action in methods that have no arguments.
This avoids an "Undefined variable" PHP notice in the `::mt_supportedMethods()` and `::mt_supportedTextFilters()` methods.

Follow-up to [50353].

Props dd32.
Reviewed by dd32, SergeyBiryukov.
Merges [50499] to the 5.7 branch.
Fixes #52524.

git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50500 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-05 11:04:47 +00:00
Sergey Biryukov
c977b75c27 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.

git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50498 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-05 10:40:09 +00:00