Commit Graph

40667 Commits

Author SHA1 Message Date
Andrew Ozz
20c17f7252 Fix the admin toolbar js when jQuery is not present and replace the jQuery based hoverIntent.js with a native implementation. Introduces the "hoverintent" (no dependencies) package.
Props dinhtungdu, audrasjb, azaozz.
Merges [46872] to the 5.3 branch.
Fixes #47069.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46873 602fd350-edb4-49c9-b593-d223f7449a82
2019-12-10 01:06:27 +00:00
Sergey Biryukov
ffa984b029 Block Editor: Resolve @wordpress/block-directory to the expected version, 1.0.6.
Follow-up to [46860].

Props aduth, garrett-eclipse, audrasjb, azaozz.
Merges [46870] to the 5.3 branch.
Fixes #48884.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46871 602fd350-edb4-49c9-b593-d223f7449a82
2019-12-09 22:28:59 +00:00
Sergey Biryukov
1775d3fe55 Menus: Avoid a PHP warning in add_submenu_page() when the same value is passed for both $parent_slug and $menu_slug parameters.
Props welcher, ispreview, ayeshrajans, NextScripts, adamsilverstein, garrett-eclipse, 123host.
Merges [46868] to the 5.3 branch.
Fixes #48599.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46869 602fd350-edb4-49c9-b593-d223f7449a82
2019-12-09 21:04:07 +00:00
Sergey Biryukov
5f753095a7 Administration: Standardize form control height and alignment across the admin.
This improves the appearance of various form controls in the admin and addresses some visual inconsistencies in WordPress 5.3.

Props afercia, audrasjb, jameskoster, GDragoN, azaozz, michaelarestad, murgroland, SamuelFernandez, chetan200891, veminom, dlh.
Merges [46866] to the 5.3 branch.
Fixes #48420.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46867 602fd350-edb4-49c9-b593-d223f7449a82
2019-12-09 20:26:42 +00:00
Sergey Biryukov
398e10d315 Date/Time: XML-RPC: Сalculate the proper offset for GMT in wp.newPost, wp.editComment, mw.newPost, mw.editPost when post_date or comment_date is set.
Previously, `post_date` or `comment_date` was assumed to be GMT, which is only true if the timezone string for the site matches GMT.

Add unit tests.

Props Rarst, smerriman, justdaiv, wonderboymusic, noyle.
Merges [46864] to the 5.3 branch.
Fixes #30429.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46865 602fd350-edb4-49c9-b593-d223f7449a82
2019-12-09 20:06:37 +00:00
Sergey Biryukov
a626f2e763 Date/Time: When determining whether to decline the month name in wp_maybe_decline_date(), take word boundaries into account.
Add more unit tests.

Props Rarst, Clorith, timon33, Xendo, SergeyBiryukov.
Merges [46862] to the 5.3 branch.
Fixes #48606.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46863 602fd350-edb4-49c9-b593-d223f7449a82
2019-12-09 19:00:18 +00:00
Sergey Biryukov
499e4b31b4 Block Editor: Bug fixes targeted for WordPress 5.3.1.
The list of included fixes:

- Edge scrolling issues https://github.com/WordPress/gutenberg/pull/17707
- Intermittent JavaScript issues https://github.com/WordPress/gutenberg/pull/18559
- Remove embed CollegeHumor https://github.com/WordPress/gutenberg/pull/18591 

Updated packages:

- @wordpress/block-directory@1.0.6
- @wordpress/block-editor@3.2.5
- @wordpress/block-library@2.9.6
- @wordpress/core-data@2.7.5
- @wordpress/edit-post@3.8.6
- @wordpress/editor@9.7.6
- @wordpress/format-library@1.9.5

Props youknowriad, ellatrix, epiqueras, audrasjb, gziolo, mcsf, kyliesabra.
Merges [46860] to the 5.3 branch.
Fixes #48884.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46861 602fd350-edb4-49c9-b593-d223f7449a82
2019-12-09 17:40:16 +00:00
Sergey Biryukov
b914eb1157 Upgrade/Install: Update sodium_compat to v1.12.1.
This includes a speedup for signature verification on most platforms and bugfixes for 32-bit platforms.

