mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-23 06:55:28 +00:00
Currently, only the X-WP-Total and X-WP-TotalPages headers are exposed which means that clients have to manually construct the URL to implement pagination instead of using the "prev" and "next" Links. Additionally, a filter "rest_exposed_cors_headers" is introduced to make it simpler for plugins to expose additional headers. Props Toro_Unit, ayeshrajans. Fixes #50369. Built from https://develop.svn.wordpress.org/trunk@48112 git-svn-id: http://core.svn.wordpress.org/trunk@47881 1a063a9b-81f0-0310-95a4-ce76da25c4cd