Commit Graph

41308 Commits

Author SHA1 Message Date
Peter Wilson
3001120a45 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.4 branch.
See #56532.



Built from https://develop.svn.wordpress.org/branches/5.4@54436


git-svn-id: http://core.svn.wordpress.org/branches/5.4@53995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-10-10 05:07:01 +00:00
desrosj
a48aad36fb WordPress 5.4.11.
Built from https://develop.svn.wordpress.org/branches/5.4@53993


git-svn-id: http://core.svn.wordpress.org/branches/5.4@53552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-30 17:31:55 +00:00
Sergey Biryukov
bbe1981534 Grouped backports to the 5.4 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.4 branch.
Props tykoted, martinkrcho, xknown, dd32, peterwilsoncc, paulkevan, timothyblynjacobs.

Built from https://develop.svn.wordpress.org/branches/5.4@53969


git-svn-id: http://core.svn.wordpress.org/branches/5.4@53528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-08-30 15:36:55 +00:00
davidbaumwald
a17214dd2f WordPress 5.4.10.
Built from https://develop.svn.wordpress.org/branches/5.4@52872


git-svn-id: http://core.svn.wordpress.org/branches/5.4@52461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-10 21:58:55 +00:00
audrasjb
da29918480 External Librairies: Update jQuery.query to version 2.2.3.
This updates the "jquery-query" library from version 2.1.7 to 2.2.3.

Props jorbin, peterwilsoncc, xknown, audrasjb, jorgefilipecosta.
Merges [52844] to the 5.4 branch.

Built from https://develop.svn.wordpress.org/branches/5.4@52852


git-svn-id: http://core.svn.wordpress.org/branches/5.4@52441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-10 21:07:55 +00:00
desrosj
e4e39a15dc WordPress 5.4.9.
Built from https://develop.svn.wordpress.org/branches/5.4@52491


git-svn-id: http://core.svn.wordpress.org/branches/5.4@52083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-06 18:49:54 +00:00
desrosj
cac7dd4942 Grouped backports to the 5.4 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.4 branch.
Props vortfu, dd32, ehtis, zieladam, whyisjake, xknown, peterwilsoncc, desrosj, iandunn.
Built from https://develop.svn.wordpress.org/branches/5.4@52469


git-svn-id: http://core.svn.wordpress.org/branches/5.4@52061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-06 18:11:51 +00:00
desrosj
562cb70fcb WordPress 5.4.8.
Built from https://develop.svn.wordpress.org/branches/5.4@52117


git-svn-id: http://core.svn.wordpress.org/branches/5.4@51709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-10 17:09:50 +00:00
desrosj
a358d35b05 HTTP: Remove the DST Root CA X3 certificate expired on September 30, 2021.
> The currently recommended certificate chain as presented to Let’s Encrypt ACME clients when new certificates are issued contains an intermediate certificate (ISRG Root X1) that is signed by an old DST Root CA X3 certificate that expires on 2021-09-30. In some cases the OpenSSL 1.0.2 version will regard the certificates issued by the Let’s Encrypt CA as having an expired trust chain.
> 
> Most up-to-date CA cert trusted bundles, as provided by operating systems, contain this soon-to-be-expired certificate. The current CA cert bundles also contain an ISRG Root X1 self-signed certificate. This means that clients verifying certificate chains can find the alternative non-expired path to the ISRG Root X1 self-signed certificate in their trust store.
> 
> Unfortunately this does not apply to OpenSSL 1.0.2 which always prefers the untrusted chain and if that chain contains a path that leads to an expired trusted root certificate (DST Root CA X3), it will be selected for the certificate verification and the expiration will be reported.

