• Resolved Derek Perkins

    (@ploobers)


    Here are a couple of notes on my upgrade experience.
    – Link to your site in the 0.3 changelog goes to a 404 page
    – When automatically upgrading the plugin, it died in the middle of activating because the p2p register functions called from my functions.php file were undefined.

    Is there a way to just delete all of the p2p data from my database and start fresh?

Viewing 1 replies (of 1 total)
  • Plugin Author scribu

    (@scribu)

    – Link to your site in the 0.3 changelog goes to a 404 page

    Fixed.

    – When automatically upgrading the plugin, it died in the middle of activating because the p2p register functions called from my functions.php file were undefined.

    Right, you should first check if the function exists:

    if ( function_exists('p2p_register_connection_type') ) {
    	function my_connection_types() {
    		p2p_register_connection_type('book', 'author');
    	}
    	add_action('init', 'my_connection_types', 100);
    }

    Thanks for reporting.

    Is there a way to just delete all of the p2p data from my database and start fresh?

    Well, you would have to migrate the data first, by going to this URL:

    /wp-admin/?migrate_p2p

    Then, if you really need to delete all the data, you can install the development version (0.4-alpha) and go to this URL:

    /wp-admin/?delete_p2p

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Posts 2 Posts] Couple of 0.3 Notes’ is closed to new replies.