Hi scribu,
I have the same problem with deleting connected posts but only with one specific conection type. I have a day post type and connected to day are events and clsses. Classes I can add and delete without any problem but Events connections are not being deleted.
p2p_register_connection_type( array(
'name' => 'day_to_events',
'from' => 'day',
'to' => 'events',
'reciprocal' => true,
'sortable' => 'order',
'context' => 'advanced',
'title' => array( 'from' => 'Add Events to this day', 'to' => 'Add to Schedule' ),
'fields' => array()
));
p2p_register_connection_type( array(
'name' => 'days_to_classes',
'from' => 'day',
'to' => 'competition',
'reciprocal' => true,
'sortable' => 'order',
'context' => 'advanced',
'title' => array( 'from' => 'Add Classes to this day', 'to' => 'Add to Schedule' ),
'fields' => array()
));
All other connections I have throughout the site are working fine. Just the day_to_events one doesn’t work on deleting the connection.
Firebug console gave me this: https://d.pr/Jm8
Any ideas?