WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: WPML comment merging] seems buggy with custom post types

[Resolved] [Plugin: WPML comment merging] seems buggy with custom post types

Viewing 1 replies (of 1 total)
  • Daniel Koskinen
    Member

    @daniel-koskinen

    Actually I figured it out. You can support custom post types easily by changing lines 19 and 38 from this:
    $type = is_page($post_ID) ? 'page' : 'post';

    to this:

    $type = get_post_type($post_ID);

    After some brief testing with posts, pages and a custom post type I created, it seems to work just fine.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: WPML comment merging] seems buggy with custom post types’ is closed to new replies.