Commit Graph

39744 Commits

Author SHA1 Message Date
Felix Arntz 2264493b0d Bundled Theme: Load Google fonts with `display=fallback` parameter for better UX in case the font cannot be loaded.
Providing this query parameter ensures the stylesheet contains the `font-display: fallback` rule. This changeset also updates the Open Sans font used by core accordingly.

Props westonruter.
Fixes #47282.


git-svn-id: https://develop.svn.wordpress.org/trunk@45485 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-31 10:09:39 +00:00
Sergey Biryukov 37e745c041 CSS Coding Standards: Use unitless values for `line-height` in `wp-admin/css/media.css`.
Props ianbelanger, mukesh27, pbiron, afercia.
Fixes #46530. See #44643.

git-svn-id: https://develop.svn.wordpress.org/trunk@45484 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-30 16:44:02 +00:00
Sergey Biryukov 454cdf5f54 Media: Move tag cloud styles that accidentally ended up in Media section after the reorganization in [16136] to a more appropriate place.
Remove styles for `wp-admin/update-core.php` accidentally duplicated in Media section as part of the same reorganization.

See #46530.

git-svn-id: https://develop.svn.wordpress.org/trunk@45483 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-30 16:39:59 +00:00
Riad Benguella 3b248eeb83 Block Editor: Update packages to the ones slated for WP5.2.2
- Fix the template validation notice
 - Fix for focus jumps when typing in meta attributes

Packages updated:

 - @wordpress/block-editor@2.0.3
 - @wordpress/block-library@2.4.6
 - @wordpress/e2e-tests@1.1.6
 - @wordpress/edit-post@3.3.6
 - @wordpress/editor@9.2.6
 - @wordpress/format-library@1.4.6

Props aduth, desrosj.
Fixes #47429.


git-svn-id: https://develop.svn.wordpress.org/trunk@45481 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-30 15:40:59 +00:00
Jonathan Desrosiers fea049171e Docs: Add missing function documentation for `list_plugin_updates()`.
Introduced in [9543].

Props priyankkpatel, mukesh27.
Fixes #47424.

git-svn-id: https://develop.svn.wordpress.org/trunk@45480 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-30 15:09:32 +00:00
Jonathan Desrosiers 01cbc28400 Docs: Add missing documentation for the locale meta field.
The user’s locale is passed in the `$meta` parameter for `insert_user_meta`. Added in [38705].

Props tmatsuur.
Fixes #47423.

git-svn-id: https://develop.svn.wordpress.org/trunk@45479 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-30 14:36:41 +00:00
Sergey Biryukov c60e468c6f CSS Coding Standards: Use unitless values for `line-height` in `wp-includes/css/media-views.css`.
Props ianbelanger, pbiron, afercia.
Fixes #46529. See #44643.

git-svn-id: https://develop.svn.wordpress.org/trunk@45478 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-30 13:17:48 +00:00
Sergey Biryukov a348577580 CSS Coding Standards: Use unitless values for `line-height` in `wp-includes/css/editor.css`.
Props ianbelanger, pbiron, afercia.
Fixes #46528. See #44643.

git-svn-id: https://develop.svn.wordpress.org/trunk@45477 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-30 12:44:43 +00:00
Sergey Biryukov 42d0a9ff5d CSS Coding Standards: Use unitless values for `line-height` in `wp-includes/css/buttons.css`.
Props ianbelanger, pbiron, afercia.
Fixes #46526. See #44643.

git-svn-id: https://develop.svn.wordpress.org/trunk@45476 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-30 12:41:56 +00:00
Sergey Biryukov 4154cb7762 CSS Coding Standards: Use unitless values for `line-height` in `wp-includes/css/wp-pointer.css`.
Props ianbelanger, pbiron, afercia.
Fixes #46525. See #44643.