Props paragoninitiativeenterprises, lukaswaudentio.
Merges [46858] to the 5.3 branch.
Fixes #48371.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46859 602fd350-edb4-49c9-b593-d223f7449a82
2019-12-09 16:44:58 +00:00
Sergey Biryukov
b784f5ebaa Media: Use consistent width for Scale and Crop inputs.
Follow-up to [46359].

Props sabernhardt, audrasjb.
Merges [46856] to the 5.3 branch.
Fixes #48907.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46857 602fd350-edb4-49c9-b593-d223f7449a82
2019-12-09 16:22:43 +00:00
Sergey Biryukov
6d4b516483 Bundled Themes: Misaligned input placeholder text Twenty Twenty.
This fixes placeholder misalignment in Firefox when a `height` is added as an inline style to the input field.

Props aljullu, subratamal, ianbelanger.
Merges [46851], [46854] to the 5.3 branch.
Fixes #48876.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46855 602fd350-edb4-49c9-b593-d223f7449a82
2019-12-09 16:18:20 +00:00
Sergey Biryukov
dec1c93e5a Help/About: Add a hover effect for links on About pages.
* Add a color that passes WCAG color contrast criteria to every link.
* Add an underline for links in credits list only on hover/focus.

Props audrasjb, ixkaito, mukesh27, melchoyce, SergeyBiryukov.
Merges [46852] to the 5.3 branch.
Fixes #48582.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46853 602fd350-edb4-49c9-b593-d223f7449a82
2019-12-09 15:31:02 +00:00
Sergey Biryukov
1512fc23bd Twenty Twenty: Remove redundant echo for bloginfo() call in footer.php.
Props acosmin.
Merges [46849] to the 5.3 branch.
Fixes #48918.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46850 602fd350-edb4-49c9-b593-d223f7449a82
2019-12-09 15:00:23 +00:00
Sergey Biryukov
ce8ec53850 Twenty Twenty: Adds Customizer option to show or hide author bio.
This adds an option to the Customizer that allows you to turn the author bio on or off, sitewide.

Props williampatton, nielslange, acosmin, dlh, ianbelanger.
Merges [46813] to the 5.3 branch.
Fixes #48550.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46848 602fd350-edb4-49c9-b593-d223f7449a82
2019-12-09 14:39:30 +00:00
Sergey Biryukov
6d2ca4edba Twenty Twenty: Make checkbox in comment form larger.
This makes the checkbox in the comment form larger and more consistent with other checkboxes.

Props kharisblank, audrasjb, ianbelanger.
Merges [46844] to the 5.3 branch.
Fixes #48652.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46847 602fd350-edb4-49c9-b593-d223f7449a82
2019-12-09 14:30:27 +00:00
Sergey Biryukov
98247346c2 Administration: Correct checkbox width in list tables on smaller screens.
Previously, checkboxes for pending comments were partially hidden due to an added `4px` border.

Props audrasjb, jeremyfelt, talldanwp, melchoyce, marcelo2605, waleedt93.
Merges [46845] to the 5.3 branch.
Fixes #48815.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46846 602fd350-edb4-49c9-b593-d223f7449a82
2019-12-09 14:28:44 +00:00
Sergey Biryukov
56b7d0773a Accessibility: Menus: Properly disable form controls on the Menus screen that cannot be used until at least one menu is created.
This ensures that the actual UI controls state matches the visually conveyed state.

