Files
wordpress/wp-includes/embed.php
Sergey Biryukov 5f30426e51 Embeds: Correct error handling in _oembed_rest_pre_serve_request().
Since the function is supposed to output a string and only return a boolean value, this commit ensures that an error message is properly displayed, bringing consistency with a similar fragment a few lines above.

Follow-up to [35436].

Props abcd95, oglekler, SergeyBiryukov.
Fixes #63652.
Built from https://develop.svn.wordpress.org/trunk@60443


git-svn-id: http://core.svn.wordpress.org/trunk@59779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-09 18:35:31 +00:00

37 KiB