--- a/wp/wp-includes/class-wp-embed.php Fri Sep 05 18:40:08 2025 +0200
+++ b/wp/wp-includes/class-wp-embed.php Fri Sep 05 18:52:52 2025 +0200
@@ -163,9 +163,9 @@
*
* @see WP_Embed::shortcode()
*
- * @param string|false $return The HTML result of the shortcode, or false on failure.
- * @param string $url The embed URL.
- * @param array $attr An array of shortcode attributes.
+ * @param string $return The HTML result of the shortcode.
+ * @param string $url The embed URL.
+ * @param array $attr An array of shortcode attributes.
*/
return apply_filters( 'embed_handler_html', $return, $url, $attr );
}
@@ -283,10 +283,10 @@
*
* @see WP_Embed::shortcode()
*
- * @param string|false $cache The cached HTML result, stored in post meta.
- * @param string $url The attempted embed URL.
- * @param array $attr An array of shortcode attributes.
- * @param int $post_id Post ID.
+ * @param string $cache The cached HTML result, stored in post meta.
+ * @param string $url The attempted embed URL.
+ * @param array $attr An array of shortcode attributes.
+ * @param int $post_id Post ID.
*/
return apply_filters( 'embed_oembed_html', $cache, $url, $attr, $post_id );
}