Props afercia, audrasjb, dinhtungdu, sathyapulse, simonjanin, welcher, SergeyBiryukov.
Merges [46842] to the 5.3 branch.
Fixes #48409.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46843 602fd350-edb4-49c9-b593-d223f7449a82
2019-12-09 13:48:37 +00:00
Sergey Biryukov
0df37cb856 Twenty Twenty: Correct alignment for embedded Instagram posts.
Props SGr33n, audrasjb, nielslange, JarretC.
Merges [46840] to the 5.3 branch.
Fixes #48688.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46841 602fd350-edb4-49c9-b593-d223f7449a82
2019-12-09 13:38:50 +00:00
Sergey Biryukov
0f26af82c0 Users: Introduce admin_email_remind_interval filter for dismissing the admin email confirmation screen.
Props desrosj, birgire.
Merges [46838], [46837] to the 5.3 branch.
Fixes #48334.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46839 602fd350-edb4-49c9-b593-d223f7449a82
2019-12-09 13:28:13 +00:00
Sergey Biryukov
1459e32c00 Upload: fix wp_unique_filename() to prevent name collisions with existing or future image sub-size file names, and add unit tests.
Props Viper007Bond, pbiron, azaozz.
Merges [46822], [46835] to the 5.3 branch.
Fixes #42437.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46836 602fd350-edb4-49c9-b593-d223f7449a82
2019-12-09 12:19:19 +00:00
Sergey Biryukov
e53dc246dc Upload: Exclude PNG images from scaling after uploading. Fixes a case where resizing a very large PNG may create a scaled image that has smaller dimensions but larger file size than the original.
Props azaozz.
Merges [46809] to the 5.3 branch.
Fixes #48736.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46834 602fd350-edb4-49c9-b593-d223f7449a82
2019-12-09 12:02:12 +00:00
Sergey Biryukov
f5afff0560 Twenty Twenty: Pass $post_meta and $location values to twentytwenty_start_of_post_meta_list and twentytwenty_end_of_post_meta_list actions to provide better context.
Props msaari, SergeyBiryukov.
Merges [46832] to the 5.3 branch.
Fixes #48906.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46833 602fd350-edb4-49c9-b593-d223f7449a82
2019-12-09 11:49:15 +00:00
Sergey Biryukov
5485536237 Twenty Twenty: Replace Smooth Scroll JS implementation with scroll-behavior CSS property.
The JS implementation had multiple issues and did not work as expected.

This change includes an accessibility enhancement by using `prefers-reduced-motion: reduce` media query property for users that don't want motion effects. For further explanation on this media query, see MDN documentation: https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior#Accessibility_concerns

Props audrasjb, melchoyce, joostdevalk, Anlino, mauteri, sergiomdgomes, littlebigthing, williampatton, netweb, andraganescu, joyously, acosmin, mukesh27, hareesh-pillai.
Merges [46824] to the 5.3 branch.
Fixes #48763, #48551, #48866.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46825 602fd350-edb4-49c9-b593-d223f7449a82
2019-12-07 11:06:06 +00:00
Sergey Biryukov
d0c1415415 Accessibility: Administration: Correct active button color for the alternative color schemes.
Follow-up to [46815].

Props melchoyce, ryelle, larrach, audrasjb, studiotwee, afercia, azaozz.
Merges [46817] to the 5.3 branch.
Fixes #48598.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46818 602fd350-edb4-49c9-b593-d223f7449a82
2019-12-05 22:11:36 +00:00
Sergey Biryukov
cc663e635b Accessibility: Administration: Apply a unified design to all secondary buttons across all color schemes.
This ensures that secondary buttons have an appropriate color contrast in the alternative color schemes.

Props melchoyce, ryelle, audrasjb, ate-up-with-motor, afercia, sabernhardt.
Merges [46815] to the 5.3 branch.
Fixes #48585.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46816 602fd350-edb4-49c9-b593-d223f7449a82
2019-12-05 21:32:26 +00:00
Sergey Biryukov
861d1d6182 Site Health: Add a test for PHP default timezone.
The test reports a failure if the default timezone was changed with `date_default_timezone_set()` to anything other than `UTC`.

WordPress historically uses `UTC` as the default timezone for calculating date and time offsets, overriding it is not recommended and can cause widespread and obscure issues.

Props Rarst, Clorith, TimothyBlynJacobs.
Merges [46797] to the 5.3 branch.
Fixes #48692.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46798 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-28 15:55:38 +00:00
Sergey Biryukov
8717becdd6 Date/Time: Make get_permalink() more resilient against PHP timezone changes.
Overriding default PHP timezone with `date_default_timezone_set()`, while not recommended, should not inadvertently result in changing existing permalinks.

Add a unit test.

