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.
git-svn-id: https://develop.svn.wordpress.org/branches/5.0@44200 602fd350-edb4-49c9-b593-d223f7449a82
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.
git-svn-id: https://develop.svn.wordpress.org/branches/5.0@44198 602fd350-edb4-49c9-b593-d223f7449a82
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.
git-svn-id: https://develop.svn.wordpress.org/branches/5.0@44197 602fd350-edb4-49c9-b593-d223f7449a82
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.
git-svn-id: https://develop.svn.wordpress.org/branches/5.0@44195 602fd350-edb4-49c9-b593-d223f7449a82
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#45432.
git-svn-id: https://develop.svn.wordpress.org/branches/5.0@44194 602fd350-edb4-49c9-b593-d223f7449a82
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#45433.
git-svn-id: https://develop.svn.wordpress.org/branches/5.0@44191 602fd350-edb4-49c9-b593-d223f7449a82
Update a mistake in Twenty Eleven's block editor styles that erroneously sets the `font-size` to `300`, when it should set the `font-weight` to `300`. This was causing browsers in quirks mode to make the editor font size very large.
Fixes#45421.
git-svn-id: https://develop.svn.wordpress.org/branches/5.0@44190 602fd350-edb4-49c9-b593-d223f7449a82
Make sure the block editor custom colors in the theme also override the theme's `:visited` link styles. This prevents contrast issues, like in the button block -- when the background is dark, the purple `:visited` link can be difficult to read.
Fixes#45434.
git-svn-id: https://develop.svn.wordpress.org/branches/5.0@44188 602fd350-edb4-49c9-b593-d223f7449a82
In PHP 7.3, the `compact()` function has been changed to issue an `E_NOTICE` level error if a passed string refers to an unset variable. In previous versions of PHP, this notice was silently skipped. This fixes a few more instances of unset variables in the WordPress admin.
The full RFC can be viewed here: https://wiki.php.net/rfc/compact.
See #44416.
Fixes#45483.
git-svn-id: https://develop.svn.wordpress.org/branches/5.0@44185 602fd350-edb4-49c9-b593-d223f7449a82
Ensure activation of a site is not attempted multiple times and users are shown the correct message if they follow the link a second time.
Merges [44021] to the 5.0 branch.
git-svn-id: https://develop.svn.wordpress.org/branches/5.0@44022 602fd350-edb4-49c9-b593-d223f7449a82
r44014 introduced the `wp_kses_uri_attributes` function and filter, but incorrectly used `4.9.9` instead of `5.0.1`.
git-svn-id: https://develop.svn.wordpress.org/branches/5.0@44017 602fd350-edb4-49c9-b593-d223f7449a82
This commit introduces the `wp_kses_uri_attributes` function and filter. The function centralizes the list of attributes, in order to prevent inconsistency, and the filter provides a way for plugins to customize the attributes.
git-svn-id: https://develop.svn.wordpress.org/branches/5.0@44014 602fd350-edb4-49c9-b593-d223f7449a82
To avoid backwards compatibility issues, `<form>` is re-added if a custom filter has added the `<input>` or `<select>` elements to `$allowedposttags`.
git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43994 602fd350-edb4-49c9-b593-d223f7449a82
With WordPress 5.0 just a few short days away, the default themes can have their version numbers bumped.
The POT files for Twentys Ten and Eleven have also been updated.
Props laurelfulford, maedahbatool, mrahmadawais, pento.
See #45167.
git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43964 602fd350-edb4-49c9-b593-d223f7449a82
This visual issue had been previously fixed in the block editor, is now fixed in the published post, too.
Props kjellr, allancole.
See #45424.
git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43961 602fd350-edb4-49c9-b593-d223f7449a82
`wp_get_script_polyfill()` bypasses `WP_Scripts::do_item()`, so didn't transform the script path into its fully qualified URL.
Props swissspidy, ocean90.
See #45469.
git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43960 602fd350-edb4-49c9-b593-d223f7449a82
`load_script_textdomain()` had a reversed check to decide if the user locale should be loaded. This check is now replaced with `determine_local()`.
Props ocean90.
See #45465.
git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43959 602fd350-edb4-49c9-b593-d223f7449a82