Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: CodeBard's Patron Button and Widgets for Patreon
Plugin URI: https://wordpress.org/plugins/patron-button-and-widgets-by-codebard/
Description: Patreon Patron Buttons, Widgets and Patreon Functions
Version: 2.2.4
Version: 2.2.5
Author: CodeBard
Author URI: https://codebard.com
Text Domain: cb_p6
Expand Down Expand Up @@ -66,7 +66,7 @@ private function __construct()

if(isset($_REQUEST[$this->internal['prefix'].'action'] ))
{
$this->internal['requested_action'] = filter_var( $_REQUEST[$this->internal['prefix'].'action'], FILTER_SANITIZE_STRING);
$this->internal['requested_action'] = preg_replace('/[^\w-]/', '', $_REQUEST[$this->internal['prefix'].'action']);
}
else
{
Expand Down Expand Up @@ -693,7 +693,7 @@ public function do_admin_page_tabs_c()

if(isset($_REQUEST[$this->internal['prefix'].'tab']))
{
$tab = filter_var( $_REQUEST[$this->internal['prefix'].'tab'], FILTER_SANITIZE_STRING ) ;
$tab = preg_replace('/[^\w-]/', '', $_REQUEST[$this->internal['prefix'].'tab']) ;
}

if(!isset($tab))
Expand Down Expand Up @@ -813,7 +813,7 @@ public function do_settings_pages_c($v1)

if(isset($_REQUEST[$this->internal['prefix'] . 'tab']))
{
$tab = filter_var( $_REQUEST[$this->internal['prefix'].'tab'], FILTER_SANITIZE_STRING );
$tab = preg_replace('/[^\w-]/', '', $_REQUEST[$this->internal['prefix'].'tab']);
}
else
{
Expand Down Expand Up @@ -862,7 +862,7 @@ public function do_admin_settings_form_header_c()

if(isset($_REQUEST[$this->internal['prefix'] . 'tab']))
{
$tab = filter_var( $_REQUEST[$this->internal['prefix'] . 'tab'], FILTER_SANITIZE_STRING );
$tab = preg_replace('/[^\w-]/', '', $_REQUEST[$this->internal['prefix'] . 'tab'] );

}
else
Expand Down Expand Up @@ -891,7 +891,7 @@ public function do_admin_settings_form_footer_c()

if(isset($_REQUEST['tab']))
{
$tab = filter_var( $_REQUEST['tab'], FILTER_SANITIZE_STRING );
$tab = preg_replace('/[^\w-]/', '', $_REQUEST['tab'] );

}
else
Expand Down
2 changes: 1 addition & 1 deletion plugin/includes/default_internal_vars.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
'id' => 'cb_p6',
'plugin_id' => 'patron-button-and-widgets-by-codebard',
'prefix' => 'cb_p6_',
'version' => '2.2.4',
'version' => '2.2.5',
'plugin_name' => 'CodeBard\'s Patron Button and Widgets for Patreon',

'callable_from_request' => array(
Expand Down
12 changes: 10 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Donate link: http://codebard.com/donate
Tags: patreon, widgets, crowdfunding, donations, social
License: GPL
Requires at least: 4.0
Tested up to: 6.8.2
Stable Tag: 2.2.4
Tested up to: 6.8.3
Stable Tag: 2.2.5

Add Patreon buttons to your content and sidebars. Upgrade to Patron Plugin Pro for patron-only posts and powerful features.

Expand Down Expand Up @@ -62,6 +62,10 @@ You can report security bugs through the Patchstack Vulnerability Disclosure Pro

== Upgrade Notice ==

= 2.2.5 =

* Addressed some PHP warnings

= 2.2.4 =

* Removed unused updater code
Expand Down Expand Up @@ -221,6 +225,10 @@ You can report security bugs through the Patchstack Vulnerability Disclosure Pro

== Changelog ==

= 2.2.5 =

* Addressed some PHP warnings

= 2.2.4 =

* Removed unused updater code
Expand Down