Props Rarst, steevithak, archon810, maciejmackowiak, Ov3rfly, Cybr, hometowntrailers, scvleon, miette49.
Merges [46795] to the 5.3 branch.
Fixes #48623.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46796 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-28 13:55:22 +00:00
Sergey Biryukov
e387958e9a KSES: Add support for gradient backgrounds.
Props jorgefilipecosta.
Merges [46793] to the 5.3 branch.
Fixes #48376.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46794 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-28 00:28:50 +00:00
Sergey Biryukov
c0284b853d Users: Display admin email verification screen in user's locale instead of site locale.
Props sathyapulse, TimothyBlynJacobs.
Merges [46788] to the 5.3 branch.
Fixes #48313.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46789 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-27 14:38:37 +00:00
Jonathan Desrosiers
8f25de113e Bundled Themes: Fixes JS TypeError in Twenty Twenty.
On mobile devices using a webkit browser, the menu and search modals could not be opened due to a `TypeError: document.body is null`. This commit fixes that issue by adding a `touch-enabled` class to the body for browsers that do not support media queries.

Props quicoto, poena, Boga86, acosmin, macmanx, ianbelanger.
Fixes #48601.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46787 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-26 18:41:31 +00:00
Sergey Biryukov
da60d83460 Users: Use correct variable when displaying the Additional Capabilities list in user profile.
Addresses a regression in [45926].

Props wpgurudev, aravindajith, anantajitjg, davidbaumwald.
Merges [46782] to the 5.3 branch.
Fixes #48725.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46783 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-25 14:00:22 +00:00
Sergey Biryukov
91acd00d72 Widgets: Avoid to move focus to the Image Widget "Insert from URL" field.
Fixes a bug after [45499], where the backbone view element isn't the input field any longer. Also, managing focus programmatically is often an assumption on a specific user flow and should generally be avoided, see #43169.

Props dufresnesteven, afercia.
Merges [46745] to the 5.3 branch.
See #43169.
Fixes #48588.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46781 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-25 13:49:22 +00:00
Sergey Biryukov
e0584e95ce Options, Meta APIs: Avoid a race condition causing the first of two subsequent requests updating different options at the same time to lose changes.
Every time an autoloaded option is updated or deleted, the `alloptions` cache is similarly updated. Due to the race condition, on any autoloaded option being updated, every other autoloaded option had its value set to the value at load time, causing a mismatch between the data in the persistent cache and the database.

This change introduces a `$force_cache` parameter for `wp_load_alloptions()` to force an update of the local `alloptions` cache from the persistent cache when an option is added, updated, or deleted, to minimize the chance of affecting other options.

Props fabifott, rmccue, tollmanz, johnjamesjacoby, spacedmonkey, dd32, jipmoors, tellyworth, jeremyclarke, joehoyle, boonebgorges, danielbachhuber, flixos90, jeichorn, mihdan, Grzegorz.Janoszka, SergeyBiryukov.
Merges [46753] and [46779] to the 5.3 branch.
Fixes #31245.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46780 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-25 13:44:16 +00:00
Sergey Biryukov
a68ccc8614 Accessibility: Media: Add an aria-pressed attribute to active button within a button group.
The `aria-pressed` attribute communicates semantically the "active" state of buttons that otherwise only look "active".

Props afercia.
Merges [46748] to the 5.3 branch.
Fixes #48355.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46778 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-25 11:18:04 +00:00
Sergey Biryukov
68a98448e9 Accessibility: Add an aria-current attribute to the Media Library switch links.
The `aria-current` attribute is a simple, effective, way to help assistive technology users orientate themselves within a set of items.

Props mayanksonawat, afercia.
Merges [46746] to the 5.3 branch.
Fixes #48271.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46777 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-25 10:21:25 +00:00
Sergey Biryukov
544663c065 Docs: Fix typo in wp_credits_section_title() description.
Switch descriptions for `wp_credits_section_title()` and `wp_credits_section_list()` to third-person singular verbs, per the documentation standards.

Props hareesh-pillai.
Merges [46738] to the 5.3 branch.
Fixes #48674.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46776 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-25 10:19:01 +00:00
Sergey Biryukov
7cb231475b Editor: Improve the appearance of tag cloud in Tags meta box in classic editor.
Props sathyapulse, Spaceshipone, tmatsuur, audrasjb, afercia.
Merges [46758] to the 5.3 branch.
Fixes #48592.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46775 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-25 10:13:00 +00:00
Sergey Biryukov
a8a6a1fc00 Date/Time: Remove mysql2date() usage in get_feed_build_date() to ensure the output includes correct timezone offset.
With the changes in [45908], `mysql2date()` works correctly for all local time inputs, but should not be used for UTC time inputs.

Add a unit test.

