Ticket #35799: 35799.diff
| File 35799.diff, 932 bytes (added by , 10 years ago) |
|---|
-
src/wp-includes/rest-api/class-wp-rest-request.php
16 16 * used in that manner. It does not use ArrayObject (as we cannot rely on SPL), 17 17 * so be aware it may have non-array behaviour in some cases. 18 18 * 19 * Note: When using features provided by ArrayAccess, be aware that WordPress deliberately 20 * does not distinguish between arguments of the same name for different request methods. 21 * For instance, in a request with `GET id=1` and `POST id=2`, `$request['id']` will equal 22 * 2 (`POST`) not 1 (`GET`). For more precision between request methods, use 23 * {@see WP_REST_Request::get_body_params()}, {@see WP_REST_Request::get_url_params()}, 24 * etc. 25 * 19 26 * @since 4.4.0 20 27 * 21 28 * @see ArrayAccess
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)