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.

Merges [43834] from the 5.0 branch to trunk.

Props schlessera, timothyblynjacobs.
Fixes #45189.

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


git-svn-id: http://core.svn.wordpress.org/trunk@44003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Gary Pendergast
2018-12-14 06:04:55 +00:00
parent d8863244cb
commit d2782aabc5
3 changed files with 3 additions and 12 deletions

View File

@@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.1-alpha-44172';
$wp_version = '5.1-alpha-44173';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.