Permalink
Browse files

Fix cap issue

  • Loading branch information...
1 parent d042168 commit 8def002f3d78511212570a8ea434e0f49b23efb8 Ollie Armstrong committed Oct 27, 2011
Showing with 11 additions and 3 deletions.
  1. +5 −1 readme.txt
  2. +6 −2 wp-survey-and-quiz-tool.php
View
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=99WUG
Tags: Quiz,test,exam,survey,results,email,quizzes,charts,google charts,wpsqt,tool,poll,polling,polls
Requires at least: 3.1
Tested up to: 3.2.1
-Stable tag: 2.7
+Stable tag: 2.7.1
A highly customisable Quiz, Survey and Poll plugin to which allows for unlimited questions and sections.
== Description ==
@@ -65,6 +65,10 @@ Any further issues then feel free to create a thread on the <a href="http://word
== ChangeLog ==
+= 2.7.1 =
+
+* Fix capability issue
+
= 2.7 =
* Added labels to the pie charts
@@ -5,7 +5,7 @@
Description: Allows wordpress owners to create their own web based quizes.
Author: Fubra Limited
Author URI: http://www.catn.com
-Version: 2.7
+Version: 2.7.1
WP Survey And Quiz Tool
Copyright (C) 2011 Fubra Limited
@@ -49,7 +49,7 @@
define( 'WPSQT_URL_MAIN' , admin_url('admin.php?page='.WPSQT_PAGE_MAIN) );
define( 'WPSQT_URL_MAINENTANCE' , admin_url('admin.php?page='.WPSQT_PAGE_MAINTENANCE) );
define( 'WPSQT_CONTACT_EMAIL' , 'support@catn.com' );
-define( 'WPSQT_VERSION' , '2.7' );
+define( 'WPSQT_VERSION' , '2.7.1' );
define( 'WPSQT_DIR' , dirname(__FILE__).'/' );
define( 'WPSQT_FILE' , __FILE__ );
@@ -69,6 +69,10 @@
update_option('wpsqt_old_version',$oldVersion);
}
+// Make sure admin has the capability
+$role = get_role('administrator');
+$role->add_cap('wpsqt-manage');
+
/**
* Class for Installing plugin on activation.
*

0 comments on commit 8def002

Please sign in to comment.