Version Description
- Changed Variables for Roles and Capabilities to avoid conflictions with other plugins.
Download this release
Release Info
Developer | contact-banker |
Plugin | Contact Bank: WordPress Form Builder for Contact Forms |
Version | 2.0.82 |
Comparing to | |
See all releases |
Code changes from version 2.0.81 to 2.0.82
- contact-bank.php +1 -1
- readme.txt +5 -1
- views/header.php +5 -6
contact-bank.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Contact Bank Lite Edition
|
|
4 |
Plugin URI: http://tech-banker.com
|
5 |
Description: Build Complex, Powerful Contact Forms in Just Seconds. No Programming Knowledge Required! Yeah, It's Really That Easy.
|
6 |
Author: Tech Banker
|
7 |
-
Version: 2.0.
|
8 |
Author URI: http://tech-banker.com
|
9 |
*/
|
10 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
4 |
Plugin URI: http://tech-banker.com
|
5 |
Description: Build Complex, Powerful Contact Forms in Just Seconds. No Programming Knowledge Required! Yeah, It's Really That Easy.
|
6 |
Author: Tech Banker
|
7 |
+
Version: 2.0.82
|
8 |
Author URI: http://tech-banker.com
|
9 |
*/
|
10 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: contact-banker, Gallery-Bank
|
|
3 |
Tags: admin, advanced form, AJAX, best contact form plugin, buddypress, category, comment, comments, contact, contact form, contact form builder, contact form plugin, contact forms, contact me, contact us, contacts, content, easy contact form, easy contact plugin, email, Facebook, feed, feedback, feedback form, form, form builder, forms, gallery, google, image, images, javascript, jquery, link, links, login, media, page, pages, plugin, Post, posts, request, shortcode, sidebar, stats, text, web form, widget, wordpress
|
4 |
Requires at least: 3.3
|
5 |
Tested up to: 4.0.1
|
6 |
-
Stable tag: 2.0.
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -532,6 +532,10 @@ In order to set Shortcode for a Form, you need to follow these steps :
|
|
532 |
|
533 |
== Changelog ==
|
534 |
|
|
|
|
|
|
|
|
|
535 |
= 2.0.81 =
|
536 |
|
537 |
* Minor Bugs Fixed
|
3 |
Tags: admin, advanced form, AJAX, best contact form plugin, buddypress, category, comment, comments, contact, contact form, contact form builder, contact form plugin, contact forms, contact me, contact us, contacts, content, easy contact form, easy contact plugin, email, Facebook, feed, feedback, feedback form, form, form builder, forms, gallery, google, image, images, javascript, jquery, link, links, login, media, page, pages, plugin, Post, posts, request, shortcode, sidebar, stats, text, web form, widget, wordpress
|
4 |
Requires at least: 3.3
|
5 |
Tested up to: 4.0.1
|
6 |
+
Stable tag: 2.0.82
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
532 |
|
533 |
== Changelog ==
|
534 |
|
535 |
+
= 2.0.82 =
|
536 |
+
|
537 |
+
* Changed Variables for Roles and Capabilities to avoid conflictions with other plugins.
|
538 |
+
|
539 |
= 2.0.81 =
|
540 |
|
541 |
* Minor Bugs Fixed
|
views/header.php
CHANGED
@@ -98,17 +98,16 @@ jQuery(document).ready(function()
|
|
98 |
global $wpdb,$current_user;
|
99 |
if (is_super_admin())
|
100 |
{
|
101 |
-
$
|
102 |
}
|
103 |
else
|
104 |
{
|
105 |
-
$
|
106 |
-
$current_user->role = array_keys($current_user->$
|
107 |
-
$
|
108 |
}
|
109 |
|
110 |
-
|
111 |
-
switch ($role) {
|
112 |
case "administrator":
|
113 |
?>
|
114 |
<h2 class="nav-tab-wrapper">
|
98 |
global $wpdb,$current_user;
|
99 |
if (is_super_admin())
|
100 |
{
|
101 |
+
$cb_role = "administrator";
|
102 |
}
|
103 |
else
|
104 |
{
|
105 |
+
$cb_role = $wpdb->prefix . "capabilities";
|
106 |
+
$current_user->role = array_keys($current_user->$cb_role);
|
107 |
+
$cb_role = $current_user->role[0];
|
108 |
}
|
109 |
|
110 |
+
switch ($cb_role) {
|
|
|
111 |
case "administrator":
|
112 |
?>
|
113 |
<h2 class="nav-tab-wrapper">
|