Title: Conflict with CodeStar framework.
Last modified: August 24, 2016

---

# Conflict with CodeStar framework.

 *  Resolved [WPBean](https://wordpress.org/support/users/wpbean/)
 * (@wpbean)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/conflict-with-codestar-framework/)
 * Hi,
    My client buy the pro version of this plugin. And I am developing a site
   for him. I am using a premium theme that use [CodeStar](http://codestarframework.com/)
   framework. If Events Calendar plugin is active , Codestar meta field are not 
   saving the changes.
 * I also open a [issue](https://github.com/Codestar/codestar-framework/issues/86)
   on Codestar Github project.
 * Any kind of suggestion will be helpful.
 * Thanks
 * [https://wordpress.org/plugins/the-events-calendar/](https://wordpress.org/plugins/the-events-calendar/)

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

 *  [Barry](https://wordpress.org/support/users/barryhughes-1/)
 * (@barryhughes-1)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/conflict-with-codestar-framework/#post-6099217)
 * 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?
 *  [Codestar](https://wordpress.org/support/users/codestar/)
 * (@codestar)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/conflict-with-codestar-framework/#post-6099268)
 * Hi,
 * We replyed and found a solution for wpbean ( [issue#86](https://github.com/Codestar/codestar-framework/issues/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 Contributor [Brian](https://wordpress.org/support/users/brianjessee/)
 * (@brianjessee)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/conflict-with-codestar-framework/#post-6099269)
 * 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.
 *  [Codestar](https://wordpress.org/support/users/codestar/)
 * (@codestar)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/conflict-with-codestar-framework/#post-6099271)
 * 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
 *  [teamDMA](https://wordpress.org/support/users/teamdma/)
 * (@teamdma)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/conflict-with-codestar-framework/#post-6099272)
 * Thank you Codestar as always!
 * – Andre@DMA
 *  [Brook](https://wordpress.org/support/users/brook-tribe/)
 * (@brook-tribe)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/conflict-with-codestar-framework/#post-6099282)
 * 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.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

 * 6 replies
 * 6 participants
 * Last reply from: [Brook](https://wordpress.org/support/users/brook-tribe/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/conflict-with-codestar-framework/#post-6099282)
 * Status: resolved