WordPress/wp-includes/rest-api
Sergey Biryukov 897f004a9c General: Replace older-style PHP type conversion functions with type casts.
This improves performance, readability, and consistency throughout core.

* `intval()` → `(int)`
* `strval()` → `(string)`
* `floatval()` → `(float)`

Props ayeshrajans.
Fixes #42918.
Built from https://develop.svn.wordpress.org/trunk@49108


git-svn-id: http://core.svn.wordpress.org/trunk@48870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-08 21:15:13 +00:00
..
endpoints General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:15:13 +00:00
fields Docs: Synchronize and correct documentation for various metadata functions and filters. 2020-07-09 11:26:07 +00:00
search REST API: Introduce search term handler. 2020-10-08 01:32:05 +00:00
class-wp-rest-request.php REST API: Support a route-level validation callback. 2020-09-05 18:09:06 +00:00
class-wp-rest-response.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-server.php Docs: Fix typos in some DocBlocks in js/_enqueues/wp/api.js. 2020-09-30 13:54:06 +00:00