Commit 9082d4b
committed
Embeds: Correct error handling in
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@60443 602fd350-edb4-49c9-b593-d223f7449a82_oembed_rest_pre_serve_request().1 parent 6bc94ef commit 9082d4b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
791 | 791 | | |
792 | 792 | | |
793 | 793 | | |
794 | | - | |
| 794 | + | |
795 | 795 | | |
796 | 796 | | |
797 | 797 | | |
| |||
0 commit comments