[wp-trac] [WordPress Trac] #64156: add_post_type_support() does not merge sub-properties for the same feature
WordPress Trac
noreply at wordpress.org
Wed Nov 5 10:03:53 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: 6.9
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Comment (by wildworks):
Personally, I think modifying the behavior of this function in 6.9 release
might have an impact.
While it's true that subsequent calls overwriting the sub-feature might
not be the intended behavior, some consumers might implicitly depend on
that behavior. If we decide to merge the sub-functions, sub-functions that
were previously hidden by the overwrite might become exposed.
For the 6.9 release, I suggest covering this issue in the dev notes, but
what do you think?
In other words, we would provide a code snippet like this for users who
explicitly want to merge the sub-feature:
https://github.com/WordPress/gutenberg/issues/66377#issuecomment-3480056848
What do you think?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64156#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list