Closed shadyvb closed 3 years ago
This makes sure post types that does not support authors would not get assets enqueued, otherwise it breaks the editor.
Yeah, as you said, that filter callback needs the POST param to exist, so it's not much a problem now. Thanks for the review!
This makes sure post types that does not support authors would not get assets enqueued, otherwise it breaks the editor.