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
Sergey Biryukov
dcbe3cb7b8
Privacy: Suggest `wp_add_privacy_policy_content()` as an alternative for the deprecated `wp_get_default_privacy_policy_content` hook.
...
Follow-up to [50161].
See #49264 .
Built from https://develop.svn.wordpress.org/trunk@50374
git-svn-id: http://core.svn.wordpress.org/trunk@49985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-17 12:45:04 +00:00
Sergey Biryukov
f331ff5a7a
Docs: Correct the alternative hook name for the deprecated `whitelist_options` hook.
...
Follow-up to [48121].
See #51800 .
Built from https://develop.svn.wordpress.org/trunk@50373
git-svn-id: http://core.svn.wordpress.org/trunk@49984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-17 12:42:03 +00:00
Sergey Biryukov
8080762e93
External Libraries: Further fix jQuery deprecations in WordPress core.
...
This addresses `JQMIGRATE` warnings in some admin files and the Thickbox library.
Follow-up to [50001], [50270].
Props bordoni, poena.
See #51812 .
Built from https://develop.svn.wordpress.org/trunk@50367
git-svn-id: http://core.svn.wordpress.org/trunk@49978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-16 20:25:03 +00:00
Sergey Biryukov
b50e49f5c1
Accessibility: Taxonomy: Correct keyboard navigation for the Tags meta box in classic editor.
...
Props sabernhardt, almendron, jose64, alexstine, joedolson, ryokuhi.
Fixes #52408 .
Built from https://develop.svn.wordpress.org/trunk@50363
git-svn-id: http://core.svn.wordpress.org/trunk@49974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-16 20:04:07 +00:00
Sergey Biryukov
e99d544215
Administration: Apply the `months_dropdown_results` filter separately from `pre_months_dropdown_query`.
...
Follow-up to [50163].
Props hellofromTonya.
Fixes #51660 .
Built from https://develop.svn.wordpress.org/trunk@50362
git-svn-id: http://core.svn.wordpress.org/trunk@49973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-16 19:58:05 +00:00
John Blackbourn
6cb1eaa583
Posts, Post Types: Update the styling of the legacy Links editing screen.
...
This brings its styling inline with other meta boxes in the admin area.
Props antonlukin, kburgoine, grzim, sabernhardt, pbiron, audrasjb
Fixes #48782
Built from https://develop.svn.wordpress.org/trunk@50357
git-svn-id: http://core.svn.wordpress.org/trunk@49968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-16 18:50:03 +00:00
Sergey Biryukov
dbaee6b550
Filesystem API: Make sure to only call `fread()` on non-empty files in the PclZip library.
...
This avoids a fatal error on PHP 8 caused by passing a zero value to `fread()` as the `$length` argument, which must be greater than zero.
Props yakimun, fierevere, jrf, DavidAnderson, SergeyBiryukov.
Fixes #52018 .
Built from https://develop.svn.wordpress.org/trunk@50355
git-svn-id: http://core.svn.wordpress.org/trunk@49966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-16 18:42:03 +00:00
gziolo
135a35fd04
Blocks: Add missing apiVersion field when preparing server-registered blocks for the block editor
...
When working on changes to @wordpress/create-block tool (https://github.com/WordPress/gutenberg/pull/28883 ) to use register_block_type_from_metadata with block.json file in the templates for scaffolded blocks I run into this issue where apiVersion wasn't exposed from the server.
Fixes #52512 .
Built from https://develop.svn.wordpress.org/trunk@50297
git-svn-id: http://core.svn.wordpress.org/trunk@49942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-12 16:00:06 +00:00
Sergey Biryukov
463df820f8
Block Editor: Remove extra quotes from the default font stack for editor styles.
...
Follow-up to [50155].
Props dd32, Joen, kafleg.
Fixes #46169 .
Built from https://develop.svn.wordpress.org/trunk@50295
git-svn-id: http://core.svn.wordpress.org/trunk@49940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-12 07:55:06 +00:00