WordPress/wp-includes/rest-api
danielbachhuber 7136636db3 REST API: Improve performance by avoiding call_user_func().
The `get_compact_response_links()` method was introduced in WP 4.5, and this conditional is no longer necessary.

Props schlessera, timothyblynjacobs.
Fixes #45189.

Built from https://develop.svn.wordpress.org/branches/5.0@43834


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-29 00:49:40 +00:00
..
endpoints REST API: Improve performance by avoiding call_user_func(). 2018-10-29 00:49:40 +00:00
fields REST API: Slash existing meta values when comparing with incoming meta upates. 2018-10-17 20:10:25 +00:00
search REST API: Introduce controller for searching across post types. 2018-10-17 17:03:26 +00:00
class-wp-rest-request.php
class-wp-rest-response.php
class-wp-rest-server.php REST API: Return the proper status code for failed permission callbacks in WP_REST_Server->dispatch(). 2017-12-30 20:49:40 +00:00