Commit Graph

12051 Commits

Author SHA1 Message Date
Sergey Biryukov
be6225e91b Twenty Fourteen: Remove text decoration from button block.
The button block in Twenty Fourteen was incorrectly inheriting a text underline from the theme's link styles.

Props bobbingwide.
Merges [44378] to the 5.0 branch.
Fixes #45732.
Built from https://develop.svn.wordpress.org/branches/5.0@44423


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-07 15:47:50 +00:00
Sergey Biryukov
170e75b863 Twenty Nineteen: Remove underline from "Continue Reading" arrow.
The "Continue Reading" link that's generated by the More block is styled to include an arrow next to the text; that arrow shouldn't inherit the text underline style. This update removes it. 

Props littlebigthing, kjellr.
Merges [44369] to the 5.0 branch.
Fixes #45715.
Built from https://develop.svn.wordpress.org/branches/5.0@44422


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-07 15:45:46 +00:00
Sergey Biryukov
88b5ee5505 Twenty Fourteen: Correct video play button position.
A change to the MediaElement.js caused Twenty Fourteen's custom video play button to display in the top corner, rather than centered. This update returns it to its correct position. 

Props mmaumio, celloexpressions.
Merges [44380] to the 5.0 branch.
Fixes #44664.
Built from https://develop.svn.wordpress.org/branches/5.0@44421


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-07 15:42:46 +00:00
Dominik Schilling
0f3c9c54a0 I18N: Expose JSON translation file paths in load_script_textdomain().
Removes `file_exist()` checks before calling `load_script_translations()` to let the determined paths be passed to `load_script_translations()` which provides its own file check and the possibility to filter the path.

Merge of [44418] to the 5.0 branch.

Props swissspidy, johnbillion, ocean90.
Fixes #45769.
Built from https://develop.svn.wordpress.org/branches/5.0@44419


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-07 14:42:46 +00:00
desrosj
8b0f279239 Twenty Seventeen: Use a simple counter incremented with each call instead of uniqid() for generating unique IDs for HTML elements.
Props westonruter, laurelfulford.

Merges [43659] and [44408] to the 5.0 branch.
Fixes #44883.
Built from https://develop.svn.wordpress.org/branches/5.0@44409


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-06 20:19:45 +00:00
desrosj
fca82f9a73 General: Introduce wp_unique_id(), a PHP implementation of Underscore's uniqueId method.
A static variable contains an integer that is incremented with each call. This number is returned with the optional prefix.
As such the returned value is not universally unique, but it is unique across the life of the PHP process.

Props westonruter, dlh.

Merges [43658] and [44406] to the 5.0 branch.
See #44883.
Built from https://develop.svn.wordpress.org/branches/5.0@44407


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-06 20:08:45 +00:00
desrosj
f3438c4751 Accessibility: Insert Link modal: Improve keyboard interaction.
Avoids change the selected link when using the Shift + Up/Down arrow keys
to select text in the form fields.

Props afercia.

Merges [42807] to the 5.0 branch.
Fixes #43253.
Built from https://develop.svn.wordpress.org/branches/5.0@44405


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-06 19:43:46 +00:00
Dominik Schilling
4bdc915736 I18N/Script Loader: Support text domains other than "messages".
The inline JavaScript added by `WP_Scripts::print_translations()` should check whether `locale_data.$text_domain` exists and fall back to `locale_data.messages` otherwise.

Merge of [44403] to the 5.0 branch.

Props swissspidy.
Fixes #45441.
Built from https://develop.svn.wordpress.org/branches/5.0@44404


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-06 17:06:46 +00:00
desrosj
a59e536374 Editor: Use explicit context instead of a trailing space for Edit string in TinyMCE.
In [42523], `trunk` was updated to use explicit context instead of a trailing space for the Edit string in TinyMCE plugins. [43472] later backported this change, but the string in `class-wp-editor.php` was missed. This fixes the `Edit` string so not display as `Edit|button` in the 5.0 branch.

Props dimadin.

