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
laurelfulford
b108dc651e
Twenty Twelve: 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 #45432 .
Built from https://develop.svn.wordpress.org/branches/5.0@44194
git-svn-id: http://core.svn.wordpress.org/branches/5.0@44024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:08:24 +00:00
allancole
e8fd5abb26
Updating Twenty Nineteen, the new default theme for 2019.
...
This update changes the following:
- Add proper frontend styles for center aligned archive and category blocks. More info here: https://github.com/WordPress/twentynineteen/pull/684
- Fix image_filter theme option conditional function. More info here: https://github.com/WordPress/twentynineteen/pull/680
- Remove duplicate rule-line when a separator block is followed by H1/H2 in the editor. Props richtabor. More info here: https://github.com/WordPress/twentynineteen/pull/686
Props richtabor, kjellr.
See #45424 .
Built from https://develop.svn.wordpress.org/branches/5.0@44193
git-svn-id: http://core.svn.wordpress.org/branches/5.0@44023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:07:38 +00:00
allancole
d34d91d952
Updating Twenty Nineteen, the new default theme for 2019.
...
This change properly sets the primary color hue theme option.
- More info: https://github.com/WordPress/twentynineteen/pull/683
Props richtabor.
See #45424 .
Built from https://develop.svn.wordpress.org/branches/5.0@44192
git-svn-id: http://core.svn.wordpress.org/branches/5.0@44022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:06:52 +00:00
laurelfulford
d2b62a76ea
Twenty Eleven: 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 #45433 .
Built from https://develop.svn.wordpress.org/branches/5.0@44191
git-svn-id: http://core.svn.wordpress.org/branches/5.0@44021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:06:08 +00:00
laurelfulford
2d1151b31b
Twenty Eleven: Correct block editor `font-size` issue.
...
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 .
Built from https://develop.svn.wordpress.org/branches/5.0@44190
git-svn-id: http://core.svn.wordpress.org/branches/5.0@44020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:05:22 +00:00
allancole
56e4de19ab
Updating Twenty Nineteen, the new default theme for 2019.
...
This update changes the following:
- Reverts the customization to the toolbar for wide and full blocks to make them more usable. More info here: https://github.com/WordPress/twentynineteen/pull/668
- Add nowrap to the columns block at breakpoints above 600px. More info here: https://github.com/WordPress/twentynineteen/pull/674
Props joen, kjellr.
Fixes #45369 .
See #45424 .
Built from https://develop.svn.wordpress.org/branches/5.0@44189
git-svn-id: http://core.svn.wordpress.org/branches/5.0@44019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:04:36 +00:00
laurelfulford
3175c26096
Twenty Ten: Custom colors should override `:visited` link styles on blocks.
...
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 .
Built from https://develop.svn.wordpress.org/branches/5.0@44188
git-svn-id: http://core.svn.wordpress.org/branches/5.0@44018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:03:50 +00:00
allancole
288bb8f603
Updating Twenty Nineteen, the new default theme for 2019.
...
This change adds general code quality and documentation improvements.
- More info here: https://github.com/WordPress/twentynineteen/pull/546
Props grapplerulrich, iCaleb.
Built from https://develop.svn.wordpress.org/branches/5.0@44187
git-svn-id: http://core.svn.wordpress.org/branches/5.0@44017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:03:05 +00:00
desrosj
15db443250
PHP 7.3 Compatibility: Fix compact related notices.
...
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 .
Built from https://develop.svn.wordpress.org/branches/5.0@44185
git-svn-id: http://core.svn.wordpress.org/branches/5.0@44015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:01:25 +00:00
youknowriad
6137ee183b
Block Editor: Upgrade @wordpress packages to the latest version (4.7).
...
Updated packages:
- @wordpress/annotations@1.0.4
- @wordpress/api-fetch@2.2.6
- @wordpress/block-library@2.2.10
- @wordpress/block-serialization-default-parser@2.0.2
- @wordpress/block-serialization-spec-parser@2.0.2
- @wordpress/blocks@6.0.4
- @wordpress/components@7.0.4
- @wordpress/core-data@2.0.15
- @wordpress/data@4.1.0
- @wordpress/date@3.0.1
- @wordpress/edit-post@3.1.5
- @wordpress/editor@9.0.5
- @wordpress/eslint-plugin@1.0.0
- @wordpress/format-library@1.2.8
- @wordpress/html-entities@2.0.4
- @wordpress/list-reusable-blocks@1.1.17
- @wordpress/notices@1.1.1
- @wordpress/nux@3.0.5
- @wordpress/rich-text@3.0.3
- @wordpress/url@2.3.2
- @wordpress/viewport@2.0.13
This also includes the updates the Core blocks.
The script loader is updated to match the Gutenberg repository too.
Props atimmer, gziolo, joen.
Fixes #45442 , #45637 .
Built from https://develop.svn.wordpress.org/branches/5.0@44183
git-svn-id: http://core.svn.wordpress.org/branches/5.0@44013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 10:59:46 +00:00
Jeremy Felt
83a466d844
Post-5.0.1 version bump for 5.0 branch.
...
Built from https://develop.svn.wordpress.org/branches/5.0@44105
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 03:40:46 +00:00
Jeremy Felt
ccfd64c423
Bump 5.0 branch to version 5.0.1.
...
Built from https://develop.svn.wordpress.org/branches/5.0@44077
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 02:11:45 +00:00
Peter Wilson
1f5919e631
Multisite: Validate activation links.
...
Merges [44048] to the 5.0 branch.
Built from https://develop.svn.wordpress.org/branches/5.0@44050
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 01:30:45 +00:00
Gary Pendergast
8d463ab37f
Editor: Remove unwanted fields before saving posts.
...
The `meta_input`, `file`, and `guid` fields are not intended to be updated through user input.
Built from https://develop.svn.wordpress.org/branches/5.0@44047
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 01:25:47 +00:00
Peter Wilson
1894965f3f
Multisite: Improve messaging for previously activated users.
...
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.
Built from https://develop.svn.wordpress.org/branches/5.0@44022
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 00:28:46 +00:00
iandunn
6ae36b3cfd
KSES: Correct `@since` tags for `wp_kses_uri_attributes`.
...
r44014 introduced the `wp_kses_uri_attributes` function and filter, but incorrectly used `4.9.9` instead of `5.0.1`.
Built from https://develop.svn.wordpress.org/branches/5.0@44017
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 00:00:46 +00:00
iandunn
fb3c6ea061
KSES: Make the URI attributes DRY.
...
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.
Built from https://develop.svn.wordpress.org/branches/5.0@44014
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-12 23:53:45 +00:00
Gary Pendergast
d82b02eb33
KSES: Conditionally remove the `<form>` element from `$allowedposttags`.
...
To avoid backwards compatibility issues, `<form>` is re-added if a custom filter has added the `<input>` or `<select>` elements to `$allowedposttags`.
Built from https://develop.svn.wordpress.org/branches/5.0@43994
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-12 23:12:45 +00:00