Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve preloading request code (#11007)
This removes the conditional branching based on the existence of the `get_compact_response_links()` method on the `$server` object, as that method was introduced with WordPress 4.5, and Gutenberg requires WordPress 4.9.8 or later. Also, it turns the indirect and slow call through `call_user_func()` into a direct method call. Note: The call would actually be more correct as a static call (`$server::get_compact_response_links( $response)`), but this notation is PHP 5.3+ only.
- Loading branch information