Scott

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Scott
    Member

    Nevermind, for some reason the PRO plugin was not active. Weird. Enabling it fixed the issue. 🙂

    Scott
    Member

    I 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-14

    So 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.4

    Plugin Name: Events Calendar PRO
    Version: 2.0.4

    WP 3.3.1

Viewing 2 posts - 1 through 2 (of 2 total)