[wp-trac] [WordPress Trac] #64156: add_post_type_support() does not merge sub-properties for the same feature
WordPress Trac
noreply at wordpress.org
Tue Nov 11 14:37:33 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: Posts, Post Types | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests 2nd-opinion | Focuses:
--------------------------------------------------+---------------------
Comment (by wildworks):
> I'd consider this an enhancement and as such should be dealt with in
7.0, especially since we're about to release RC1.
I tend to agree with this. The concern, as already pointed out, is that
the Notes feature will become unavailable if consumers opt into the
editor's sub-features as described below:
{{{
// This code unintentionally removes the Note feature from the Page.
add_post_type_support( 'page', 'editor', array(
'default-mode' => 'template-locked',
) );
}}}
This could perhaps be addressed with developer notes, as suggested here:
https://github.com/WordPress/gutenberg/issues/66377#issuecomment-3480056848
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64156#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list