See #42543, #44134.
Fixes #44919.
Built from https://develop.svn.wordpress.org/branches/5.0@44401


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-05 04:14:44 +00:00
desrosj
194e7eb034 Editor: Allow the “Add Media” button tooltip to be translated in the Classic block.
In the Classic Editor, the “Add Media” button was outside of the TinyMCE editor. In the Block Editor, the “Add Media” button was moved into the TinyMCE toolbar in the Classic block, but the tooltip was not added to the list of translatable strings. This adds “Add Media” to that list.

The corresponding keyboard shortcut is also specified for the “Add Media” button.

Props afercia.

Merges [44398-44399] to the 5.0 branch.
Fixes #45788.
Built from https://develop.svn.wordpress.org/branches/5.0@44400


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-05 03:51:46 +00:00
Dominik Schilling
06a721c9a1 Script Loader: Load unminified package vendor scripts when SCRIPT_DEBUG is set.
The unminified package vendor scripts are bundled with the release package thus the value of the `SCRIPT_DEBUG` constant should be honored.

Merge of [44391] to the 5.0 branch.

Props earnjam.
Fixes #45535.
Built from https://develop.svn.wordpress.org/branches/5.0@44393


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-04 20:39:44 +00:00
desrosj
e961742769 Customize: Safeguard a check on the customize_validate_{$setting_id} filter value to ensure it is a WP_Error.
While the filter is documented to only support a `WP_Error`, it has been a common practice to return true in a validation function if no errors have occurred. This was already caught when the same filter was executed in `WP_Customize_Setting`, it was however missing in `WP_Customize_Manager::validate_setting_values()`.

Props flixos90.

Merges [43578] to the 5.0 branch.
Fixes #44809.
Built from https://develop.svn.wordpress.org/branches/5.0@44392


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-04 20:30:45 +00:00
desrosj
34766cd6f8 Block Editor: Upgrade @WordPress packages to the latest versions.
Updated packages:

- @wordpress/annotations@1.0.5
- @wordpress/api-fetch@2.2.7
- @wordpress/block-library@2.2.12
- @wordpress/block-serialization-default-parser@2.0.3
- @wordpress/blocks@6.0.5
- @wordpress/components@7.0.5
- @wordpress/core-data@2.0.16
- @wordpress/data@4.2.0
- @wordpress/deprecated@2.0.4
- @wordpress/dom@2.0.8
- @wordpress/edit-post@3.1.7
- @wordpress/editor@9.0.7
- @wordpress/format-library@1.2.10
- @wordpress/hooks@2.0.4
- @wordpress/list-reusable-blocks@1.1.18
- @wordpress/notices@1.1.2
- @wordpress/nux@3.0.6
- @wordpress/plugins@2.0.10
- @wordpress/rich-text@3.0.4
- @wordpress/url@2.3.3
- @wordpress/viewport@2.1.0

Props: youknowriad, gziolo, desrosj.

Merges [44389] to the 5.0 branch.
Fixes #45814.
Built from https://develop.svn.wordpress.org/branches/5.0@44390


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-04 20:19:52 +00:00
desrosj
ec6c7dbfdc Customize: Pass missing parameter to dynamic option_{$option} filter in WP_Customize_Widgets::capture_filter_pre_get_option().
This prevents a potential fatal error from an `ArgumentCountError` exception in PHP 7.1 or greater

Props dlh.

Merges [43561] to the 5.0 branch.
Fixes #44770.
Built from https://develop.svn.wordpress.org/branches/5.0@44387


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-03 18:55:45 +00:00
desrosj
65ecdb0109 Happy New Year!
Fixes Tests_Basic::test_license

Merges [44379] to the 5.0 branch.

Props jorbin.
Built from https://develop.svn.wordpress.org/branches/5.0@44384


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-03 16:24:46 +00:00
laurelfulford
b828ba64bb Twenty Nineteen: Make sure links are followed on touchend, not touchstart.
The theme's original navigation JavaScript was making it so all links on a site were immediately followed on touchstart when using a touch-enabled device. This update makes sure links are followed at touchend, to improve usability and menu behavior.

Props anevins, panchen, kjellr.
Fixes #45510.


