Permalink
Browse files

fix for gforms

  • Loading branch information...
attackant committed Dec 1, 2016
1 parent 4b36b55 commit d95daf4ba94d326e462df5dd2f623efc560eff93
Showing with 5 additions and 17 deletions.
  1. +3 −0 README.md
  2. +0 −15 core/mapi-email.php
  3. +2 −2 mindshare-api.php
View
@@ -10,6 +10,9 @@ Provides a library of additional template tags, 3rd-party libraries, and functio
# Changelog:
## 1.1.1
- Remove `mapi_change_email_defaults()` function because of conflict with Gravity Forms
## 1.1.0
- Add `mapi_facebook_posts()` function
- Add `mapi_post_exists()` function
View
@@ -43,18 +43,3 @@ function mapi_change_default_email_name($from_name) {
return $from_name;
}
}
/**
* Apply filters for changing the default from name and email.
* See: mapi_change_default_email() and mapi_change_default_email_name()
*
* Can be disabled with:
* <code>remove_action('mapi_end', 'mapi_change_email_defaults');</code>
*/
function mapi_change_email_defaults() {
// @todo this fn needs to be more thoroughly tested, so it has been disabled I suspect there's an issue with this being called by another action/filter
add_filter('wp_mail_from', 'mapi_change_default_email');
add_filter('wp_mail_from_name', 'mapi_change_default_email_name');
}
//add_action('mapi_end', 'mapi_change_email_defaults');
View
@@ -4,7 +4,7 @@
Plugin URI: https://mindsharelabs.com/downloads/mindshare-theme-api/
Description: Provides a library of additional template tags, 3rd-party libraries, and functions for WordPress themes and additional features for WordPress CMS websites.
Author: Mindshare Labs, Inc
Version: 1.1.0
Version: 1.1.1
Author URI: https://mind.sh/are/
Network: false
*/
@@ -102,7 +102,7 @@ class Mindshare_API {
*
* @var string
*/
private $class_version = '1.1.0';
private $class_version = '1.1.1';
/**
* Used for automatic updates

0 comments on commit d95daf4

Please sign in to comment.