Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. git-svn-id: https://develop.svn.wordpress.org/trunk@59239 602fd350-edb4-49c9-b593-d223f7449a82
- Loading branch information