Built from https://develop.svn.wordpress.org/branches/5.0@44357


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-21 21:09:47 +00:00
Gary Pendergast
f2e2eac3bf Post WordPress 5.0.2 version bump.
Built from https://develop.svn.wordpress.org/branches/5.0@44342


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 23:56:46 +00:00
Gary Pendergast
3618afb2d7 WordPress 5.0.2.
Built from https://develop.svn.wordpress.org/branches/5.0@44340


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 23:22:45 +00:00
desrosj
91afce3ea8 Posts, Post Types: Correctly show hierarchical post type hierarchy in admin.
In [44185], a bug was introduced where hierarchical post types would not display in the correct default order (hierarchically).

This was caused by a `! isset()` check, which returned `false` after [44185], causing the correct default value to not be applied. This switches that conditional to use an `empty()` check, ignoring the new empty string assignment that was added to prevent a PHP notice when `compact()` is called.

Merges [44338] to the 5.0 branch.

Props davidbinda.
Fixes #45711.
Built from https://develop.svn.wordpress.org/branches/5.0@44339


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 22:28:45 +00:00
Gary Pendergast
ce30819c90 About: Add 5.0.2 details to the about page.
Props desrosj.
Fixes #45703.


Built from https://develop.svn.wordpress.org/branches/5.0@44337


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 22:19:48 +00:00
laurelfulford
ea4a4f3492 Default Themes: Bump the version numbers and release dates.
Update the theme versions and release dates for the default themes, in time for WordPress 5.0.2.

The POT files for Twenty Ten and Eleven have also been updated.

Merges [44322] into the 5.0 branch.
Fixes #45681.


Built from https://develop.svn.wordpress.org/branches/5.0@44323


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 03:38:50 +00:00
Gary Pendergast
a8021a986e Post WordPress 5.0.2 RC2 version bump.
Built from https://develop.svn.wordpress.org/branches/5.0@44290


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-18 12:02:46 +00:00
Gary Pendergast
d817ce5347 WordPress 5.0.2 RC2
Built from https://develop.svn.wordpress.org/branches/5.0@44289


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-18 11:52:44 +00:00
Gary Pendergast
c2dcaa35b3 i18n: Remove the script_loader_src filter from load_script_textdomain().
This filter is superfluous here, the `load_script_textdomain_relative_path` should be used for customising the textdomain path.

See #45528.
Props dimadin.


Built from https://develop.svn.wordpress.org/branches/5.0@44288


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-18 11:08:45 +00:00
gziolo
6ebf93b9f8 Block Editor: Upgrade @WordPress packages to the latest version (4.7.1)
Updated packages:

 - @wordpress/block-library@2.2.11
 - @wordpress/edit-post@3.1.6
 - @wordpress/editor@9.0.6
 - @wordpress/format-library@1.2.9

Props youknowriad, pento.

Fixes #45637.



Built from https://develop.svn.wordpress.org/branches/5.0@44287


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-18 10:37:52 +00:00
Gary Pendergast
9fd568fab8 i18n: Prevent a PHP warning when a mu-plugin loads a textdomain.
`determine_locale()` accesses the `$pagenow` global, but this is set after mu-plugins are loaded, so we need to check that it's been set.

Props swissspidy, azaozz.
See #45668.


Built from https://develop.svn.wordpress.org/branches/5.0@44284


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-18 03:40:47 +00:00
Gary Pendergast
d8015373f9 Post WordPress 5.0.2 RC1 version bump.
Built from https://develop.svn.wordpress.org/branches/5.0@44259


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-17 03:39:45 +00:00
Gary Pendergast
7f8056e674 WordPress 5.0.2 RC1.
Built from https://develop.svn.wordpress.org/branches/5.0@44258


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-17 03:33:06 +00:00
Gary Pendergast
90667f52ba Block Editor: Remove a deprecated notice being generated by the meta box compat functions.
See #45456.


Built from https://develop.svn.wordpress.org/branches/5.0@44248


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-17 03:24:41 +00:00
laurelfulford
89e63dfc80 Twenty Seventeen: Update font-family for Simplified Chinese (zh_CN).
Fix the `font-family` used for Simplified Chinese (zh_CN) in the block editor CSS.

Props vaishalipanchal, ze3kr.
Fixes #45408.


Built from https://develop.svn.wordpress.org/branches/5.0@44235


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-17 03:13:39 +00:00
Dominik Schilling
c4bbb20bd9 I18N: Introduce load_script_translations() as a wrapper for loading and filtering translation data for JavaScript files.
* Introduces `pre_load_script_translations` to short-circuit the function.
* Introduces `load_script_translation_file` to filter the file path for loading script translations.
* Introduces `load_script_translations` to filter the JSON-encoded translation data.

