WordPress/wp-includes
Gary Pendergast dae13be262 Docs: Add missing REST API-related args to `register_post_type()` and `register_taxonomy()`.
These functions now accept the `show_in_rest`, `rest_base`, and `rest_controller_class` args.

Merges [39462] to the 4.7 branch.

Props ketuchetan, rahulsprajapati.
Fixes #39023.


Built from https://develop.svn.wordpress.org/branches/4.7@39463


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-03 04:50:32 +00:00
..
ID3
IXR
Requests
SimplePie
Text
certificates
css Build/Test Tools: Add npm-shrinkwrap.json to 4.7. 2016-11-29 04:11:52 +00:00
customize Customize: Reuse existing non-auto-draft posts and existing auto-draft posts in the customized state with matching slugs when applying starter content. 2016-12-02 00:26:34 +00:00
fonts
images
js Build/Test Tools: Add npm-shrinkwrap.json to 4.7. 2016-11-29 04:11:52 +00:00
pomo
random_compat
rest-api REST API: Use the correct error message when editing a single term. 2016-12-03 04:44:33 +00:00
theme-compat
widgets
admin-bar.php
atomlib.php
author-template.php
bookmark-template.php
bookmark.php Docs: Improve the documentation for parameters which accept `OBJECT`, `ARRAY_A`, and `ARRAY_N` as parameters. 2016-11-09 23:00:32 +00:00
cache.php
canonical.php
capabilities.php
category-template.php Taxonomy: Prevent `wp_list_categories()` from producing not well-nested output if `hide_title_if_empty` is true. 2016-11-17 18:02:30 +00:00
category.php Docs: Improve the documentation for parameters which accept `OBJECT`, `ARRAY_A`, and `ARRAY_N` as parameters. 2016-11-09 23:00:32 +00:00
class-IXR.php
class-feed.php Load: Re-add `class-wp-upgrader-skins.php`, `class-feed.php`, `locale.php`, and `session.php`. 2016-12-03 04:30:34 +00:00
class-http.php WP_HTTP: Map internal Requests hooks to WordPress actions. 2016-11-13 10:36:29 +00:00
class-json.php
class-oembed.php
class-phpass.php
class-phpmailer.php
class-pop3.php
class-requests.php
class-simplepie.php
class-smtp.php
class-snoopy.php
class-walker-category-dropdown.php
class-walker-category.php
class-walker-comment.php
class-walker-nav-menu.php
class-walker-page-dropdown.php
class-walker-page.php
class-wp-admin-bar.php
class-wp-ajax-response.php
class-wp-comment-query.php Comments: Query used to fill comment descendants should reset 'offset' and 'number' params. 2016-11-17 03:03:30 +00:00
class-wp-comment.php
class-wp-customize-control.php Customize: Clean up docs and code style for customize changes in 4.7. 2016-11-23 06:05:32 +00:00
class-wp-customize-manager.php Customize: Fix posts limit query arg for `WP_Query` from incorrect `number` to `posts_per_page`. 2016-12-02 16:19:34 +00:00
class-wp-customize-nav-menus.php Theme starter content: Add support for featured images and page templates. 2016-11-23 09:53:33 +00:00
class-wp-customize-panel.php
class-wp-customize-section.php
class-wp-customize-setting.php Customize: Ensure `WP_Customize_Setting::value()` returns previewed value for custom types utilizing the `customize_value_{$id_base}` filter. 2016-11-19 06:00:34 +00:00
class-wp-customize-widgets.php
class-wp-dependency.php
class-wp-editor.php
class-wp-embed.php
class-wp-error.php
class-wp-feed-cache-transient.php
class-wp-feed-cache.php
class-wp-hook.php Plugins: Add a `current_priority()` method to `WP_Hook`. 2016-12-02 07:11:32 +00:00
class-wp-http-cookie.php
class-wp-http-curl.php
class-wp-http-encoding.php
class-wp-http-ixr-client.php
class-wp-http-proxy.php
class-wp-http-requests-hooks.php WP_HTTP: Map internal Requests hooks to WordPress actions. 2016-11-13 10:36:29 +00:00
class-wp-http-requests-response.php
class-wp-http-response.php
class-wp-http-streams.php
class-wp-image-editor-gd.php
class-wp-image-editor-imagick.php Media: Allow override of PDF setup for multiple pages or DPI. 2016-11-18 22:22:32 +00:00
class-wp-image-editor.php
class-wp-list-util.php
class-wp-locale-switcher.php I18N: Add an additional caching layer for `_load_textdomain_just_in_time()`. 2016-11-21 16:07:33 +00:00
class-wp-locale.php
class-wp-matchesmapregex.php
class-wp-meta-query.php
class-wp-metadata-lazyloader.php
class-wp-network-query.php
class-wp-network.php
class-wp-oembed-controller.php
class-wp-post-type.php
class-wp-post.php
class-wp-query.php
class-wp-rewrite.php
class-wp-role.php
class-wp-roles.php
class-wp-session-tokens.php
class-wp-simplepie-file.php
class-wp-simplepie-sanitize-kses.php
class-wp-site-query.php
class-wp-site.php
class-wp-tax-query.php
class-wp-taxonomy.php
class-wp-term-query.php
class-wp-term.php
class-wp-text-diff-renderer-inline.php
class-wp-text-diff-renderer-table.php
class-wp-theme.php Posts, Post Types: Improve sanitisation of templates' post types. 2016-11-15 03:37:31 +00:00
class-wp-user-meta-session-tokens.php
class-wp-user-query.php
class-wp-user.php
class-wp-walker.php
class-wp-widget-factory.php
class-wp-widget.php
class-wp-xmlrpc-server.php Text Changes: Merge strings referring to `list_users` capability. 2016-11-19 02:16:30 +00:00
class-wp.php
class.wp-dependencies.php
class.wp-scripts.php
class.wp-styles.php
comment-template.php I18n: Introduce more translator comments for strings that contain placeholders but don't have an accompanying translator comment. 2016-11-21 02:46:30 +00:00
comment.php Docs: Improve the documentation for parameters which accept `OBJECT`, `ARRAY_A`, and `ARRAY_N` as parameters. 2016-11-09 23:00:32 +00:00
compat.php
cron.php
date.php
default-constants.php
default-filters.php
default-widgets.php
deprecated.php
embed-template.php
embed.php Embeds: Correctly remove security attribute from iframes in IE 10 and IE 11. 2016-11-23 13:38:33 +00:00
feed-atom-comments.php I18n: Begin introducing translator comments for strings which include placeholders but no accompanying translator comment. 2016-11-21 01:22:32 +00:00
feed-atom.php
feed-rdf.php
feed-rss.php
feed-rss2-comments.php I18n: Begin introducing translator comments for strings which include placeholders but no accompanying translator comment. 2016-11-21 01:22:32 +00:00
feed-rss2.php
feed.php
formatting.php I18n: Introduce more translator comments for strings that contain placeholders but don't have an accompanying translator comment. 2016-11-21 02:46:30 +00:00
functions.php I18n: Begin introducing translator comments for strings which include placeholders but no accompanying translator comment. 2016-11-21 01:22:32 +00:00
functions.wp-scripts.php
functions.wp-styles.php
general-template.php I18n: Introduce more translator comments for strings that contain placeholders but don't have an accompanying translator comment. 2016-11-21 02:46:30 +00:00
http.php
kses.php
l10n.php I18N: In `wp_dropdown_languages()` rename the new `show_site_locale_default` argument to `show_option_site_default`. 2016-11-21 16:14:30 +00:00
link-template.php
load.php I18n: Begin introducing translator comments for strings which include placeholders but no accompanying translator comment. 2016-11-21 01:22:32 +00:00
locale.php Load: Re-add `class-wp-upgrader-skins.php`, `class-feed.php`, `locale.php`, and `session.php`. 2016-12-03 04:30:34 +00:00
media-template.php Media: Clearly indicate that PDF thumbnails are just document previews. 2016-11-13 16:39:31 +00:00
media.php Media: Fix regression with display of small images in media library. 2016-12-01 00:28:32 +00:00
meta.php
ms-blogs.php
ms-default-constants.php
ms-default-filters.php
ms-deprecated.php
ms-files.php
ms-functions.php I18n: Begin introducing translator comments for strings which include placeholders but no accompanying translator comment. 2016-11-21 01:22:32 +00:00
ms-load.php
ms-settings.php
nav-menu-template.php
nav-menu.php
option.php REST API: Correct the admin_email setting description for single site installs. 2016-12-01 03:06:33 +00:00
pluggable-deprecated.php
pluggable.php I18n: Introduce more translator comments for strings that contain placeholders but don't have an accompanying translator comment. 2016-11-21 02:46:30 +00:00
plugin.php
post-formats.php
post-template.php
post-thumbnail-template.php
post.php Docs: Add missing REST API-related args to `register_post_type()` and `register_taxonomy()`. 2016-12-03 04:50:32 +00:00
query.php
registration-functions.php
registration.php
rest-api.php REST API: Fix incorrect uses of `rest_sanitize_value_from_schema()`. 2016-12-01 02:19:32 +00:00
revision.php Docs: Improve the documentation for parameters which accept `OBJECT`, `ARRAY_A`, and `ARRAY_N` as parameters. 2016-11-09 23:00:32 +00:00
rewrite.php
rss-functions.php
rss.php
script-loader.php I18n: Begin introducing translator comments for strings which include placeholders but no accompanying translator comment. 2016-11-21 01:22:32 +00:00
session.php Load: Re-add `class-wp-upgrader-skins.php`, `class-feed.php`, `locale.php`, and `session.php`. 2016-12-03 04:30:34 +00:00
shortcodes.php Docs: Add a missing changelog entry for the point where the `$tagnames` parameter was added to `get_shortcode_regex()`. 2016-11-23 17:35:32 +00:00
taxonomy.php Docs: Add missing REST API-related args to `register_post_type()` and `register_taxonomy()`. 2016-12-03 04:50:32 +00:00
template-loader.php
template.php
theme.php Customize: Refactor logic for updating `custom_css` posts by introducing `wp_update_custom_css_post()` function and renaming update filter. 2016-11-23 17:34:31 +00:00
update.php I18n: Introduce more translator comments for strings that contain placeholders but don't have an accompanying translator comment. 2016-11-21 02:46:30 +00:00
user.php I18n: Introduce more translator comments for strings that contain placeholders but don't have an accompanying translator comment. 2016-11-21 02:46:30 +00:00
vars.php
version.php Docs: Add missing REST API-related args to `register_post_type()` and `register_taxonomy()`. 2016-12-03 04:50:32 +00:00
widgets.php I18N: Merge two 'RSS Error:' strings. 2016-11-19 01:56:31 +00:00
wlwmanifest.xml
wp-db.php I18n: Begin introducing translator comments for strings which include placeholders but no accompanying translator comment. 2016-11-21 01:22:32 +00:00
wp-diff.php