WordPress.org

Ready to get started?Download WordPress

Forums

Posts 2 Posts
[resolved] Reciprocal connection isn't being created (2 posts)

  1. Ricardo
    Member
    Posted 3 years ago #

    My two cents:

    One-way connections work just fine, but the reciprocals aren't being created even though I set the "bydirectional" variable to true. I'm registering the connection type with the following lines:

    function my_connection_types() {
        p2p_register_connection_type('post', 'page', true);
    }
    add_action('init', 'my_connection_types', 100);

    By the way, I tried connecting two objects of the exact same type (i.e. pages to pages) and the plugin behaved correctly, except when I activated the reciprocal connection: in that case, after updating the post/page you'll see all established connections duplicated. Also, the reciprocal connections aren't being created.

    Hope this helps, the idea behind this plugin is very good :)

    http://wordpress.org/extend/plugins/posts-to-posts/

  2. scribu
    Member
    Plugin Author

    Posted 3 years ago #

    Thanks for reporting. Both issues are now fixed in the development version (0.3-alpha).

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic