Change featured_media value to null on image removal #74660
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What?
Closes #74657.
Allow featured_media to be reflected across multiple users.
Why?
With multiple users potentially editing posts at the same time, it is important to accurately reflect if a featured image has been removed.
How?
By switching to
null, rather than0the update gets reflected.Testing Instructions
Screenshots or screencast
Before:
Screen.Recording.2026-01-15.at.15.07.46.mov
After:
Screen.Recording.2026-01-15.at.15.10.39.mov