post_type_supports() returns true when $_wp_post_type_features['post_type']['feature'] is set but false
|Reported by:||linguasite||Owned by:|
|Component:||Posts, Post Types||Keywords:||2nd-opinion|
Wouldn't it be safer to ask for a true value before returning true?
I had to change a capability manually and did this by directly changing the relevant value to false (without using remove_post_type_support for some reason).
post_type_supports() still returned true then.
wp-includes/post.php line 1031