[wp-trac] [WordPress Trac] #64156: add_post_type_support() does not merge sub-properties for the same feature
WordPress Trac
noreply at wordpress.org
Mon Oct 27 23:07:03 UTC 2025
#64156: add_post_type_support() does not merge sub-properties for the same feature
--------------------------------------+------------------------------
Reporter: fabiankaegy | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------------
Comment (by fabiankaegy):
The reason why this became an issue now and why I would suggest we fix
this in time for WordPress 6.9 is that in 6.7 we shipped the editor post
type support sub-key
{{{default-mode}}}. And now in 6.9 we are adding the {{{notes}}} sub-key.
So when there is existing code out there that adds the {{{default-mode}}}
it now causes the {{{notes}}} support to be overwritten.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64156#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list