Gary Pendergast
fdf428e44f
Tests: Fix tests broken in PHP 5.x after [43879].
...
See #45290 .
Built from https://develop.svn.wordpress.org/branches/5.0@43883
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-09 09:44:49 +00:00
Gary Pendergast
cd22d51724
Meta Boxes: Add the block_editor_meta_box_hidden_fields
action.
...
Lacking an appropriate action in the classic editor, plugins that add meta boxes have historically hooked into various actions in order to add hidden input fields.
This change also adds backwards compatibility for two of the most common: `edit_form_after_title`, and `edit_form_advanced`.
Props pento, danielbachhuber.
See #45283 .
Built from https://develop.svn.wordpress.org/branches/5.0@43882
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-09 09:06:47 +00:00
Gary Pendergast
98e9bbdc19
Block Editor: Prevent the meta box form from being accidentally submitted.
...
Meta boxes are loaded inside a wrapper form, that the block editor submits as part of the saving process. It shouldn't be submitted manually.
See #45284 .
Built from https://develop.svn.wordpress.org/branches/5.0@43880
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-09 08:33:46 +00:00
Gary Pendergast
a46a68ad7f
Meta Boxes: Add curly brackets missed in [43861].
...
This was causing the custom meta box to be incorrectly added to post types that don't support it.
Props ocean90, epointal.
Fixes #45257 ,
Built from https://develop.svn.wordpress.org/branches/5.0@43863
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-04 23:23:49 +00:00
Gary Pendergast
325cb107d1
Build Tools: Update the @wordpress
packages.
...
This brings support for the custom fields meta box to the block editor.
The `webpack` and `copy-webpack-plugin` packages have also been updated.
See #45145 .
Fixes #45257 .
Built from https://develop.svn.wordpress.org/branches/5.0@43861
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-03 07:57:54 +00:00
Gary Pendergast
e0664765b6
Editor: Cast the result of the default_content
, default_title
, and default_excerpt
filters.
...
If a plugin returns a non-string value (or returns `null`) on these filters, it can cause errors in the block editor. Casting them as a string prevents these errors.
Props dd32.
See #45236 .
Built from https://develop.svn.wordpress.org/branches/5.0@43858
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-01 05:20:47 +00:00
Gary Pendergast
d9e31a1bb9
Block Editor: Don't show back compat or incompatible meta boxes in Options.
...
Meta boxes that exist for back compat, or that are incompatible with the block editor aren't displayed, so they don't need an option to display or hide them in the Options dialog.
Props noisysocks.
Fixes #45249 .
Built from https://develop.svn.wordpress.org/branches/5.0@43856
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-01 04:33:46 +00:00
Gary Pendergast
049d3a6db8
Posts: Remove the slug from Quick Edit for posts that are not is_post_type_viewable()
.
...
This is a followup to [43728], which added the same check, but using the `publicly_queryable` option. This behaviour is incorrect for `_builtin` post types, which go by the logic in `is_post_type_viewable()`, instead.
See #43278 .
Built from https://develop.svn.wordpress.org/branches/5.0@43855
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-01 02:35:46 +00:00
Gary Pendergast
eb4031a209
Blocks: Add "Export as JSON" action to the wp_block
post list screen.
...
Remove the "Quick Edit" for `wp_block`s, too, as they don't need any of that functionality.
Props noisysocks.
Fixes #45247 .
Built from https://develop.svn.wordpress.org/branches/5.0@43854
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-01 02:25:47 +00:00
Gary Pendergast
1fb36474cb
FTP/PemFTP Library: Fix some PHP notices.
...
- `ftp_base::glob()` used `each()`, which is deprecated as of PHP 7.2.
- `ftp_base::fget()` was missing the decleration of its third parameter, `$rest`.
Props itowhid06.
See #44489 .
Built from https://develop.svn.wordpress.org/branches/5.0@43848
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-31 18:15:54 +00:00
Gary Pendergast
ebb5e6dd0d
Build Tools: Upgrade @wordpress
packages to the latest version.
...
This also includes the new `@wordpress/format-library` and `@wordpress/notices` packages.
`package-lock.json` has been completely regenerated in this commit.
See #45145 .
Built from https://develop.svn.wordpress.org/branches/5.0@43840
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-29 08:36:36 +00:00
Gary Pendergast
f2e3a6c1ac
Meta boxes: Don't show the block editor incompatiblity message when it doesn't apply.
...
We should only be showing this message in the classic editor interface, for meta boxes that are marked as being incompatible with the block editor.
Fixes #45207 .
Built from https://develop.svn.wordpress.org/branches/5.0@43839
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-29 08:31:06 +00:00
Gary Pendergast
3549683ca3
Meta boxes: Don't assume that callback args are an array.
...
While the documentation for `add_meta_box()` specifices that `$callback_args` should be an array, this has never been enforced, and we have workarounds in place for when it's passed as something other than an array.
Rather than break sites that are passing unexpected data, we can quietly just allow for it, instead.
Props johnjamesjacoby, birgire.
Fixes #45206 .
Built from https://develop.svn.wordpress.org/branches/5.0@43838
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-29 08:30:14 +00:00
Gary Pendergast
742913ca97
Block Editor: Fix meta boxes not showing.
...
The block editor needs to duplicate the classic meta box behaviour, so it can extract the registered meta boxes, and import them into the block editor.
To match the classic editor behaviour as closely as possible, this moves the relevant code from the classic editor, into a new function, so it can be called by both.
Props pento, peterwilsoncc.
Fixes #45172 .
Built from https://develop.svn.wordpress.org/branches/5.0@43837
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-29 08:29:23 +00:00
Gary Pendergast
0c54153886
Meta Boxes: Fix error when a meta box is rendered with a static method callback.
...
When `WP_DEBUG` is set, ensure that a static method callback is passed to `ReflectionMethod`, instead of `ReflectionFunction`.
Props DrewAPicture.
Fixes #45192 .
Built from https://develop.svn.wordpress.org/branches/5.0@43830
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-26 08:12:39 +00:00
Drew Jaynes
2f515c6db0
Docs: Link to the "Conditional Tags" article in the Theme Developer Handbook from the descriptions for a variety of core conditional tag functions.
...
These notations largely serve to direct consumers (of both the source and the parsed code reference) to extended information on individual and related conditional tags throughout WordPress. The changeset also standardizes corresponding DocBlock summaries to use third-person singular verbs.
Notations have been added for the following functions:
* comments_open()
* email exists()
* has_excerpt()
* has_post_thumbnail()
* has_tag()
* in_category()
* in_the_loop()
* is_404()
* is_active_sidebar()
* is_active_widget()
* is_admin()
* is_admin_bar_showing()
* is_archive()
* is_attachment()
* is_author()
* is_blog_installed()
* is_category()
* is_comments_popup()
* is_date()
* is_day()
* is_dynamic_sidebar()
* is_feed()
* is_front_page()
* is_home()
* is_local_attachment()
* is_main_query
* is_month()
* is_multi_author
* is_new_day()
* is_page()
* is_page_template()
* is_paged()
* is_plugin_active()
* is_plugin_active_for_network()
* is_plugin_inactive()
* is_plugin_page()
* is_post_type_archive()
* is_preview()
* is_rtl()
* is_search()
* is_single()
* is_singular()
* is_sticky()
* is_tag()
* is_tax()
* is_taxonomy_hierarchical()
* is_time()
* is_trackback()
* is_user_logged_in()
* is_year()
* pings_open()
* post_type_exists()
* taxonomy_exists()
* term_exists()
* username exists()
* wp_attachment_is_image()
* wp_script_is()
Merges [42710] to the 5.0 branch.
Props janalwin.
Fixes #43254 .
Built from https://develop.svn.wordpress.org/branches/5.0@43827
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-26 07:38:26 +00:00
Sergey Biryukov
bbd58a5c35
Upgrade/Install: Convert Sample Page
, Hello World
, and Privacy Policy
to block content.
...
Props desrosj, garrett-eclipse, danielbachhuber.
Fixes #45151 .
Built from https://develop.svn.wordpress.org/branches/5.0@43820
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-24 18:51:51 +00:00
danielbachhuber
7e3414597f
Meta: Allow empty strings to be set by Custom Fields meta box.
...
Because the REST API allows meta keys to have empty values, the Custom Fields meta box should permit the same behavior.
Props charlestonsw, soulseekah.
Fixes #43559 .
Built from https://develop.svn.wordpress.org/branches/5.0@43811
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-23 18:56:38 +00:00
Aaron Jorbin
634bb165bc
Bundled Theme: Make twentynineteen the default theme.
...
After [43808], we can now make twentynineteen the default theme. Twentyseventeen has been a great default, but 5.0 and twentynineteen is guten.
Fixes #45152 .
Built from https://develop.svn.wordpress.org/branches/5.0@43809
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-23 16:51:39 +00:00
Gary Pendergast
46e270096b
Dashboard: Remove the Try Gutenberg callout.
...
Block or block not. There is no try.
Props mukesh27.
See #45063 .
Built from https://develop.svn.wordpress.org/branches/5.0@43807
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-23 11:04:40 +00:00
Dominik Schilling
957a6af144
Meta Boxes: Sync checks for valid meta boxes from do_meta_boxes()
to the_block_editor_meta_boxes()
.
...
See #45112 .
Built from https://develop.svn.wordpress.org/branches/5.0@43792
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-23 06:08:59 +00:00
Gary Pendergast
6800a811b6
Meta Boxes: Add __back_compat_meta_box
and __block_editor_compatible_meta_box
flags to meta boxes.
...
When meta boxes are registered, they can use the `__back_compat_meta_box` and `__block_editor_compatible_meta_box` flags, to show whether this registration just exists for if the classic editor is loaded, and whether this meta box is compatible with the block editor.
When a meta box marks itself as incompatible with the block editor, and `WP_DEBUG` is enabled, a warning will show inside that meta box in the classic editor.
As all core meta boxes have been recreated in the block editor, they can be marked with the `__back_compat_meta_box` flag.
See #45112 .
Built from https://develop.svn.wordpress.org/branches/5.0@43779
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-22 02:32:41 +00:00
Gary Pendergast
acda70184d
Block Editor: Add helper functions to collect meta box information.
...
To allow the block editor to render meta boxes, it needs to collect information about how those meta boxes are registered, and format it for the block editor to make use of.
See #45112 .
Built from https://develop.svn.wordpress.org/branches/5.0@43778
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-22 02:16:39 +00:00
Gary Pendergast
e0361726c2
Block Editor: Add an is_block_editor()
method to WP_Screen
.
...
This method allows checking (or setting) whether the block editor is loading on the current screen.
See #45037 .
Built from https://develop.svn.wordpress.org/branches/5.0@43777
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-22 02:06:40 +00:00
mcsf
326cd6af15
Deactivate Gutenberg plugin on update to 5.0.
...
Fixes #45123 .
Built from https://develop.svn.wordpress.org/branches/5.0@43765
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-19 10:51:39 +00:00
Gary Pendergast
93343de1bd
i18n: Remove some translation domains accidentally included in [43762].
...
See #45110 .
Built from https://develop.svn.wordpress.org/branches/5.0@43764
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-19 09:12:38 +00:00
Gary Pendergast
de323bc14c
Block Editor: Add helper functions for displaying the editor.
...
`use_block_editor_for_post()` and `use_block_editor_for_post_type()` determine if the block editor should be loaded.
`get_block_categories()` and `get_block_editor_server_block_settings()` provide data be included while the block editor is loading.
See #45110 .
Built from https://develop.svn.wordpress.org/branches/5.0@43762
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-19 08:44:41 +00:00
Sergey Biryukov
591a09dea0
Media: Pass EXIF data to the wp_read_image_metadata
filter.
...
Props desrosj.
Merges [42879] to the 5.0 branch.
Fixes #43624 .
Built from https://develop.svn.wordpress.org/branches/5.0@43750
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-18 04:15:26 +00:00
Sergey Biryukov
b6e0d06fff
Media: In wp_read_image_metadata()
, rename $sourceImageType
variable to $image_type
to match coding standards.
...
Merges [42878] to the 5.0 branch.
See #43624 .
Built from https://develop.svn.wordpress.org/branches/5.0@43749
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-18 04:14:25 +00:00
Gary Pendergast
392f33495f
Posts: Remove the slug from Quick Edit for CPTs with publicly_queryable
disabled.
...
In the full edit screen, CPTs that have disabled the `publicly_queryable` option will hide the slug field, as it doesn't need to be edited. This change brings the Quick Edit view into line with that behaviour.
Merges [43664] to the 5.0 branch.
Props bhargavmehta, krutidugade.
Fixes #43278 .
Built from https://develop.svn.wordpress.org/branches/5.0@43728
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-15 05:35:25 +00:00
Sergey Biryukov
37dcf205e6
Docs: Correct @since
value for _wp_privacy_statuses()
.
...
Fix typo in `@since` entry for `WP_Privacy_Policy_Content:add()`.
Props dimadin.
Merges [43638] to the 5.0 branch.
Fixes #44915 .
Built from https://develop.svn.wordpress.org/branches/5.0@43710
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-11 04:32:22 +00:00
Sergey Biryukov
f9ba011f33
Docs: Correct parameter type for WP_Privacy_Policy_Content::notice()
.
...
Props burhandodhy.
Merges [43609] to the 5.0 branch.
Fixes #44877 .
Built from https://develop.svn.wordpress.org/branches/5.0@43709
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-11 04:31:23 +00:00
Aaron Jorbin
9f6f75bd8b
Gutenberg: Restrict "Try Gutenberg" based on capability and gutenstatus
...
When Gutenberg is either not installed, or not activated, only show the callout to users with the `install_plugins` capability.
When Gutenberg is activated, expand that to include all users with the `edit_posts` capability.
4.9 branch commit.
Props pento.
Fixes #44680 .
Built from https://develop.svn.wordpress.org/branches/4.9@43544
git-svn-id: http://core.svn.wordpress.org/branches/4.9@43373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-31 14:52:28 +00:00
Sergey Biryukov
deee543f0d
Dashboard: Tweak the "Try Gutenberg" callout:
...
* Introduce `try_gutenberg_learn_more_link` filter that allows hosts or site owners to change the link, to provide extra information about Gutenberg, specific to their service.
* Only display the "Install" buttons if we're able to directly write to disk to install the plugins.
* Make sure the "Dismiss" link works correctly.
Props pento, andrew.taylor, leemon.
Fixes #41316 .
Built from https://develop.svn.wordpress.org/branches/4.9@43537
git-svn-id: http://core.svn.wordpress.org/branches/4.9@43366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-26 15:06:26 +00:00
Sergey Biryukov
e7c1553bde
Privacy: Revert [43525].
...
The commenter cookies checkbox is not legally required, so should be disabled by default.
Merges [43531] to the 4.9 branch.
Fixes #44373 .
Built from https://develop.svn.wordpress.org/branches/4.9@43532
git-svn-id: http://core.svn.wordpress.org/branches/4.9@43361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-24 17:08:26 +00:00
Sergey Biryukov
fa163b9c0a
I18N: Separate two "About" strings with different context.
...
Props desrosj, XpertOne, Nao.
Merges [43527] to the 4.9 branch.
Fixes #44139 .
Built from https://develop.svn.wordpress.org/branches/4.9@43528
git-svn-id: http://core.svn.wordpress.org/branches/4.9@43357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-24 15:06:26 +00:00
Sergey Biryukov
c0a7aaf659
Privacy: Remove the setting to enable comment cookies consent added in [43469].
...
This needs some more work to ensure expected behaviour.
Merges [43525] to the 4.9 branch.
See #44373 .
Built from https://develop.svn.wordpress.org/branches/4.9@43526
git-svn-id: http://core.svn.wordpress.org/branches/4.9@43355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-24 12:53:26 +00:00
Gary Pendergast
b20bfba009
Dashboard: Improve "Try Gutenberg" subheading appearance for long headings.
...
When translated, the callout subheadings can wrap onto a new line, which caused them to overlap the paragraph text.
Props earnjam, fierevere.
Fixes #44611 .
Built from https://develop.svn.wordpress.org/branches/4.9@43523
git-svn-id: http://core.svn.wordpress.org/branches/4.9@43352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-24 03:05:26 +00:00
Gary Pendergast
a9ea4a1f7d
Dashboard: Make some of the "Try Gutenberg" links translatable.
...
Some of the links in the "Try Gutenberg" callout go to wordpress.org, so would potentially be better served by localised site.
Props dimadin.
See #41316 .
Built from https://develop.svn.wordpress.org/branches/4.9@43522
git-svn-id: http://core.svn.wordpress.org/branches/4.9@43351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-24 02:52:29 +00:00
Sergey Biryukov
4a6101fc53
I18N: Update list of continents and cities for the timezone selection.
...
Props soulseekah, dyrer.
Merges [43504] to the 4.9 branch.
Fixes #44574 .
Built from https://develop.svn.wordpress.org/branches/4.9@43505
git-svn-id: http://core.svn.wordpress.org/branches/4.9@43334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-18 11:27:24 +00:00
Gary Pendergast
bf820c9036
Dashboard: Introduce the "Try Gutenberg" callout.
...
To encourage folks to prepare for Gutenberg, this new Dashboard box allows site users to easily install and try the Gutenberg plugin now, or to install the Classic Editor plugin before WordPress 5.0 is released.
Props pento, melchoyce, joen, karmatosed, joemcgill, SergeyBiryukov, jorbin, bph, Clorith, afercia, chanthaboune, chrislema, kjellr, matveb, michelleweber.
Fixes #41316 .
Built from https://develop.svn.wordpress.org/branches/4.9@43502
git-svn-id: http://core.svn.wordpress.org/branches/4.9@43329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-18 06:42:26 +00:00
Sergey Biryukov
9ebbcad7a0
Privacy: Mark Privacy Policy page as such in the Pages list table.
...
Props desrosj, subrataemfluence, ianbelanger, danieltj.
Merges [43495] to the 4.9 branch.
Fixes #44006 .
Built from https://develop.svn.wordpress.org/branches/4.9@43496
git-svn-id: http://core.svn.wordpress.org/branches/4.9@43323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-17 16:47:26 +00:00
Sergey Biryukov
d954d6213a
Privacy: Enable pagination screen options for privacy requests list tables.
...
Props birgire, pbiron.
Merges [43486] to the 4.9 branch.
Fixes #44025 .
Built from https://develop.svn.wordpress.org/branches/4.9@43487
git-svn-id: http://core.svn.wordpress.org/branches/4.9@43314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-17 16:08:26 +00:00
Sergey Biryukov
7aab30a907
Privacy: Remove some unnecessary code comments.
...
[42967] introduced some WPCS-related comments, probably accidentally saved by an IDE.
Props burhandodhy.
Merges [43465] to the 4.9 branch.
Fixes #44590 .
Built from https://develop.svn.wordpress.org/branches/4.9@43485
git-svn-id: http://core.svn.wordpress.org/branches/4.9@43312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-17 15:25:24 +00:00
Sergey Biryukov
29dfd13361
Privacy: Rename username_or_email_to_export
POST variable on Erase Personal Data screen to a more generic username_or_email_for_privacy_request
.
...
Props ianbelanger, allendav.
Merges [43478] to the 4.9 branch.
Fixes #44181 .
Built from https://develop.svn.wordpress.org/branches/4.9@43479
git-svn-id: http://core.svn.wordpress.org/branches/4.9@43306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-17 14:18:27 +00:00
Andrew Ozz
eeef639639
Privacy: Add a setting to disable comment cookie consent.
...
Merges [43469] to the 4.9 branch.
Fixes #44373 .
Built from https://develop.svn.wordpress.org/branches/4.9@43470
git-svn-id: http://core.svn.wordpress.org/branches/4.9@43297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-17 09:30:25 +00:00
Sergey Biryukov
c0903e830b
Posts, Post Types: Add a new add_inline_data
action which allows extra fields to be added to the inline editing fields.
...
Props mensmaximus, NathanAtmoz.
Merges [42676] and [43460] to the 4.9 branch.
Fixes #36085 .
Built from https://develop.svn.wordpress.org/branches/4.9@43461
git-svn-id: http://core.svn.wordpress.org/branches/4.9@43288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-16 15:34:25 +00:00
Sergey Biryukov
cb2625e260
Privacy: Use consistent values for the site name and URL used in notification emails.
...
The functions `send_confirmation_on_profile_email()`, `_wp_privacy_send_request_confirmation_notification()`, `_wp_privacy_send_erasure_fulfillment_notification()`, and `wp_send_user_request()` all include a title and URL indicating the current site. However, so far they have dealt with those values inconsistently, sometimes using the site values, other times using the network values if in a multisite. This changeset ensures that only the current site is taken into account in all cases and that special characters in the site name are consistently decoded.
Props subrataemfluence, desrosj.
Merges [43388], [43390], and [43435] to the 4.9 branch.
Fixes #44396 .
Built from https://develop.svn.wordpress.org/branches/4.9@43459
git-svn-id: http://core.svn.wordpress.org/branches/4.9@43286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-16 14:24:26 +00:00
Sergey Biryukov
30b402c24b
Privacy: append (Draft)
to draft page titles in the page drop-down on the Privacy Settings screen.
...
Props allendav, desrosj.
Merges [43376] and [43454] to the 4.9 branch.
Fixes #44100 .
Built from https://develop.svn.wordpress.org/branches/4.9@43455
git-svn-id: http://core.svn.wordpress.org/branches/4.9@43282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-16 13:52:26 +00:00
Sergey Biryukov
b74a18dc8b
Privacy: Silence is golden and invisible.
...
"Be more discrete." declared matt in [3155], and since then, "Silence is Golden" has been the calling card of placeholder index files. Historically, these have been php files, but [43012] changed that and added index.html files for privacy export generated folders.
The php silence files produce no visible content. This adds consistency with these new html files in that there will be no visible content. Silence will fall when the question is asked.
Merges [43446] to the 4.9 branch.
Fixes #44195 .
Props audrasjb, rafsuntaskin, Ov3rfly, johnbillion, pento
Built from https://develop.svn.wordpress.org/branches/4.9@43448
git-svn-id: http://core.svn.wordpress.org/branches/4.9@43275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-16 12:02:29 +00:00