Viewing 6 replies - 1 through 6 (of 6 total)
  • Barry

    (@barryhughes-1)

    Hi wpbean,

    Sorry to hear you’ve hit up against difficulties.

    Did the answer in the issue you opened with Codestar help at all here?

    Hi,

    We replyed and found a solution for wpbean ( issue#86 )

    Btw, an advise for Plugin Author ( Barry ):

    // the-events-calendar/lib/the-events-calendar.class.php
    // line 412
    add_action( 'save_post', array( $this, 'addEventMeta' ), 15, 2 );
    
    // i think this action must be :
    add_action( 'save_post_' . self::POSTTYPE, array( $this, 'addEventMeta' ), 15, 2 );

    because, addEventMeta function have custom “return” for eg.

    if ( $post->post_type !== self::POSTTYPE || defined( 'DOING_AJAX' ) {
      return;
    }

    this returns affect our save_post actions. i think this issue will affect a lot of plugin authors.

    Have a nice day, Nice plugin.
    Regards, Codestar

    Plugin Author Brian

    (@brianjessee)

    Codestar thanks for the response and the fix. I have added this to our bug ticket to address.

    I have also found in a personal plugin, this prevented the custom fields from saving. Changing the priority of my action to 10 fixes the issue for me.

    However, I would like us see about fixing this in The Events Calendar.

    Thanks Again.

    Brian, Thanks for reply ??

    Yes, also i am using action to 10 in my framework. same solution ??

    $this->addAction( 'save_post', 'save_post', 10, 2 );

    Have a nice day.
    Regards, Codestar

    Thank you Codestar as always!

    – Andre@DMA

    Brook

    (@brook-tribe)

    Thank you guys for reporting back, and helping us find this issue with our API. ??

    – Brook

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Conflict with CodeStar framework.’ is closed to new replies.