git-svn-id: https://develop.svn.wordpress.org/trunk@45475 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-30 12:40:59 +00:00
Sergey Biryukov cfe0064c7a CSS Coding Standards: Use unitless values for `line-height` in `wp-includes/css/wp-embed-template.css`.
Props ianbelanger, pbiron, afercia.
Fixes #46524. See #44643.

git-svn-id: https://develop.svn.wordpress.org/trunk@45474 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-30 12:39:26 +00:00
Sergey Biryukov f706a2d4c4 CSS Coding Standards: Use unitless values for `line-height` in `wp-includes/functions.php`.
Props ianbelanger, pbiron, afercia.
Fixes #46523. See #44643.

git-svn-id: https://develop.svn.wordpress.org/trunk@45473 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-30 12:38:09 +00:00
Sergey Biryukov e7f7b81bcc CSS Coding Standards: Use unitless values for `line-height` in `wp-includes/css/wp-auth-check.css`.
Props ianbelanger, pbiron, afercia.
Fixes #46522. See #44643.

git-svn-id: https://develop.svn.wordpress.org/trunk@45472 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-30 12:36:39 +00:00
Sergey Biryukov 6da8445436 CSS Coding Standards: Use unitless values for `line-height` in `wp-includes/css/jquery-ui-dialog.css`.
Props ianbelanger, pbiron, afercia.
Fixes #46521. See #44643.

git-svn-id: https://develop.svn.wordpress.org/trunk@45471 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-30 12:35:03 +00:00
Sergey Biryukov 6bd334d74b CSS Coding Standards: Use unitless values for `line-height` in `wp-includes/css/customize-preview.css`.
Props ianbelanger, pbiron, afercia.
Fixes #46520. See #44643.

git-svn-id: https://develop.svn.wordpress.org/trunk@45470 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-30 12:33:13 +00:00
Sergey Biryukov bf0213bbc7 CSS Coding Standards: Use unitless values for `line-height` in `wp-includes/css/admin-bar.css`.
Props ianbelanger, pbiron, afercia.
Fixes #46519. See #44643.

git-svn-id: https://develop.svn.wordpress.org/trunk@45469 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-30 12:31:57 +00:00
Sergey Biryukov 0b50df57a7 CSS Coding Standards: Use unitless values for `line-height` in `wp-admin/css/revisions.css`.
Props ianbelanger, pbiron, afercia.
Fixes #46517. See #44643.

git-svn-id: https://develop.svn.wordpress.org/trunk@45468 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-30 12:15:21 +00:00
Sergey Biryukov efe514a8c2 CSS Coding Standards: Use unitless values for `line-height` in `wp-admin/css/list-tables.css`.
Props ianbelanger, pbiron, afercia.
Fixes #46515. See #44643.

git-svn-id: https://develop.svn.wordpress.org/trunk@45467 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-30 12:14:11 +00:00
Sergey Biryukov 2254e86861 CSS Coding Standards: Use unitless values for `line-height` in `wp-admin/css/login.css`.
Props ianbelanger, pbiron, afercia.
Fixes #46514. See #44643.

git-svn-id: https://develop.svn.wordpress.org/trunk@45466 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-30 12:08:53 +00:00
Sergey Biryukov ca40b4ef9f CSS Coding Standards: Use unitless values for `line-height` in `wp-admin/css/install.css`.
Props ianbelanger, pbiron, afercia.
Fixes #46513. See #44643.

git-svn-id: https://develop.svn.wordpress.org/trunk@45465 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-30 11:52:20 +00:00
Sergey Biryukov e9f7b9a81d CSS Coding Standards: Use unitless values for `line-height` in `wp-admin/css/forms.css`.
Props ianbelanger, pbiron, afercia.
Fixes #46512. See #44643.

git-svn-id: https://develop.svn.wordpress.org/trunk@45464 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-30 11:48:09 +00:00
Andrea Fercia 79e2b83b8f Administration: Improve the Site Health tables layout for small screens.
Props immeet94, jankimoradiya, desrosj, shashank3105, chetan200891, Clorith, hedgefield.	
Fixes #46960.


