Skip to content

Commit

Permalink
adding bug fix and changing version numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Kennedy committed May 21, 2012
1 parent 846ae19 commit 3cfae17
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config.php
Expand Up @@ -2,7 +2,7 @@

global $wpdb;

define('SP_VERSION', '1.4');
define('SP_VERSION', '1.6.1');
define('SP_DEBUG', false);

define('SP_DIR', dirname(__FILE__).'/');
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Expand Up @@ -5,7 +5,7 @@ Donate link: http://wolfiezero.com/donate/
Tags: poll, results, polls, polling, survey, simple, easy, quiz
Requires at least: 3.0
Tested up to: 3.2.1
Stable tag: 1.6
Stable tag: 1.6.1

Simply, it adds polling functionality to your WordPress site

Expand Down Expand Up @@ -54,6 +54,9 @@ A Yes there intact is! It's on [Github](https://github.com/WolfieZero/simply-pol

== Changelog ==

= 1.6.1 =
* Fixed a bug with the pie chart that prevented it from displaying when an apostraphe was present in an answer

= 1.6 =
* Added a poll option to allow an 'other' field. When this is active it adds a field labeled other where users can put in their own answer to a poll. This will add it to the poll's answers and assign it a vote. If an answer is added that already exists, the existing answer get a vote instead.

Expand Down
2 changes: 1 addition & 1 deletion simply-poll.php
@@ -1,7 +1,7 @@
<?php
/*
Plugin Name: Simply Poll
Version: 1.6
Version: 1.6.1
Plugin URI: http://wolfiezero.com/wordpress/simply-poll/
Description: Simply, it adds polling functionailty to your WordPress site
Author: WolfieZero
Expand Down
2 changes: 1 addition & 1 deletion view/admin/view.php
Expand Up @@ -24,7 +24,7 @@
$(document).ready(function(){
var data = [
<?php foreach($answers as $key => $answer) : ?>
['<strong><?php echo $answer['answer']; ?></strong> <?php _e('votes'); ?>: <?php echo $answer['vote']; ?>', <?php echo $answer['vote']; ?>],
['<strong><?php echo addslashes($answer['answer']); ?></strong> <?php _e('votes'); ?>: <?php echo intval($answer['vote']); ?>', <?php echo $answer['vote']; ?>],
<?php endforeach; ?>
];

Expand Down

0 comments on commit 3cfae17

Please sign in to comment.