Fix for supported_post_types
-
Around line 169 if you change:
$this->supported_post_types = apply_filters( 'coauthors_supported_post_types', $post_types_with_authors );
to check for an already set array
if (!$this->supported_post_types) { $this->supported_post_types = apply_filters( 'coauthors_supported_post_types', $post_types_with_authors ); }
Then the ability to declare supported_post_types will actually work. Without this fix I couldn’t get your plugin working with CPT-onomies.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Fix for supported_post_types’ is closed to new replies.