Changeset 61113
- Timestamp:
- 11/02/2025 05:27:55 PM (11 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/class-wp-rest-server.php
r60635 r61113 225 225 * @since 4.4.0 226 226 * 227 * @param string $code WP_Error-style code.228 * @param string $message Human-readable message.229 * @param int $status Optional. HTTP status code to send. Default null.227 * @param string $code WP_Error-style code. 228 * @param string $message Human-readable message. 229 * @param int|null $status Optional. HTTP status code to send. Default null. 230 230 * @return string JSON representation of the error 231 231 */ … … 279 279 * @global WP_User $current_user The currently authenticated user. 280 280 * 281 * @param string $path Optional. The request route. If not set, `$_SERVER['PATH_INFO']` will be used.282 * Default null.281 * @param string|null $path Optional. The request route. If not set, `$_SERVER['PATH_INFO']` will be used. 282 * Default null. 283 283 * @return null|false Null if not served and a HEAD request, false otherwise. 284 284 */
Note: See TracChangeset
for help on using the changeset viewer.