Resolve frontend/backend contradiction for home visibility embeds
Loading
This MR resolves a contradiction between frontend and backend code that didn't allow posts set to Home visibility to be embedded, causing the Generate Embed Code popup to load forever.
In order to do this, the check from the frontend is copied to the backend.
The contradiction in question:
This issue also exists on upstream:
By submitting this merge request, you agree to follow our Contribution Guidelines