Skip to content

Commit 9313b1b

Browse files
authored
Merge pull request #22 from codebard/2.2.2
2.2.2
2 parents 8a7df12 + 1fefedc commit 9313b1b

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Plugin Name: CodeBard's Patron Button and Widgets for Patreon
44
Plugin URI: https://wordpress.org/plugins/patron-button-and-widgets-by-codebard/
55
Description: Patreon Patron Buttons, Widgets and Patreon Functions
6-
Version: 2.2.1
6+
Version: 2.2.2
77
Author: CodeBard
88
Author URI: https://codebard.com
99
Text Domain: cb_p6

plugin/includes/default_internal_vars.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
'id' => 'cb_p6',
1111
'plugin_id' => 'patron-button-and-widgets-by-codebard',
1212
'prefix' => 'cb_p6_',
13-
'version' => '2.2.1',
13+
'version' => '2.2.2',
1414
'plugin_name' => 'CodeBard\'s Patron Button and Widgets for Patreon',
1515

1616
'callable_from_request' => array(

plugin/plugin.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ public function add_admin_menus_p()
3636

3737
}
3838
public function admin_init_p() {
39+
40+
add_action( 'admin_enqueue_scripts', array(&$this, 'enqueue_admin_scripts'));
3941

4042
// Updates are important - Add update nag if update exist
4143
add_filter( 'pre_set_site_transient_update_plugins', array(&$this, 'check_for_update' ),99 );
@@ -1495,7 +1497,7 @@ public function admin_notices_p() {
14951497
return;
14961498
}
14971499

1498-
if ( $this->opt['setup_is_being_done'] ) {
1500+
if ( isset( $this->opt['setup_is_being_done'] ) AND $this->opt['setup_is_being_done'] ) {
14991501
return;
15001502
}
15011503

readme.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Tags: patreon, widgets, crowdfunding, donations, social
77
License: GPL
88
Requires at least: 4.0
99
Tested up to: 6.4.3
10-
Stable Tag: 2.2.1
10+
Stable Tag: 2.2.2
1111

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

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

6363
== Upgrade Notice ==
6464

65+
= 2.2.2 =
66+
67+
* Fixed a PHP warning
68+
6569
= 2.2.1 =
6670

6771
* Sanitized various inputs against xss attacks

0 commit comments

Comments
 (0)