References:
* [https://www.openssl.org/blog/blog/2021/09/13/LetsEncryptRootCertExpire/ Old Let’s Encrypt Root Certificate Expiration and OpenSSL 1.0.2]
* [https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/ DST Root CA X3 Expiration (September 2021)]

Follow-up to [25224], [25426], [25569], [27307], [30491], [30765], [34283], [35919], [36570], [46094].

Props bradleyt, fierevere, SergeyBiryukov, peterwilsoncc.
Merges [51883] to the 5.4 branch.
Fixes #54207. See #50828.
Built from https://develop.svn.wordpress.org/branches/5.4@52100


git-svn-id: http://core.svn.wordpress.org/branches/5.4@51692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-10 02:15:53 +00:00
desrosj
1d3a777a64 WordPress 5.4.7.
Built from https://develop.svn.wordpress.org/branches/5.4@51762


git-svn-id: http://core.svn.wordpress.org/branches/5.4@51369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-08 21:34:50 +00:00
desrosj
e5af3e6422 Grouped merges for 5.4.7.
- Update `lodash` to the latest version `4.17.21`.
- Disable some attributes for rich text.
- Use hashed/deterministic moduleIDs in webpack config.

Props ellatrix, peterwilsoncc, get_dave, mcsf, talldanwp, youknowriad, desrosj, nerrad, gziolo.
Merges [50940-50941,50984-50985,51426] to the 5.4 branch.
Built from https://develop.svn.wordpress.org/branches/5.4@51754


git-svn-id: http://core.svn.wordpress.org/branches/5.4@51361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-08 21:20:58 +00:00
Sergey Biryukov
bf60842c7d General: Only use _jsonp_wp_die_handler() for JSONP REST API requests.
Props mdawaffe, peterwilsoncc.
Merges [51740] to the 5.4 branch.
Built from https://develop.svn.wordpress.org/branches/5.4@51745


git-svn-id: http://core.svn.wordpress.org/branches/5.4@51353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-08 17:26:54 +00:00
Peter Wilson
9fad766cf5 WordPress 5.4.6.
Built from https://develop.svn.wordpress.org/branches/5.4@50872


git-svn-id: http://core.svn.wordpress.org/branches/5.4@50481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-12 23:14:52 +00:00
Peter Wilson
c4defc8bc7 External libraries: Improve attachment handling in PHPMailer
Props: audrasjb, ayeshrajans, desrosj, peterwilsoncc, xknown.
Partially merges [50799] to the 5.4 branch.


Built from https://develop.svn.wordpress.org/branches/5.4@50850


git-svn-id: http://core.svn.wordpress.org/branches/5.4@50459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-12 22:27:53 +00:00
Peter Wilson
304800d3df Version bump for 5.4.5.
Built from https://develop.svn.wordpress.org/branches/5.4@50739


git-svn-id: http://core.svn.wordpress.org/branches/5.4@50348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-15 01:36:54 +00:00
desrosj
05d137fa28 Grouped merges for 5.4.5.
* REST API: Allow authors to read their own password protected posts.
* About page update.

Merges [50717] to the 5.4 branch.

Built from https://develop.svn.wordpress.org/branches/5.4@50727


git-svn-id: http://core.svn.wordpress.org/branches/5.4@50336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-15 01:09:57 +00:00
Peter Wilson
d53989d502 Editor: Update of @wordpress npm packages for 5.4.5.
Built from https://develop.svn.wordpress.org/branches/5.4@50723


git-svn-id: http://core.svn.wordpress.org/branches/5.4@50332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-15 00:13:59 +00:00
desrosj
e22ba4ed45 Build/Test Tools: Backport GitHub Action and build improvements to the 5.4 branch.
This backports several build and test tool improvements to the 5.4 branch. Most notably, this includes:

- The changes required to allow each workflow to be triggered by the `workflow_dispatch` event so that tests can be run on a schedule [50590].
- The ability to run PHPUnit tests from `src` instead of `build` [50441-50443].
- Splitting single site and multisite tests into parallel jobs [50379].
- Split slow tests into separate, parallel jobs for PHP 5.6 [50444].
- Better branch and path scoping for GitHub Action workflows when running on `pull_request` [50432,50479].
- Several `devDependency` updates.

Merges [50267,50299,50379,50387,50413,50416,50432,50435-50436,50441-50444,50446,50473-50474,50476,50479,50485-50487,50545,50579,50590,50598] to the 5.4 branch.
See #50401, #51734, #51801, #51802, #52548, #52608, #52612, #52623, #52624, #52625, #52645, #52653, #52658, #52660, #52667.
Built from https://develop.svn.wordpress.org/branches/5.4@50604


git-svn-id: http://core.svn.wordpress.org/branches/5.4@50217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-26 18:21:57 +00:00
desrosj
81cff8dd5d Build/Test Tools: Support NodeJS 14.x in the 5.4 branch.
This updates the 5.4 branch to support the latest LTS version of NodeJS (currently 14.x), allowing the same version to be used across all WordPress branches that receive security updates as a courtesy.

In addition to backporting the package updates that happened after branching 5.4, dependencies that were removed in future releases have also been updated to their latest versions.

Props desrosj, dd32, netweb, jorbin.
Merges [47867,48213,47872-47873,48705,49636,49933,49937,49939,49940,49983,49989,50017,50126,50176,50185] to the 5.4 branch.
See #52341.
Built from https://develop.svn.wordpress.org/branches/5.4@50189


git-svn-id: http://core.svn.wordpress.org/branches/5.4@49867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-05 03:12:12 +00:00
Sergey Biryukov
2c3280a29c WordPress 5.4.4.
Built from https://develop.svn.wordpress.org/branches/5.4@49459


git-svn-id: http://core.svn.wordpress.org/branches/5.4@49218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-30 19:47:10 +00:00
whyisjake
e31b706de8 Upgrade/Install: During the install process, add additional checking for exising tables.
This commit brings the changes in [49452] to the 5.4 branch.

If reinstalling WordPress, there is a condition where tables would exist in the database. Ensures that when that is the case, the install process can carry along without issue.

Fixes #51676.

Props xknown, garubi, mukesh27, desrosj, johnbillion, metalandcoffee, davidbaumwald, whyisjake.

Built from https://develop.svn.wordpress.org/branches/5.4@49454


git-svn-id: http://core.svn.wordpress.org/branches/5.4@49213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-30 18:27:09 +00:00
desrosj
dc457efef8 WordPress 5.4.3.
Built from https://develop.svn.wordpress.org/branches/5.4@49410


git-svn-id: http://core.svn.wordpress.org/branches/5.4@49169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-29 19:35:09 +00:00
whyisjake
7fa5b6c463 General: WordPress updates
* XML-RPC: Improve error messages for unprivileged users.
* External Libraries: Disable deserialization in Requests_Utility_FilteredIterator
* Embeds: Disable embeds on deactivated Multisite sites.
* Coding standards: Modify escaping functions to avoid potential false positives.
* XML-RPC: Return error message if attachment ID is incorrect.
* Upgrade/install: Improve logic check when determining installation status.
* Meta: Sanitize meta key before checking protection status.
* Themes: Ensure that only privileged users can set a background image when a theme is using the deprecated custom background page.

Brings the changes from [49380,49382-49388] to the 5.4 branch.

Props xknown, zieladam, peterwilsoncc, whyisjake, desrosj, dd32.

Built from https://develop.svn.wordpress.org/branches/5.4@49391


git-svn-id: http://core.svn.wordpress.org/branches/5.4@49150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-29 18:41:13 +00:00
desrosj
4f7edb22a1 Build/Test Tools: Allow the desired version of PHPUnit to be passed to the local Docker environment.
This introduces the `LOCAL_PHPUNIT` environment variable, which allows the desired version of PHPUnit to be specified when running the PHP tests within the local Docker environment.

Because support for newer versions of PHPUnit is not backported, some versions of PHP need the ability to run multiple versions of PHPUnit for different branches. This adds the flexibility needed to use the Docker environment within those older branches to run the PHP tests.

Props johnbillion, SergeyBiryukov.
Merges [49362] to the 5.4 branch.
See #50042.
Built from https://develop.svn.wordpress.org/branches/5.4@49364


git-svn-id: http://core.svn.wordpress.org/branches/5.4@49124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-28 23:48:09 +00:00
desrosj
47674e27e7 Build/Test Tools: Specify a type when using wp config set.
This prevents an error if constants are not predefined when running the Docker install script while using older combinations of WordPress/PHP/WP-CLI.

Backports [49335] to the 5.4 branch.
See #48301.
Built from https://develop.svn.wordpress.org/branches/5.4@49341


git-svn-id: http://core.svn.wordpress.org/branches/5.4@49102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-27 19:06:13 +00:00
Sergey Biryukov
92b65c7449 Build Tools: Fix running installing Composer dependencies using Composer 2.0.
This updates the `dealerdirect/phpcodesniffer-composer-installer` package to allow installing version `0.7.0` which supports Composer 2.0.

Props itowhid06, jrf.
Merges [49306] to the 5.4 branch.
See #51624.
Built from https://develop.svn.wordpress.org/branches/5.4@49318


git-svn-id: http://core.svn.wordpress.org/branches/5.4@49080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-27 00:06:06 +00:00
Sergey Biryukov
e82a76b282 Tests: Temporarily skip PDF tests if they fail due to ImageMagick permission errors.
Merges [48338], [48341] to the 5.4 branch.

See #50573.
Built from https://develop.svn.wordpress.org/branches/5.4@48366


git-svn-id: http://core.svn.wordpress.org/branches/5.4@48135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 09:34:07 +00:00
Sergey Biryukov
6d6b2663e3 Administration: Pass the result of set-screen-option filter to the new set_screen_option_{$option} filter to ensure backward compatibility.
Rename the `$keep` parameter of both filters to `$screen_option` for clarity, update the documentation to better reflect its purpose.

Follow-up to [47951].

Props Chouby, sswells, SergeyBiryukov.
Merges [48241] to the 5.4 branch.
Fixes #50392.
Built from https://develop.svn.wordpress.org/branches/5.4@48244


git-svn-id: http://core.svn.wordpress.org/branches/5.4@48013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-01 09:45:08 +00:00
Dominik Schilling
16851bac1c Bump Akismet external to 4.1.6.
git-svn-id: http://core.svn.wordpress.org/branches/5.4@47863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-19 18:52:01 +00:00
Sergey Biryukov
63a8b31572 Bundled Themes: Bump Twenty Twenty and Twenty Nineteen versions.
This was intended for the WordPress 5.4.2 release, but will now be released with WordPress 5.4.3 instead.

Props ianbelanger, ocean90.
Merges [47800] and [47952] to the 5.4 branch.
Fixes #50359. See #50174.
Built from https://develop.svn.wordpress.org/branches/5.4@48029


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-11 18:52:10 +00:00
desrosj
bc0b9ddb79 Post WordPress 5.4.2 version bump.
Built from https://develop.svn.wordpress.org/branches/5.4@48025


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 22:50:09 +00:00
desrosj
da4607a28a WordPress 5.4.2.
Props whyisjake, audrasjb, desrosj.
Fixes #50269.
Built from https://develop.svn.wordpress.org/branches/5.4@47989


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 21:32:07 +00:00
whyisjake
8c6dbdb9ae Editor: Ensure latest comments can only be viewed from public posts.
This brings the changes from [47984] to the 5.4 branch.

Props: poena, xknown.

Built from https://develop.svn.wordpress.org/branches/5.4@47985


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 19:23:06 +00:00
desrosj
ec8c5a8761 Administration: Add a new filter to extend set-screen-option.
Merges [47951] to the 5.4 branch.
Props: xknown, SergeyBiryukov.
Built from https://develop.svn.wordpress.org/branches/5.4@47957


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 17:50:12 +00:00
desrosj
9e494d832d Themes: Ensure a broken theme name is returned properly.
Merges [47950] to the 5.4 branch.
Props: sstoqnov.
Built from https://develop.svn.wordpress.org/branches/5.4@47956


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 17:49:06 +00:00
desrosj
caab820b2c Formatting: Ensure that wp_validate_redirect() sanitizes a wider variety of characters.
Merges [47949] to the 5.4 branch.
Props: xknow, vortfu.
Built from https://develop.svn.wordpress.org/branches/5.4@47955


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 17:47:10 +00:00
desrosj
72f6ea5d76 Editor: Prevent HTML decoding on by setting the proper editor context.
Merges [47948] to the 5.4 branch.
Props: sstoqnov.
Built from https://develop.svn.wordpress.org/branches/5.4@47954


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 17:46:05 +00:00
desrosj
0fe021801d Embeds: Ensure that the title attribute is set correctly on embeds.
Merges [47947] to the 5.4 branch.
Props xknown.
Built from https://develop.svn.wordpress.org/branches/5.4@47953


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 17:44:07 +00:00
Sergey Biryukov
e23ccd2fcd Site Health: Avoid a PHP notice in WP_Site_Health::wp_cron_scheduled_check() if async test response does not contain the expected result.
Additionally, avoid a PHP notice in `::get_test_php_version()` if the minimum recommended version of PHP could not be determined.

Props schlessera, oakesjosh.
Merges [47628] to the 5.4 branch.
Fixes #49943.
Built from https://develop.svn.wordpress.org/branches/5.4@47931


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-09 11:27:09 +00:00
whyisjake
5c256d1c7a WordPress 5.4.2 RC 1.
Built from https://develop.svn.wordpress.org/branches/5.4@47900


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-03 15:11:07 +00:00
whyisjake
64345bf1ca WordPress 5.4.2 Beta 1.
Built from https://develop.svn.wordpress.org/branches/5.4@47899


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-03 15:08:10 +00:00
Sergey Biryukov
e0b6dd51ee Comments: Rename Walker_Comment::comment_text() to ::filter_comment_text() for clarity.
Ensure the comment object is not null before checking its status.

Follow-up to [47887].

Merges [47889] to the 5.4 branch.
See #49956.
Built from https://develop.svn.wordpress.org/branches/5.4@47890


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-02 21:46:19 +00:00
whyisjake
30dba0b409 Comments: Ensure that unmoderated comments won't be search indexed.
After a comment is submitted, only allow a brief window where the comment is live on the site.

This brings the changes from [47887] to the 5.4 branch.

Fixes #49956.
Props: jonkolbert, ayeshrajans, Asif2BD, peterwilsoncc, imath, audrasjb, jonoaldersonwp, whyisjake.

Built from https://develop.svn.wordpress.org/branches/5.4@47888


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-02 20:26:10 +00:00
whyisjake
07435f4a44 Bundled Themes: Add missing RTL styles for to fix inconsistent margins on .alignwide and .alignfull items.
Fixes the inconsistent margins for alignwide and alignfull classes used on Cover Block when it is the first block on a page.

This commit brings the changes from [47846] to the 5.4 branch.

Props kthmd, utz119, nikhilbhansi, and sabernhardt.
Fixes #49435.

Built from https://develop.svn.wordpress.org/branches/5.4@47847


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-23 06:25:06 +00:00
whyisjake
f34232edaf REST API: Ensure proper namespacing when registering routes.
The PR will corerce routes that have a leading slash and throwing a _doing_it_wrong notice while ensuring a proper namespace.

This brings the changes from [47842] to the 5.4 branch.

Fixes #49749.
Props TimothyBlynJacobs, skarabeq, afercia, skithund.

Built from https://develop.svn.wordpress.org/branches/5.4@47843


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-22 21:00:07 +00:00
Sergey Biryukov
51997857ee Customize: Move the WordPress logo with a white background to the wp-includes directory.
This ensures that the image used as a default site icon looks good on a dark background.

The image was previously changed in the `wp-admin` directory, but the site icon is now loaded from `wp-includes`.

Follow-up to [36635], [47018], [47564], [47832].

Props ocean90.
Merges [47838] to the 5.4 branch.
Fixes #49798.
Built from https://develop.svn.wordpress.org/branches/5.4@47839


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-21 09:13:09 +00:00
Sergey Biryukov
8597b34d6f Customize: Load the default site icon from the wp-includes directory.
Files inside the `wp-admin` directory may not be publicly available.

Follow-up to [36635], [47018].

Merges [47832] to the 5.4 branch.

Props whyisjake, finomeno, ocean90.
Fixes #50131.
Built from https://develop.svn.wordpress.org/branches/5.4@47833


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-20 10:38:08 +00:00
whyisjake
fd07f8bf9f Bundled Themes: Twenty Nineteen decrease the font size for widget titles.
Update styles to decrease the font size for widget titles.

This commit brings the changes from [47586] to the 5.4 branch.

Props kjellr, mukesh27.
Fixes #45865.

Built from https://develop.svn.wordpress.org/branches/5.4@47831


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-20 00:23:07 +00:00
whyisjake
5bab6998d6 Bundled Themes: Twenty Twenty custom post types that don't support authors, shows author box.
This fixes the issue where custom post types will show an author box, even if they don't support authors.

This brings the changes in [47799] to the 5.4 branch.

Props joyously, donmhico.
Fixes #48803.

Built from https://develop.svn.wordpress.org/branches/5.4@47830


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-19 23:30:06 +00:00
whyisjake
8e5980a770 Bundled Themes: Twenty Twenty anchor links don't work in mobile menu.
Modifies the mobile modal menu javascript, so that anchor links will close the modal and scroll to the anchor within the page.

This brings the changes from [47784] to the 5.4 branch.

Props Giorgio25b, suzylah, yuhin, samful, bdcstr.
Fixes #48916.

Built from https://develop.svn.wordpress.org/branches/5.4@47829


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-19 22:50:07 +00:00