Props johnbillion, strategio, swissspidy, dimadin, ocean90.
See #45425.
Built from https://develop.svn.wordpress.org/branches/5.0@44232


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-17 03:11:10 +00:00
Dominik Schilling
388c007d2e Script Loader: Pass the suffix to package style handles to ensure correct file names for minified RTL stylesheets.
See #45547.
Built from https://develop.svn.wordpress.org/branches/5.0@44231


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-17 03:10:25 +00:00
laurelfulford
c8b708b68a Bundled Themes: Replace “Gutenberg” in code comments and classes.
This update replaces the term “Gutenberg” in the themes code comments and classes with something more future-friendly.

Fixes #45452.


Built from https://develop.svn.wordpress.org/branches/5.0@44213


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 20:21:46 +00:00
laurelfulford
2d8697b053 Bundled Themes: Update default block appender selector.
The markup for the default block appender changed from a text input to a text area in the editor; this update makes the same change in the default theme styles.

Fixes #45450.


Built from https://develop.svn.wordpress.org/branches/5.0@44212


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 20:01:46 +00:00
desrosj
f2fdb282f4 Script Loader: Misplaced parenthesis when wp-tinymce-lists is added.
A closing parenthesis was misplaced in the `$scripts->add( 'wp-tinymce-lists' )` call, causing the dependencies and version to be incorrectly passed to `includes_url()` instead.

Props volodymyrkolesnykov.
Fixes: #45506.
Built from https://develop.svn.wordpress.org/branches/5.0@44211


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 17:27:45 +00:00
desrosj
497dfe7d5f Twenty Sixteen: Fix superscript and subscript.
When using the block-based editor in Twenty Sixteen, superscript is displaying below the baseline and subscript is displaying above the baseline. This is the opposite of what should occur. This reverses the two to display correctly.

Props greg-raven, torontodigits, JDTrower.
Fixes: #44776.
Built from https://develop.svn.wordpress.org/branches/5.0@44210


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 17:14:46 +00:00
herregroen
fd7d1f576c I18N: Fix JavaScript translations for subdirectory installations.
Fixes the `load_script_textdomain` function not resolving the md5 hash based on the relative path for WordPress installations in a subdirectory. Also adds a filter to allow sites using CDNs or other alternative asset locations to filter the relative path resolution.

Props akirk, fierevere, swissspidy, mypacecreator, babaevan, tmatsuur, ocean90.
Fixes #45528.

Built from https://develop.svn.wordpress.org/branches/5.0@44209


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 12:55:45 +00:00
Gary Pendergast
d1a1778fa1 Scripts: Remove an incorrect parameter sent to wp_get_script_polyfill().
`wp_get_script_polyfill()` only accepts two parameters, but this call was passing a third.

Props swissspidy.
See #45472.


Built from https://develop.svn.wordpress.org/branches/5.0@44208


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:19:10 +00:00
Gary Pendergast
71044010f8 REST API: Remove a duplicate require_once().
In `WP_REST_Attachments_Controller::create_item()`, `wp-admin/includes/image.php` was being `require_once()`-ed... twice. The superflous `require_once()` has been quietly removed.

Props david.binda.
See #45420.


Built from https://develop.svn.wordpress.org/branches/5.0@44206


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:17:31 +00:00
laurelfulford
809f41f202 Twenty Seventeen: Remove editor style that prevents images from being resized.
Twenty Seventeen’s editor styles contained an Internet Explorer 8 specific fix that stopped images from being scalable in the editor in other browsers. Since the editor no longer supports IE8, this fix can safely be removed. 

Props audrasjb, mihaivalentin, subrataemfluence.
Fixes #39738.


Built from https://develop.svn.wordpress.org/branches/5.0@44205


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:16:46 +00:00
laurelfulford
1e4cb608e9 Twenty Seventeen: Add focus style to cookies consent checkbox.
To improve accessibility, the cookies content checkbox in the comment form needed some visible indication when it’s in focus. 

Props pratikthink, afercia.
Fixes #44699.


