- Timestamp:
- 03/02/2025 10:05:08 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/class-wp-rest-request.php
r58706 r59899 163 163 164 164 /** 165 * Determines if the request is the given method. 166 * 167 * @since 6.8.0 168 * 169 * @param string $method HTTP method. 170 * @return bool Whether the request is of the given method. 171 */ 172 public function is_method( $method ) { 173 return $this->get_method() === strtoupper( $method ); 174 } 175 176 /** 165 177 * Canonicalizes the header name. 166 178 *
Note: See TracChangeset
for help on using the changeset viewer.