WordPress/wp-includes
spacedmonkey 070bc9b5ea REST API: Add prepare_links method to WP_REST_Post_Types_Controller class.
Move logic to from `prepare_item_for_response` to `prepare_links` method to bring `WP_REST_Post_Types_Controller` class inline with other REST API controllers.

Props Spacedmonkey, timothyblynjacobs, dlh.
Fixes #56019.
Built from https://develop.svn.wordpress.org/trunk@53721


git-svn-id: http://core.svn.wordpress.org/trunk@53280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-07-19 14:49:08 +00:00
..
assets Editor: Update block editor packages for WordPress 6.0.1. 2022-07-05 14:38:33 +00:00
block-patterns
block-supports
blocks Tools: Automate backporting core blocks from Gutenberg to Core 2022-07-08 12:34:14 +00:00
certificates
css Editor: Update block editor packages for WordPress 6.0.1. 2022-07-04 12:06:43 +00:00
customize General: Replace all esc_url_raw() calls in core with sanitize_url(). 2022-06-01 18:14:10 +00:00
fonts
ID3
images
IXR
js Administration: Audible messages on AJAX error cases. 2022-07-16 01:08:10 +00:00
php-compat
PHPMailer
pomo
random_compat
Requests
rest-api REST API: Add prepare_links method to WP_REST_Post_Types_Controller class. 2022-07-19 14:49:08 +00:00
SimplePie
sitemaps
sodium_compat
Text
theme-compat
widgets
admin-bar.php
atomlib.php
author-template.php
block-editor.php
block-i18n.json
block-patterns.php
block-template-utils.php
block-template.php
blocks.php Editor: Fix register_block_type does not recognise ancestor block setting 2022-07-19 13:24:12 +00:00
bookmark-template.php
bookmark.php
cache-compat.php
cache.php
canonical.php
capabilities.php
category-template.php Posts, Post Types: Standardize on $post parameter name where appropriate. 2022-07-18 17:37:17 +00:00
category.php
class-feed.php
class-http.php
class-IXR.php
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-application-passwords.php Docs: Convert "Application Passwords" to lowercase in WP_Application_Passwords docblocks, for better consistency. 2022-07-06 11:55:11 +00:00
class-wp-block-editor-context.php
class-wp-block-list.php
class-wp-block-parser.php
class-wp-block-pattern-categories-registry.php
class-wp-block-patterns-registry.php
class-wp-block-styles-registry.php
class-wp-block-supports.php
class-wp-block-template.php
class-wp-block-type-registry.php
class-wp-block-type.php
class-wp-block.php
class-wp-comment-query.php
class-wp-comment.php
class-wp-customize-control.php
class-wp-customize-manager.php General: Replace all esc_url_raw() calls in core with sanitize_url(). 2022-06-01 18:14:10 +00:00
class-wp-customize-nav-menus.php
class-wp-customize-panel.php
class-wp-customize-section.php
class-wp-customize-setting.php
class-wp-customize-widgets.php
class-wp-date-query.php
class-wp-dependency.php
class-wp-editor.php
class-wp-embed.php
class-wp-error.php
class-wp-fatal-error-handler.php
class-wp-feed-cache-transient.php
class-wp-feed-cache.php
class-wp-hook.php
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
class-wp-http-requests-response.php
class-wp-http-response.php
class-wp-http-streams.php
class-wp-http.php
class-wp-image-editor-gd.php
class-wp-image-editor-imagick.php
class-wp-image-editor.php
class-wp-list-util.php
class-wp-locale-switcher.php
class-wp-locale.php
class-wp-matchesmapregex.php
class-wp-meta-query.php
class-wp-metadata-lazyloader.php Docs: Various docblock corrections particularly relating to boolean types. 2021-01-03 21:57:09 +00:00
class-wp-network-query.php
class-wp-network.php
class-wp-object-cache.php
class-wp-oembed-controller.php
class-wp-oembed.php Docs: Update the version in which Meetup.com was removed as an oEmbed source. 2022-07-04 18:15:15 +00:00
class-wp-paused-extensions-storage.php
class-wp-post-type.php
class-wp-post.php
class-wp-query.php
class-wp-recovery-mode-cookie-service.php
class-wp-recovery-mode-email-service.php
class-wp-recovery-mode-key-service.php
class-wp-recovery-mode-link-service.php
class-wp-recovery-mode.php
class-wp-rewrite.php
class-wp-role.php
class-wp-roles.php Docs: Use third-person singular verbs for method descriptions in wp-includes/class-wp-roles.php, per the documentation standards. 2022-05-23 15:01:12 +00:00
class-wp-session-tokens.php
class-wp-simplepie-file.php Docs: Miscellaneous DocBlock corrections. 2021-05-15 17:38:05 +00:00
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-json-resolver.php
class-wp-theme-json-schema.php
class-wp-theme-json.php
class-wp-theme.php Text Changes: Improve consistency of punctuation in some strings. 2022-07-14 14:10:11 +00:00
class-wp-user-meta-session-tokens.php
class-wp-user-query.php Users: Prime user meta in WP_User_Query class. 2022-07-05 09:28:13 +00:00
class-wp-user-request.php Docs: Add missing @since tags for WP_User_Request properties. 2020-03-23 20:20:09 +00:00
class-wp-user.php
class-wp-walker.php
class-wp-widget-factory.php
class-wp-widget.php
class-wp-xmlrpc-server.php
class-wp.php
class.wp-dependencies.php
class.wp-scripts.php
class.wp-styles.php
comment-template.php Coding Standards: Improve variable names in wp-trackback.php. 2022-07-19 14:02:10 +00:00
comment.php Posts, Post Types: Standardize on $post parameter name where appropriate. 2022-07-18 17:37:17 +00:00
compat.php
cron.php
date.php
default-constants.php
default-filters.php
default-widgets.php
deprecated.php Posts, Post Types: Standardize on $post parameter name where appropriate. 2022-07-18 17:37:17 +00:00
embed-template.php
embed.php Posts, Post Types: Standardize on $post parameter name where appropriate. 2022-07-18 17:37:17 +00:00
error-protection.php
feed-atom-comments.php
feed-atom.php
feed-rdf.php
feed-rss2-comments.php
feed-rss2.php
feed-rss.php
feed.php
formatting.php
functions.php Text Changes: Improve consistency of punctuation in some strings. 2022-07-14 14:10:11 +00:00
functions.wp-scripts.php
functions.wp-styles.php Script Loader: Document path as an accepted value for $key in wp_style_add_data(). 2021-11-19 15:14:00 +00:00
general-template.php Posts, Post Types: Standardize on $post parameter name where appropriate. 2022-07-18 17:37:17 +00:00
global-styles-and-settings.php
http.php HTTP API: Fix typo in and improve readability of wp_parse_url() docblock. 2022-03-10 16:02:01 +00:00
https-detection.php
https-migration.php
kses.php
l10n.php Coding Standards: Rename the $user_id parameter of get_user_locale() to $user for accuracy. 2022-07-15 13:45:11 +00:00
link-template.php Posts, Post Types: Standardize on $post parameter name where appropriate. 2022-07-18 17:37:17 +00:00
load.php
locale.php
media-template.php
media.php Posts, Post Types: Standardize on $post parameter name where appropriate. 2022-07-18 17:37:17 +00:00
meta.php
ms-blogs.php
ms-default-constants.php I18N: Remove code from a translatable string in wp-includes/ms-default-constants.php. 2022-07-14 13:35:13 +00:00
ms-default-filters.php
ms-deprecated.php
ms-files.php
ms-functions.php
ms-load.php
ms-network.php
ms-settings.php
ms-site.php
nav-menu-template.php
nav-menu.php
option.php Docs: Correct @since tags introduced in WordPress 6.0.1. 2022-07-15 16:00:10 +00:00
pluggable-deprecated.php
pluggable.php Users: Allow conditional supression of the email notifications that are sent when a new user account is registered. 2022-07-12 21:05:16 +00:00
plugin.php
post-formats.php
post-template.php Posts, Post Types: Standardize on $post parameter name where appropriate. 2022-07-18 17:37:17 +00:00
post-thumbnail-template.php
post.php Posts, Post Types: Standardize on $post parameter name where appropriate. 2022-07-18 17:37:17 +00:00
query.php
registration-functions.php
registration.php
rest-api.php
revision.php Posts, Post Types: Standardize on $post parameter name where appropriate. 2022-07-18 17:37:17 +00:00
rewrite.php
robots-template.php
rss-functions.php
rss.php
script-loader.php External Libraries: Update the Moment library to version 2.29.3. 2022-07-05 15:21:26 +00:00
session.php
shortcodes.php
sitemaps.php
spl-autoload-compat.php
taxonomy.php Taxonomy: Retain default term option when unregistering taxos. 2022-07-06 05:11:12 +00:00
template-canvas.php
template-loader.php
template.php
theme-i18n.json
theme-templates.php
theme.json
theme.php Docs: Correct @since tags introduced in WordPress 6.0.1. 2022-07-15 16:00:10 +00:00
update.php
user.php
vars.php
version.php REST API: Add prepare_links method to WP_REST_Post_Types_Controller class. 2022-07-19 14:49:08 +00:00
widgets.php
wlwmanifest.xml
wp-db.php Coding Standards: Simplify the logic for setting DB host and port in wpdb::parse_db_host(). 2022-07-06 10:32:12 +00:00
wp-diff.php