WordPress/wp-includes/rest-api/endpoints
Peter Wilson d4822bd3c5 REST API: Add support for the ignore_sticky_posts argument.
Introduce `ignore_sticky` as a boolean argument for the posts endpoint for requests without the sticky posts being stuck. The new argument defaults to `false` with the value of the argument passed to `WP_Query`'s `ignore_sticky_posts` parameter.

Props audrasjb, danielbachhuber, joemcgill, johnbillion, jorbin, mamaduka, rmccue.
Fixes #35907.


Built from https://develop.svn.wordpress.org/trunk@59801


git-svn-id: http://core.svn.wordpress.org/trunk@59143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-02-10 22:23:23 +00:00
..
class-wp-rest-application-passwords-controller.php
class-wp-rest-attachments-controller.php Docs: Correct alignment for rest_insert_attachment action DocBlock. 2024-08-08 02:27:18 +00:00
class-wp-rest-autosaves-controller.php
class-wp-rest-block-directory-controller.php REST API: Correct description for the humanized_updated block directory property. 2024-12-09 22:45:19 +00:00
class-wp-rest-block-pattern-categories-controller.php Docs: Correct @return values for a few REST API class methods. 2024-07-10 11:12:16 +00:00
class-wp-rest-block-patterns-controller.php Coding Standards: Apply changes after running composer format. 2024-06-13 15:06:07 +00:00
class-wp-rest-block-renderer-controller.php
class-wp-rest-block-types-controller.php REST API: Remove a few unused variables in foreach loops. 2024-07-09 13:53:16 +00:00
class-wp-rest-blocks-controller.php
class-wp-rest-comments-controller.php General: Consistently cast return value to int in functions that use ceil(). 2024-02-17 15:24:08 +00:00
class-wp-rest-controller.php
class-wp-rest-edit-site-export-controller.php Docs: Correct @return values for a few REST API class methods. 2024-07-10 11:12:16 +00:00
class-wp-rest-font-collections-controller.php Editor: Ensure font collection metadata can be properly localized. 2024-02-21 19:27:14 +00:00
class-wp-rest-font-faces-controller.php Editor (Font Library): Store font subdirectory in post meta. 2024-06-05 23:19:17 +00:00
class-wp-rest-font-families-controller.php Editor: Add theme.json v3 migrations. 2024-06-04 11:55:14 +00:00
class-wp-rest-global-styles-controller.php Global Styles: allow read access to users with edit_posts capabilities 2024-09-18 05:19:14 +00:00
class-wp-rest-global-styles-revisions-controller.php REST API: Fix PHP warning about undefined paged argument in various REST API endpoints. 2025-01-15 18:36:24 +00:00
class-wp-rest-menu-items-controller.php Docs: Improve docblock for rest_menu_read_access filter. 2025-01-29 23:15:23 +00:00
class-wp-rest-menu-locations-controller.php REST API: Introduce filter for controlling menu read access. 2025-01-28 04:09:22 +00:00
class-wp-rest-menus-controller.php REST API: Introduce filter for controlling menu read access. 2025-01-28 04:09:22 +00:00
class-wp-rest-navigation-fallback-controller.php
class-wp-rest-pattern-directory-controller.php REST API: Correct the opening tag for this method's docblock. 2024-10-10 11:54:15 +00:00
class-wp-rest-plugins-controller.php Plugins: Correct the item schema for the plugins REST API endpoint. 2024-09-17 21:33:14 +00:00
class-wp-rest-post-statuses-controller.php REST API: Remove a few unused variables in foreach loops. 2024-07-09 13:53:16 +00:00
class-wp-rest-post-types-controller.php REST API: Add template and template_lock to post types endpoint. 2024-06-21 13:06:12 +00:00
class-wp-rest-posts-controller.php REST API: Add support for the ignore_sticky_posts argument. 2025-02-10 22:23:23 +00:00
class-wp-rest-revisions-controller.php REST API: Fix PHP warning about undefined paged argument in various REST API endpoints. 2025-01-15 18:36:24 +00:00
class-wp-rest-search-controller.php REST API: Prevent error when passing invalid type parameter to search endpoint. 2024-03-15 11:25:06 +00:00
class-wp-rest-settings-controller.php Options: Add 'label' argument to register_setting. 2024-05-29 08:53:09 +00:00
class-wp-rest-sidebars-controller.php
class-wp-rest-site-health-controller.php
class-wp-rest-taxonomies-controller.php Docs: Correct @return values for a few REST API class methods. 2024-07-10 11:12:16 +00:00
class-wp-rest-template-autosaves-controller.php
class-wp-rest-template-revisions-controller.php REST API: Improve autosave and revision endpoints for templates and template parts. 2025-01-15 12:46:25 +00:00
class-wp-rest-templates-controller.php I18N: Load translations just-in-time for custom themes and plugins. 2024-11-26 10:16:17 +00:00
class-wp-rest-terms-controller.php REST API: Terms: Respect taxonomy's default query args. 2024-11-25 11:16:22 +00:00
class-wp-rest-themes-controller.php REST API: Remove a few unused variables in foreach loops. 2024-07-09 13:53:16 +00:00
class-wp-rest-url-details-controller.php Docs: Fix typos in various REST API DocBlocks and comments. 2024-07-11 06:24:17 +00:00
class-wp-rest-users-controller.php Security: Add the SensitiveParameter attribute to sensitive parameters. 2025-02-03 19:52:24 +00:00
class-wp-rest-widget-types-controller.php
class-wp-rest-widgets-controller.php Docs: Correct @return values for a few REST API class methods. 2024-07-10 11:12:16 +00:00