Built from https://develop.svn.wordpress.org/branches/5.0@44204


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:15:59 +00:00
laurelfulford
22a50196d7 Twenty Seventeen: Remove unnecessary ol styles from editor.
Twenty Seventeen was designed with bolded numbers for its ordered list styles. This was removed from the theme prior to launch, but it was left in the editor styles, so it needed to be removed there, too.

Props mmaumio, edpittol.
Fixes #44775.


Built from https://develop.svn.wordpress.org/branches/5.0@44203


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:15:14 +00:00
desrosj
362b7a42cf Twenty Nineteen: Fixes and improvements.
This commit fixes the final differences between the version of Twenty Nineteen in core and the one in GitHub. The two are now identical.

See #45424.
Built from https://develop.svn.wordpress.org/branches/5.0@44202


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:14:29 +00:00
desrosj
09b7e36205 Twenty Nineteen: Fixes and improvements.
This commit brings over several changes that occurred upstream in the theme’s GitHub repository into core.

- Fix left/right-aligned pullquote spacing. https://github.com/WordPress/twentynineteen/pull/695
- Improve `readme.txt` to follow the correct standards for themes. https://github.com/WordPress/twentynineteen/issues/689

Props kjellr, allancole.

See #45424.
Built from https://develop.svn.wordpress.org/branches/5.0@44201


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:13:42 +00:00
laurelfulford
0c05a129dc Twenty Sixteen: Fix button block custom colors on front end.
Simplify some of the button block’s CSS selectors in the theme, to make sure the default colors don’t override the custom colors on the front end.

Fixes #45427.


Built from https://develop.svn.wordpress.org/branches/5.0@44200


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:12:57 +00:00
desrosj
76cff5acd0 Twenty Nineteen: Fixes and improvements.
This commit brings over several changes that occurred upstream in the theme’s GitHub repository into core.

- Fixes some minor code quality issues. https://github.com/WordPress/twentynineteen/pull/237
- Fix PHP Warning: Parameter must be an array or an object that implements Countable. https://github.com/WordPress/twentynineteen/pull/661
- Add missing text domain and escaping to comment author text. https://github.com/WordPress/twentynineteen/pull/274
- Remove hyphens rule for cover image text. https://github.com/WordPress/twentynineteen/pull/691

Props khleomix, grapplerulrich, iCaleb, kjellr, allancole.

See #45424.
Built from https://develop.svn.wordpress.org/branches/5.0@44199


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:12:12 +00:00
laurelfulford
6cbfcdd7e4 Twenty Fifteen: Fix button block custom colors on front end.
Simplify some of the button block’s CSS selectors in the theme, to make sure the default colors don’t override the custom colors on the front end.

Fixes #45428.


Built from https://develop.svn.wordpress.org/branches/5.0@44198


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:11:28 +00:00
laurelfulford
80b631315f Twenty Fourteen: Fix button block custom colors on front end.
Simplify some of the button block’s CSS selectors in the theme, to make sure the default colors don’t override the custom colors on the front end.

Fixes #45429.


Built from https://develop.svn.wordpress.org/branches/5.0@44197


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:10:42 +00:00
desrosj
08befd9763 Twenty Nineteen: Fixes and improvements.
This commit brings over several changes that occurred upstream in the theme’s GitHub repository into core.

- Fix the gallery caption link color. https://github.com/WordPress/twentynineteen/pull/687
- Remove left padding from pullquote blocks. https://github.com/WordPress/twentynineteen/pull/690
- Print `skip-link-focus-fix` inline instead of enqueueing as blocking script. https://github.com/WordPress/twentynineteen/pull/47
- Fix and improve some strings with placeholders. https://github.com/WordPress/twentynineteen/pull/217

Props kjellr, allancole, dimadin, westonruter.

See #45424.
Built from https://develop.svn.wordpress.org/branches/5.0@44196


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:09:56 +00:00
laurelfulford
d3c1b8f08c Twenty Thirteen: Fix button block custom colors.
Simplify some of the button block’s CSS selectors in the theme, to make sure the default colors don’t override the custom colors on the front end.

Also make sure the button’s gradient is not applied when a custom background color is added, since it will hide it. 

Fixes #45431.


Built from https://develop.svn.wordpress.org/branches/5.0@44195


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:09:10 +00:00