Props Rarst, lisota.
Merges [46756] and [46757] to the 5.3 branch.
Fixes #48675.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46774 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-25 10:10:31 +00:00
Sergey Biryukov
7659f94b47 Media: Avoid a PHP notice in image_downsize() when trying to replace a non-image URL with a rendered image from its meta.
Props Mte90, jrf, hareesh-pillai.
Merges [46772] to the 5.3 branch.
Fixes #48324.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46773 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-25 10:07:32 +00:00
Sergey Biryukov
c96459b66b Accessibility: Administration: Underline links on Dashboard that are located within a line of text and thus need to be underlined:
* "change your theme completely"
* Active theme in the "At a Glance" box
* "View all drafts" in the Quick Draft box

Split "Manage widgets or menus" into separate items for consistency with other links.

For better accessibility, links that are a part of other text should be underlined and not rely on color alone to be distinguished.

Per accessibility coding standards:
> When links can be identified as such by the context, for example because they’re part of a menu, or a set of links clearly identified as user interface controls, they don’t necessarily need to be underlined. In all the other cases, especially for links surrounded by other text (in a line or block of text), links need to be always underlined.
https://make.wordpress.org/core/handbook/best-practices/coding-standards/accessibility-coding-standards/#links-underline-or-no-underline
https://make.wordpress.org/accessibility/handbook/design/use-of-color/#not-by-color-alone

Props afercia, audrasjb, karmatosed.
Merges [46770] to the 5.3 branch.
Fixes #48406.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46771 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-24 19:58:13 +00:00
Sergey Biryukov
03b7f795f5 Twenty Twenty: Fix typos in a variable name and inline comment in assets/js/color-calculations.js.
Props tanvirul.
Merges [46747] to the 5.3 branch.
Fixes #48704.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46769 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-24 11:03:05 +00:00
Sergey Biryukov
379c09d621 Embeds: Remove CollegeHumor oEmbed provider, as the service does not exist anymore.
Props audrasjb, youknowriad.
Merges [46761] to the 5.3 branch.
Fixes #48696.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46768 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-24 11:01:02 +00:00
Sergey Biryukov
9b6286fd43 Twenty Twenty: Correctly align the author bio and bottom post meta on single posts on mobile.
Props nielslange, Anlino.
Merges [46762] to the 5.3 branch.
Fixes #48619.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46767 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-24 10:59:16 +00:00
Sergey Biryukov
c293937438 Twenty Twenty: Remove duplicate array key/value in TwentyTwenty_Non_Latin_Languages::get_non_latin_css().
Props manikmist09.
Merges [46765] to the 5.3 branch.
Fixes #48624.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46766 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-24 10:57:24 +00:00
Sergey Biryukov
995d8b3449 Post WordPress 5.3 version bump.
git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46728 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-12 21:55:15 +00:00
Sergey Biryukov
6a38c45f34 WordPress 5.3.
git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46726 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-12 20:26:31 +00:00
Sergey Biryukov
b324cafe44 Help/About: Move images to the CDN.
Props ryelle.
Merges [46724] to the 5.3 branch.
Fixes #47708.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46725 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-12 18:30:26 +00:00
Sergey Biryukov
4874ee7539 Bundled Themes: Update Twenty Twenty.
This brings Twenty Twenty in sync with GitHub. For a full list of changes since [46715], see fa8c3fc...a9e73ab.

Props Anlino, karmatosed, williampatton, poena, joyously, ianbelanger, chetan200891.
See #48110, #48386, #48450, #48505, #48557.
Merges [46722] to the 5.3 branch.
Fixes #48571.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46723 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-12 18:24:42 +00:00
Sergey Biryukov
fa56af86d8 Bundled Themes: Update copyright year in readme.txt.
Add a unit test to ensure the year stays up to date.

Props dkarfa, SergeyBiryukov.
Merges [46719] and [46720] to the 5.3 branch.
Fixes #48566.

git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46721 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-12 18:04:34 +00:00
Sergey Biryukov
8d18730355 Post WordPress 5.3 RC5 version bump.
git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46718 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-12 02:46:21 +00:00
Sergey Biryukov
f8296fc815 WordPress 5.3 RC5.
git-svn-id: https://develop.svn.wordpress.org/branches/5.3@46717 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-12 02:17:59 +00:00