--- a/wp/wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php Fri Sep 05 18:40:08 2025 +0200
+++ b/wp/wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php Fri Sep 05 18:52:52 2025 +0200
@@ -192,7 +192,7 @@
*
* @since 5.9.0
*
- * @return WP_Error|bool True if the request has permission, else WP_Error.
+ * @return true|WP_Error True if the request has permission, else WP_Error.
*/
public function permissions_check() {
if ( current_user_can( 'edit_posts' ) ) {
@@ -347,7 +347,7 @@
* @since 5.9.0
*
* @param array $meta_elements {
- * A multi-dimensional indexed array on success, else empty array.
+ * A multidimensional indexed array on success, else empty array.
*
* @type string[] $0 Meta elements with a content attribute.
* @type string[] $1 Content attribute's opening quotation mark.
@@ -383,7 +383,7 @@
* @since 5.9.0
*
* @param array $meta_elements {
- * A multi-dimensional indexed array on success, else empty array.
+ * A multidimensional indexed array on success, else empty array.
*
* @type string[] $0 Meta elements with a content attribute.
* @type string[] $1 Content attribute's opening quotation mark.
@@ -525,7 +525,7 @@
*
* @param string $html The string of HTML to be parsed.
* @return array {
- * A multi-dimensional indexed array on success, else empty array.
+ * A multidimensional indexed array on success, else empty array.
*
* @type string[] $0 Meta elements with a content attribute.
* @type string[] $1 Content attribute's opening quotation mark.
@@ -588,7 +588,7 @@
/*
* These are the options:
- * - i : case insensitive
+ * - i : case-insensitive
* - s : allows newline characters for the . match (needed for multiline elements)
* - U means non-greedy matching
*/
@@ -637,7 +637,7 @@
/*
* These are the options:
- * - i : case insensitive
+ * - i : case-insensitive
* - s : allows newline characters for the . match (needed for multiline elements)
* - U means non-greedy matching
*/