Conflict with All In One Event Calendar
-
Hey guys, I wanted to reach out to you and let you know that your plugin has a handful of functions that are named the same as plugins in All in One Event Calendar:
- duplicate_post_make_duplicate_link_row
- duplicate_post_save_as_new_post_draft
- duplicate_post_save_as_new_post
- duplicate_post_get_current_user
- duplicate_post_copy_post_taxonomies
- duplicate_post_copy_post_meta_info
- duplicate_post_create_duplicate
- duplicate_post
Because of these name conflicts, I wasn’t able to use the clone command. AI1EC would intercept the request and ask for a nonce; since the nonce wasn’t set by AI1EC, it wouldn’t pass, and I couldn’t clone my post. This happened even though I was on the Posts screen and not the Events screen.
I got around this by forking the plugin and namespacing the duplicate_post_save_as_new_post function. The other functions might need namespacing too, I’m not sure.
I’d be happy to do a pull request for this, if you’ve got a repo set up.
- The topic ‘Conflict with All In One Event Calendar’ is closed to new replies.