WP-Polls - Version 2.73.5

Version Description

Download this release

Release Info

Developer GamerZ
Plugin Icon WP-Polls
Version 2.73.5
Comparing to
See all releases

Code changes from version 2.73.4 to 2.73.5

Files changed (2) hide show
  1. readme.txt +4 -1
  2. wp-polls.php +3 -3
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://lesterchan.net/site/donation/
4
  Tags: poll, polls, polling, vote, booth, democracy, ajax, survey, post, widget
5
  Requires at least: 4.0
6
  Tested up to: 4.7
7
- Stable tag: 2.73.4
8
 
9
  Adds an AJAX poll system to your WordPress blog. You can also easily add a poll into your WordPress's blog post/page.
10
 
@@ -27,6 +27,9 @@ WP-Polls is extremely customizable via templates and css styles and there are to
27
  I spent most of my free time creating, updating, maintaining and supporting these plugins, if you really love my plugins and could spare me a couple of bucks, I will really appreciate it. If not feel free to use it without any obligations.
28
 
29
  ## Changelog
 
 
 
30
  ### Version 2.73.4
31
  * FIXED: sanitize_key on top of intval.
32
 
4
  Tags: poll, polls, polling, vote, booth, democracy, ajax, survey, post, widget
5
  Requires at least: 4.0
6
  Tested up to: 4.7
7
+ Stable tag: 2.73.5
8
 
9
  Adds an AJAX poll system to your WordPress blog. You can also easily add a poll into your WordPress's blog post/page.
10
 
27
  I spent most of my free time creating, updating, maintaining and supporting these plugins, if you really love my plugins and could spare me a couple of bucks, I will really appreciate it. If not feel free to use it without any obligations.
28
 
29
  ## Changelog
30
+ ### Version 2.73.5
31
+ * FIXED: Parsed error in SERVER variable.
32
+
33
  ### Version 2.73.4
34
  * FIXED: sanitize_key on top of intval.
35
 
wp-polls.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP-Polls
4
  Plugin URI: https://lesterchan.net/portfolio/programming/php/
5
  Description: Adds an AJAX poll system to your WordPress blog. You can easily include a poll into your WordPress's blog post/page. WP-Polls is extremely customizable via templates and css styles and there are tons of options for you to choose to ensure that WP-Polls runs the way you wanted. It now supports multiple selection of answers.
6
- Version: 2.73.4
7
  Author: Lester 'GaMerZ' Chan
8
  Author URI: https://lesterchan.net
9
  Text Domain: wp-polls
@@ -30,7 +30,7 @@ Text Domain: wp-polls
30
 
31
 
32
  ### Version
33
- define( 'WP_POLLS_VERSION', '2.73.4' );
34
 
35
 
36
  ### Create Text Domain For Translations
@@ -465,7 +465,7 @@ function display_pollvote($poll_id, $display_loading = true) {
465
  if($poll_question && $poll_answers) {
466
  // Display Poll Voting Form
467
  $temp_pollvote .= "<div id=\"polls-$poll_question_id\" class=\"wp-polls\">\n";
468
- $temp_pollvote .= "\t<form id=\"polls_form_$poll_question_id\" class=\"wp-polls-form\" action=\"" . sanitize_text_field( _SERVER['SCRIPT_NAME'] ) ."\" method=\"post\">\n";
469
  $temp_pollvote .= "\t\t<p style=\"display: none;\"><input type=\"hidden\" id=\"poll_{$poll_question_id}_nonce\" name=\"wp-polls-nonce\" value=\"".wp_create_nonce('poll_'.$poll_question_id.'-nonce')."\" /></p>\n";
470
  $temp_pollvote .= "\t\t<p style=\"display: none;\"><input type=\"hidden\" name=\"poll_id\" value=\"$poll_question_id\" /></p>\n";
471
  if($poll_multiple_ans > 0) {
3
  Plugin Name: WP-Polls
4
  Plugin URI: https://lesterchan.net/portfolio/programming/php/
5
  Description: Adds an AJAX poll system to your WordPress blog. You can easily include a poll into your WordPress's blog post/page. WP-Polls is extremely customizable via templates and css styles and there are tons of options for you to choose to ensure that WP-Polls runs the way you wanted. It now supports multiple selection of answers.
6
+ Version: 2.73.5
7
  Author: Lester 'GaMerZ' Chan
8
  Author URI: https://lesterchan.net
9
  Text Domain: wp-polls
30
 
31
 
32
  ### Version
33
+ define( 'WP_POLLS_VERSION', '2.73.5' );
34
 
35
 
36
  ### Create Text Domain For Translations
465
  if($poll_question && $poll_answers) {
466
  // Display Poll Voting Form
467
  $temp_pollvote .= "<div id=\"polls-$poll_question_id\" class=\"wp-polls\">\n";
468
+ $temp_pollvote .= "\t<form id=\"polls_form_$poll_question_id\" class=\"wp-polls-form\" action=\"" . sanitize_text_field( $_SERVER['SCRIPT_NAME'] ) ."\" method=\"post\">\n";
469
  $temp_pollvote .= "\t\t<p style=\"display: none;\"><input type=\"hidden\" id=\"poll_{$poll_question_id}_nonce\" name=\"wp-polls-nonce\" value=\"".wp_create_nonce('poll_'.$poll_question_id.'-nonce')."\" /></p>\n";
470
  $temp_pollvote .= "\t\t<p style=\"display: none;\"><input type=\"hidden\" name=\"poll_id\" value=\"$poll_question_id\" /></p>\n";
471
  if($poll_multiple_ans > 0) {