You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -152,10 +157,16 @@ public function setup_languages_p()
152
157
$this->opt=$current_options;
153
158
154
159
}
155
-
publicfunctionactivate_p()
160
+
publicfunctionactivate_p()
156
161
{
157
-
162
+
// Not setting the default return to 0 like the one in init check here because we dont want to overwrite the value 0 for installs existing at the date this code was implemented
// Checks if plugin first activation date is saved for existing installs. Its here for backwards compatibility for existing installs before this version (2.1.1), and in case this meta info is lost in the db for any reason
if ( isset( $_REQUEST['page'] ) AND$_REQUEST['page'] == 'patreon_wordpress_setup_wizard' ) {
1494
+
return;
1495
+
}
1496
+
1497
+
if ( $this->opt['setup_is_being_done'] ) {
1498
+
return;
1499
+
}
1500
+
1501
+
// Wp org wants non-error / non-functionality related notices to be shown infrequently and one per admin-wide page load, and be dismissable permanently.
// Sets the last non system notice shown date to now whenever called. Used for decicing when to show admin wide notices that are not related to functionality.
// Sets the last non system notice shown date to now whenever called. Used for decicing when to show admin wide notices that are not related to functionality.
Patreon Button and Plugin allows you to add Patreon Buttons to your content and sidebars, along with offering other Patreon functions. Upgradable to Patron Plugin Pro with patron-only posts and powerful features.
13
13
@@ -25,7 +25,7 @@ In addition, all authors will be able to add their own Patreon username in their
25
25
26
26
More features are planned as they become available in Patreon API.
27
27
28
-
You can upgrade to Patron Plugin Pro and enable powerful content-locking options to serve Patron only content from your own website! Patron Plugin Pro will also allow you to put your patrons directly to patron pipeline instead of your profile. Check it out below:
28
+
You can upgrade to Patron Plugin Pro, add the Patron Content Manager addon and enable powerful content-locking options to serve Patron only content from your own website! Patron Plugin Pro will also allow you to put your patrons directly to patron pipeline instead of your profile. Check it out below:
29
29
30
30
https://codebard.com/patron-plugin-pro
31
31
@@ -59,6 +59,12 @@ To be updated
59
59
60
60
== Changelog ==
61
61
62
+
= 2.1.1 =
63
+
64
+
* Added a notice system. Adjusted notices to show 30 days after last notice is shown. Made notices appear in sequential order. Separated system notices and non system notices. Notices are permanently dismissable.
65
+
* Made plugin save time of activation when activated
66
+
* Added notice for new Patreon plugin
67
+
62
68
= 2.1.0 =
63
69
64
70
* Updated update_usermeta to update_user_meta to address warnings
0 commit comments