git-svn-id: https://develop.svn.wordpress.org/trunk@45463 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-29 18:21:45 +00:00
Sergey Biryukov 663c2f6562 CSS Coding Standards: Use unitless values for `line-height` in `wp-admin/css/edit.css`.
Props ianbelanger, pbiron, afercia.
Fixes #46511. See #44643.

git-svn-id: https://develop.svn.wordpress.org/trunk@45462 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-29 16:04:38 +00:00
Sergey Biryukov febf206326 CSS Coding Standards: Use unitless values for `line-height` in `wp-admin/css/dashboard.css`.
Props ianbelanger, pbiron, afercia.
Fixes #46510. See #44643.

git-svn-id: https://develop.svn.wordpress.org/trunk@45461 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-29 16:02:49 +00:00
Sergey Biryukov 84efe08557 CSS Coding Standards: Use unitless values for `line-height` in `wp-admin/css/customize-widgets.css`.
Props ianbelanger, pbiron, afercia.
Fixes #46509. See #44643.

git-svn-id: https://develop.svn.wordpress.org/trunk@45460 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-29 16:00:40 +00:00
Jonathan Desrosiers 1b4d29ab71 Administration: Add missing filter documentation for Site Health auto update tests.
Props johnbillion, mukesh27.
Fixes #47388.

git-svn-id: https://develop.svn.wordpress.org/trunk@45459 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-29 13:58:33 +00:00
Andrew Ozz 3337e709ee Fix unit tests after [45456]. The query string is a bit different but the results are the same.
See #45346.

git-svn-id: https://develop.svn.wordpress.org/trunk@45458 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-28 04:18:53 +00:00
Andrew Ozz 5bcaac6cfd Fix previous WPCS errors in `script-loader.php` triggered by [45456].
See #45346.

git-svn-id: https://develop.svn.wordpress.org/trunk@45457 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-28 03:31:55 +00:00
Andrew Ozz 2d02bb13d1 Script loader: prevent sorting of the `load` array in the query string when passing the script handles to load-scripts.php and load-styles.php.
Fixes #45346 #26886.

git-svn-id: https://develop.svn.wordpress.org/trunk@45456 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-28 02:42:24 +00:00
Andrew Ozz 9ca38510d1 Build tools, WPCS: disable line ending check when running `phpcs` but fix them to `\n` whit `phpcfb`. Fixes (erroneous) reports on Windows about improper line endings in all files. They are managed directly by Git or SVN.
Fixes #47411.

git-svn-id: https://develop.svn.wordpress.org/trunk@45455 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-28 00:25:42 +00:00
Sergey Biryukov 6d523d5044 Docs: Add a comment about the reinstated `wp-admin/options-privacy.php`.
See #43895.

git-svn-id: https://develop.svn.wordpress.org/trunk@45454 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-27 03:02:33 +00:00
Sergey Biryukov 2208412015 Privacy: Remove reinstated `wp-admin/options-privacy.php` from `$_old_files`.
Fix WPCS violations in [45448].

See #43895.

git-svn-id: https://develop.svn.wordpress.org/trunk@45453 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-27 02:39:46 +00:00
Andrew Ozz d670b91335 Fix typo in [45451] and move the redirect to the proper location.
See #43895.

git-svn-id: https://develop.svn.wordpress.org/trunk@45452 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 23:20:56 +00:00
Andrew Ozz 2fb86e26e6 Privacy tools: restore `privacy.php` to its "proper" use to output the Privacy tab on the About screen, see [42814]. Then add the Privacy tab updates from freedoms.php.
See #43895.



git-svn-id: https://develop.svn.wordpress.org/trunk@45451 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 22:56:18 +00:00
John Blackbourn 41847b234e Docs: Improve documentation for some more variadic functions.
Fixes #37402


git-svn-id: https://develop.svn.wordpress.org/trunk@45450 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 22:47:23 +00:00
John Blackbourn 5b5ebdaa39 Docs: Improve docs for variadic functions relating to widgets and their controls.
See #37402


