May 30, 2020 at 1:35 pm
#99706
Gerald Menzel
Spectator
Hi Syam,
Could I simply add if (!is_object($post_type_object)) return false;
to the top of is_cpt_user_visible()
in class-customize-capabilities.php
, or would this cause side-effects? It seems, this would at least stem the flood for now. I did this on my dev server and all seems to work as it should.