Make WordPress Core

Changeset 60443

Timestamp:
07/09/2025 06:33:47 PM (8 months ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.