git-svn-id: https://develop.svn.wordpress.org/trunk@45449 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 22:04:04 +00:00
Andrew Ozz 9fcb362fa0 Privacy tools: Organize privacy functions into logical files and classes.
Props xkon, birgire, desrosj, garrett-eclipse, azaozz.
See #43895.

git-svn-id: https://develop.svn.wordpress.org/trunk@45448 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 20:49:04 +00:00
Sergey Biryukov ae81d63a2a I18N: Remove PHP function name from translatable string in `WP_Recovery_Mode_Email_Service`.
Props ramiy.
Fixes #47255.

git-svn-id: https://develop.svn.wordpress.org/trunk@45447 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 20:43:43 +00:00
John Blackbourn 59635ee372 Build/Test Tools: Revert an accidental change to Node dependencies.
See #47380


git-svn-id: https://develop.svn.wordpress.org/trunk@45446 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 19:36:57 +00:00
John Blackbourn 814aa7149f Build/Test Tools: Remove the dependency on a globally installed Grunt.
The existing `"grunt": "grunt"` script in `package.json` allows for the use of `npm run grunt ...` which uses the local `grunt` binary in the project's `node_modules`.

Fixes #47380


git-svn-id: https://develop.svn.wordpress.org/trunk@45445 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 19:34:24 +00:00
Sergey Biryukov 68f7c2d7a5 I18N: Merge duplicate "Invalid post parent ID" strings.
Props ramiy.
Fixes #47270.

git-svn-id: https://develop.svn.wordpress.org/trunk@45444 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 19:04:58 +00:00
Sergey Biryukov 4af886494a Administration: Replace one more reference to "articles" with "posts" for greater consistency of terminology.
See #38517.

git-svn-id: https://develop.svn.wordpress.org/trunk@45443 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 18:50:28 +00:00
Sergey Biryukov d410033e9c I18N: Merge duplicate "Status is forbidden" strings.
Props ramiy.
Fixes #47037.

git-svn-id: https://develop.svn.wordpress.org/trunk@45442 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 18:46:43 +00:00
Sergey Biryukov b8e4a052a7 I18N: Merge duplicate "Add Comment" strings.
Props ramiy.
Fixes #47246.

git-svn-id: https://develop.svn.wordpress.org/trunk@45441 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 18:42:35 +00:00
Sergey Biryukov 3820ae932b I18N: Use consistent error messages when importing or exporting content.
Props ramiy.
Fixes #42269.

git-svn-id: https://develop.svn.wordpress.org/trunk@45440 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 18:08:55 +00:00
Sergey Biryukov e1cc160ba9 I18N: Merge duplicate "not allowed to manage options" strings.
Props ramiy.
Fixes #42271.

git-svn-id: https://develop.svn.wordpress.org/trunk@45439 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 15:59:37 +00:00
Sergey Biryukov 88f579b256 I18N: Merge duplicate "Loading..." strings.
Props ramiy.
Fixes #47248.

git-svn-id: https://develop.svn.wordpress.org/trunk@45438 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 15:45:57 +00:00
Sergey Biryukov 8bda02eec6 I18N: Merge similar strings in Edit Media help tabs.
Props ramiy.
Fixes #46919.

git-svn-id: https://develop.svn.wordpress.org/trunk@45437 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 15:37:11 +00:00
Sergey Biryukov 2fe447bd2d I18N: Remove unnecessary context for "WordPress.org" string in `WP_Widget_Meta`.
Props ramiy.
Fixes #47038.

git-svn-id: https://develop.svn.wordpress.org/trunk@45436 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 15:32:05 +00:00
Sergey Biryukov d2a7fa4bff I18N: Remove unnecessary HTML from "Previewing:" string in `WP_Customize_Theme_Control`.
Props ramiy.
Fixes #47271.

git-svn-id: https://develop.svn.wordpress.org/trunk@45435 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 15:29:21 +00:00