Since 0.8.1beta the setting
map_meta_cap is used in CPT UI and set to
false as default value (which is documented as default value in the documentation of register_post_type()).
false caused issues with the setting
capability_type like e.g. non editable posts of a custom post type post if the post owner is e.g. an editor-role and the current user an admin-role or similar.
map_meta_cap setting in CPT UI was removed from the
register_post_type() call, the issues disappeared, which lead to the conclusion that the default value for
map_meta_cap is actually
true and not
An annotation in the register_post_type() documentation also points in this direction:
... It seems that
map_meta_capneeds to be set to true, to make this work.
Would suggest to use
true as default for
map_meta_cap in CPT UI or omit the setting from
register_post_type() if user has set it to
The use of
map_meta_cap might also need more investigation...