Changeset 53048 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php
- Timestamp:
- 04/01/2022 11:33:15 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php
r52582 r53048 125 125 126 126 /** 127 * Retrieves the contents of the `<title>`tag from the HTML response.127 * Retrieves the contents of the title tag from the HTML response. 128 128 * 129 129 * @since 5.9.0 … … 189 189 190 190 /** 191 * Checks whether a given request has permission to read remote urls.191 * Checks whether a given request has permission to read remote URLs. 192 192 * 193 193 * @since 5.9.0 … … 208 208 return new WP_Error( 209 209 'rest_cannot_view_url_details', 210 __( 'Sorry, you are not allowed to process remote urls.' ),210 __( 'Sorry, you are not allowed to process remote URLs.' ), 211 211 array( 'status' => rest_authorization_required_code() ) 212 212 ); … … 243 243 * Filters the HTTP request args for URL data retrieval. 244 244 * 245 * Can be used to adjust response size limit and other WP_Http::request args.245 * Can be used to adjust response size limit and other WP_Http::request() args. 246 246 * 247 247 * @since 5.9.0 … … 277 277 278 278 /** 279 * Parses the `<title>`contents from the provided HTML.279 * Parses the title tag contents from the provided HTML. 280 280 * 281 281 * @since 5.9.0 … … 483 483 484 484 /** 485 * Retrieves the `<head>`section.485 * Retrieves the head tag section. 486 486 * 487 487 * @since 5.9.0 … … 520 520 521 521 /** 522 * Gets all the `<meta>` elements that have a `content`attribute.522 * Gets all the meta tag elements that have a 'content' attribute. 523 523 * 524 524 * @since 5.9.0
Note: See TracChangeset
for help on using the changeset viewer.