Skip to content

Commit

Permalink
Fixed duplicate function name when Email Notifications was active.
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottDeLuzio committed Apr 27, 2019
1 parent 773ca3d commit 081cd32
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 19 deletions.
4 changes: 2 additions & 2 deletions includes/email-notifications/project-notifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
}

// Send Email notifications for Projects
add_action( 'publish_wpcrm-project', 'wp_crm_system_notify_email_projects', 10, 2 );
add_action( 'publish_wpcrm-project', 'wp_crm_system_email_notifications_projects', 10, 2 );

function wp_crm_system_notify_email_projects( $ID, $post ){
function wp_crm_system_email_notifications_projects( $ID, $post ){
include ( WP_PLUGIN_DIR.'/wp-crm-system/includes/wp-crm-system-vars.php' );
$enable_email = '';
$projectassigned = '';
Expand Down
20 changes: 5 additions & 15 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: scott.deluzio
Tags: WordPress CRM, Free CRM for WordPress, CRM, Free WordPress CRM, CRM for WordPress, gdpr
Requires at least: 3.3.0
Tested up to: 5.2.0
Stable tag: 3.0.0
Stable tag: 3.0.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -91,6 +91,8 @@ Absolutely. There are inexpensive extensions that allow you to import as little
Your data is only accessible through the WordPress CRM dashboard. None of it will be accessible through the public facing portion of your website unless you are using our GDPR features (see above). This allows you to provide access to as few or as many people as you need to.

== Changelog ==
= 3.0.1 =
* Fixed duplicate function name error when WP-CRM System and Email Notifications were active at the same time.
= 3.0.0 =
* Merged several previously premium plugins into WP-CRM System core, including all Import / Export plugins (campaigns, contacts, opportunities, organizations, projects, tasks), Email Notifications, and Contact From User.
* Forced deactivation of the premium plugins that were merged into WP-CRM System core.
Expand Down Expand Up @@ -350,17 +352,5 @@ Your data is only accessible through the WordPress CRM dashboard. None of it wil
* Initial Release

== Upgrade Notice ==
== Changelog ==
= 3.0.0 =
* Merged several previously premium plugins into WP-CRM System core, including all Import / Export plugins (campaigns, contacts, opportunities, organizations, projects, tasks), Email Notifications, and Contact From User.
* Forced deactivation of the premium plugins that were merged into WP-CRM System core.
* Improved the coding of the display for field titles in individual records by removing 94 constants and replacing with translatable strings.
* Minor CSS changes.
* Fixed display of settings update notification on WP-CRM System dashboard page that showed up in the Address Book box. Clarified the language used to point the user to the correct location to update settings.
* Updated featured images for recommended extensions.
* Removed extra tabs on recommended extensions page.
* Consolidated function required for importing into the wcs-functions.php file and removed return_bytes.php.
* Added notification to the Project and Task list table screens to point users to the Recurring Entries settings page.
* Moved recurring entries out from the WP-CRM System > Dashboard > Settings tab into it's own tab at WP-CRM System > Dashboard > Recurring.
* Improvements to Welcome Page after activation to clarify the plugin's capabilities.
* Improvements to the language used on Client Area, Custom Fields, and Invoicing upsell tabs. Also removed Import upsell tab.
= 3.0.1 =
* Fixed duplicate function name error when WP-CRM System and Email Notifications were active at the same time.
4 changes: 2 additions & 2 deletions wp-crm-system.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: WP-CRM System
Plugin URI: https://www.wp-crm.com
Description: A complete CRM for WordPress
Version: 3.0.0
Version: 3.0.1
Author: Scott DeLuzio
Author URI: https://www.wp-crm.com
Text Domain: wp-crm-system
Expand Down Expand Up @@ -34,7 +34,7 @@ function wp_crm_plugin_init() {
define( 'WP_CRM_SYSTEM', __FILE__ );
}
if ( ! defined( 'WP_CRM_SYSTEM_VERSION' ) ) {
define( 'WP_CRM_SYSTEM_VERSION', '3.0.0' );
define( 'WP_CRM_SYSTEM_VERSION', '3.0.1' );
}
if( ! defined( 'WP_CRM_SYSTEM_URL' ) ) {
define( 'WP_CRM_SYSTEM_URL', plugins_url( '', __FILE__ ) );
Expand Down

0 comments on commit 081cd32

Please sign in to comment.