Forum Replies Created
-
AuthorPosts
-
March 4, 2012 at 11:40 am in reply to: How to delete a single event in a series of reoccurring events #16192
Scott
MemberNevermind, for some reason the PRO plugin was not active. Weird. Enabling it fixed the issue. 🙂
March 4, 2012 at 11:21 am in reply to: How to delete a single event in a series of reoccurring events #16188Scott
MemberI can’t delete a single date of a reoccurring event. This never worked up until the release prior to the most recent release, which it worked great, but then is broke after latest release. Both of this links, move all recurring dates (for that event) to the trash.
/wp-admin/post.php?post=1078&action=trash&_wpnonce=2e7e451511
/wp-admin/post.php?post=1078&action=trash&_wpnonce=2e7e451511&eventDate=2012-03-14So for the above, same result. It seems to me, and I’m not a WP code guru, but I do know PHP and was digging through things and on post.php and it gets to this point in post.php, it’s almost as if it’s not being processed by the plugin.
/wp-admin/post.php
case ‘trash’:
check_admin_referer(‘trash-‘ . $post_type . ‘_’ . $post_id);$post = & get_post($post_id);
if ( !current_user_can($post_type_object->cap->delete_post, $post_id) )
wp_die( __(‘You are not allowed to move this item to the Trash.’) );if ( ! wp_trash_post($post_id) )
wp_die( __(‘Error in moving to Trash.’) );// HERE IS WHERE I CAN FORCE A DEBUG OUTPUT AND EXIT AND IT WILL SHOW UP USING LINKS ABOVE
wp_redirect( add_query_arg( array(‘trashed’ => 1, ‘ids’ => $post_id), $sendback ) );
exit();
break;Plugin Name: The Events Calendar
Version: 2.0.4Plugin Name: Events Calendar PRO
Version: 2.0.4WP 3.3.1
-
AuthorPosts
