[wp-trac] [WordPress Trac] #62226: Block Bindings: Show attributes panel in custom post types
WordPress Trac
noreply at wordpress.org
Tue Oct 15 14:11:27 UTC 2024
#62226: Block Bindings: Show attributes panel in custom post types
-----------------------------+------------------------------
Reporter: santosguillamot | Owner: cbravobernal
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
-----------------------------+------------------------------
Changes (by cbravobernal):
* owner: (none) => cbravobernal
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"59239" 59239]:
{{{
#!CommitTicketReference repository="" revision="59239"
Block Bindings: Fix panel not appearing in custom post types.
There is a bug where the attributes panel is not shown in custom post
types. This is caused because each post type can define a capability_type,
which by default is post, so the logic to map the capabilities wasn't
correct and it was returning false.
Props santosguillamot, cbravobernal.
Fixes #62226.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62226#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list