Skip to content

Commit

Permalink
Update readme.txt, fix setting changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottDeLuzio committed Jul 1, 2020
1 parent 6fcdaab commit 18bad65
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
6 changes: 2 additions & 4 deletions includes/wcs-post-types.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
*/
add_action( 'admin_init', 'wpcrm_add_role_caps', 999 );
function wpcrm_add_role_caps() {
if( isset( $_POST[ 'wpcrm_system_settings_update' ] ) ) {
// if( isset( $_POST[ 'wpcrm_system_settings_update' ] ) ) {
$post_types = array( 'wpcrm-contact','wpcrm-task','wpcrm-organization','wpcrm-opportunity','wpcrm-project','wpcrm-campaign' );

$roles = array(
Expand All @@ -36,9 +36,7 @@ function wpcrm_add_role_caps() {
'author',
'editor',
'administrator',

);

$wpcrm_system_roles = apply_filters( 'wpcrm_system_default_user_roles', $roles );
foreach($post_types as $post_type) {
// Loop through each role and assign capabilities
Expand Down Expand Up @@ -85,7 +83,7 @@ function wpcrm_add_role_caps() {
}
}
}
}
// }
}

/* Contacts post type. */
Expand Down
16 changes: 9 additions & 7 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
=== WordPress CRM Plugin - WP-CRM System ===
Contributors: scott.deluzio
Contributors: scott.deluzio, nofearinc
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.4.1
Stable tag: 3.1.5
Tested up to: 5.4.2
Stable tag: 3.1.6
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -12,8 +12,6 @@ WP-CRM System is a WordPress CRM that is designed to work exclusively with YOUR
== Description ==
WP-CRM System is a fully featured WordPress CRM that allows you to use the WordPress interface you are already familiar with to manage your customers, projects, and tasks with ease.

[youtube https://www.youtube.com/watch?v=re5MqqX94-I&rel=0&showinfo=0]

Why spend hundreds or thousands of dollars on a CRM that charges based on the number of records you have in your database, or the number of users that you have accessing your database? WP-CRM System allows you to have an unlimited number of records and lets you give everyone in your organization access to the WordPress CRM data they need to drive business.

**More than a CRM**
Expand Down Expand Up @@ -91,6 +89,9 @@ 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.1.6 =
* Update readme.txt.
* Update to fix save setting changes.
= 3.1.5 =
* Update: Included new filter `wp_crm_system_display_links` to allow for disabling phone number and email address links on the contact and organization tables.
= 3.1.4 =
Expand Down Expand Up @@ -368,5 +369,6 @@ Your data is only accessible through the WordPress CRM dashboard. None of it wil
* Initial Release

== Upgrade Notice ==
= 3.1.5 =
* Update: Included new filter `wp_crm_system_display_links` to allow for disabling phone number and email address links on the contact and organization tables.
= 3.1.6 =
* Update readme.txt.
* Update to fix save setting changes.
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.1.5
Version: 3.1.6
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.1.5' );
define( 'WP_CRM_SYSTEM_VERSION', '3.1.6' );
}
if( ! defined( 'WP_CRM_SYSTEM_URL' ) ) {
define( 'WP_CRM_SYSTEM_URL', plugins_url( '', __FILE__ ) );
Expand Down

0 comments on commit 18bad65

Please sign in to comment.