-
Notifications
You must be signed in to change notification settings - Fork 29
/
readme.txt
1132 lines (817 loc) · 65.2 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
=== Patreon WordPress ===
Contributors: patreon, codebard
Tags: patreon, membership, members
Requires at least: 4.0
Requires PHP: 7.4
Tested up to: 6.7.1
Stable tag: 1.9.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Connect your WordPress site to Patreon and increase your members and pledges!
== Description ==
Bring Patreon features to your WordPress website and make them work together. You can even easily import your existing Patreon posts and keep your Patreon posts synced to your WP site automatically! Your patron-only content at your WordPress site will encourage your visitors to become your patrons to unlock your content.
You can lock any single post or all of your posts! You can also lock any custom post type. Your visitors can log into your site via Patreon, making it easier for them to use your site in addition to accessing your locked content.
This plugin is developed and maintained by Patreon.
= FEATURES FOR CREATORS =
- Choose one of your tiers or a minimum pledge amount necessary to access a post or custom post
- All patrons with pledge at or above that minimum tier will be able to access your post
- Alternatively, you can set a minimum pledge amount to see all posts
- Visitors who are not your patrons can click the "Unlock with Patreon" button on the locked post to pledge to you and access content
- Visitors will be automatically redirected to Patreon, pledge to you and come back to your site to original unlocked post
- Plugin will automatically log in Patreon users
- Import your existing Patreon posts, with Video and images
- Sync your Patreon posts as you go
- Choose the post type, category which posts will be synced to
- Choose the author to be used for synced posts
- Your posts will be automatically updated as you add/update/delete your Patreon posts
- Set custom HTML that non-patrons see instead of the post, prompting them to become a patron
- Patreon WordPress is compatible with Paid Memberships Pro - you can gate your content with either plugin
- Patreon pledges are matched with Paid Memberships Pro monthly memberships - works out of the box with no changes
- Any Patreon patron or Paid Memberships Pro member who qualifies for content via either plugin will access content
> *<b>You can post entirely independently on your WordPress site from your Patreon page.*</b> There is no need for WordPress and Patreon posts to correspond to one another in content or in locked status. The choice is up to you as a creator.
Got ideas? Post them on our [Patreon WordPress Ideas Thread](https://www.patreondevelopers.com/t/wordpress-plugin-feature-ideas/215)
= FEATURES FOR PATRONS =
- This plugin adds a "Unlock with Patreon" button to every post you lock.
- "Unlock with Patreon" takes care of everything: whether they’re not a patron yet, or they need to upgrade their pledge, or if they are already pledging enough, the plugin will guide them through the process and back to your content
= FEATURES FOR DEVELOPERS =
- Extend this free basic WordPress plugin with your own inter-operable plugins that install side by side.
- Rapidly develop patron-only WordPress features without initial overhead
- Immediately usable by existing Patreon creators running this plugin
Learn more in our [developer portal](https://www.patreon.com/portal).
= PRICING =
This plugin is provided by Patreon for free.
= Install the Patreon WordPress Plugin =
1. Install & activate the plugin
2. The setup wizard will kick in, helping you to easily connect your WordPress site and Patreon in only two clicks
3. That's it!
Your plugin is now set up and you can start making your posts patron only!
= Gating Posts =
When posting a new post or editing an existing post (or a custom post type) you will see a dropdown in the right hand column titled "Patreon Level".
This box shows a dropdown of your Patreon tiers. When you select a Patreon tier and then update the post, visitors will need to be your patrons from that tier level or above to be able to access that post.
To make a locked post public again, just choose "Everyone" from the select box and update your post.
= Protecting Videos =
It is difficult to protect videos due the intensive bandwidth requirements of hosting video and having to rely on third parties such as Youtube or Vimeo. Youtube allows you to set videos to ‘private’ but Vimeo offers extra controls by only allowing videos to be played on specific domains. Visit this guide to [protecting your video content with Vimeo](https://help.vimeo.com/hc/en-us/articles/224817847-Privacy-settings-overview).
== Upgrade Notice ==
= 1.9.3 =
* Fixed a bug that caused the rating notice to appear constantly
= 1.9.2 =
* Added notice to ensure that the site's api version will be the correct one - calls out for action to reconnect site if its not
* Corrected the code that gets the user's patronage info and maps it to correct parameters - now it wont fail if the patronage entry does not include campaign id
* Added nonce to disconnect Patreon user account action for security
= 1.9.1 =
* An issue that made it possible to circumvent image locking by sending a specific referrer header was fixed. Now locked images should not allow circumvention of the protection via referer header
= 1.9.0 =
* Now the reconnection wizard can be used to refresh/repair the connection of the site to Patreon without having to disconnect the site even if the site connection is broken or lost
* Updated reconnection wizard info and button text to make it clear that now reconnection can be used to refresh connection or connect the site from scratch
* Updated the routing logic to update the client ids correctly in the new format for both connection and reconnection cases
* Added a Gaussian blur value filter to allow modifying the blur setting of image locking
= 1.8.9 =
* Fixed the issue with Import next batch button not working immedieatly after starting a manual post import
* Added two new cases for error messages for needing admin privileges to start manual post sync and for the case of expired nonce
* Added a Cancel button to the manual post import interface.
* Minor CSRF vulnerability fixed
= 1.8.8 =
* Minor CSRF vulnerability fixed
= 1.8.7 =
* Issue with not being able to save some options in the options page was fixed. (Post sync options etc)
* Security nonces added to various actions and forms
* Fixed a potential warning in the locked post interface
= 1.8.6 =
* Added pledge info cache. Made getUserPatronage use pledge info cache. Added code to use current_user_pledge_amount for compatibility reasons if a user is not provided and current user is being used. Fixes the bug with providing $user to getUserPatronage and still ending up with current user's pledge result instead of the provided user's.
* Added filter to allow modification of app info collection results to be used in setup wizard.
* Alt attribute added to login button (contrib from androidacy-user at Github)
* Added aria labels for screen readers for accessibility
= 1.8.5 =
* Modified lock or not filter to feed more variables to functions.
* Added and calculated relevant variables during unlock process
* Added a check for the timestamp of saved patron info
* Now uses the saved patron info if the timestamp is within 2 seconds of current Unix time and does not call the API
* Now saves the timestamp of the time when a user has returned from any Patreon flow
* getPatreonUser now checks for that timestamp in order to decide whether to call the api or not
= 1.8.4 =
* Made currency sign selection a text input instead of select
* Modified the currency sign option to be currency sign at the front of the amount
* Added a currency sign option to be used at the end of the amount
* All text updated to use the currency sign that is saved in options. $ if default.
* Added call throttling to api calls to avoid spamming of the api by zombie or faulty sites
* Added throttled-return handling to relevant functions
* Added callouts for easy access to plugin upgrade
= 1.8.3 =
* Removed declined payment related checks to match behavior to the behavior at patreon.com. Patrons should keep access until declined payment retries are completed
* Made custom page name sanitization more strict per request from WP org repo
= 1.8.2 =
* Sanitization for arbitrary text and number input fields in options form to prevent against XSS attacks.
= 1.8.1 =
* Enhanced post id detection from attachment url. This will address various issues those who are using image locking were having with smaller size thumbnails of locked images, or non locked images of smaller attachment sizes.
* Hid the PCM addon upsell notification when PP addon is active
= 1.8.0 =
* Made the post syncer not overwrite $ level if an existing post has it. This will prevent overriding of already set post tier values with.
* Added sanitization to custom page name.
= 1.7.9 =
* Adds yearly pledge support from Kyle Warneck's (https://github.com/KyleW) contribution. Now yearly patrons' pledges will be properly calculated when they attempt to see posts locked with monthly tiers
* Misplaced, duplicate but functional post import code removed.
= 1.7.8 =
* Moved the currency replacement filter to lower priority. This will always catch and properly replace any currency text that is put into the interface - by addons or custom code.
= 1.7.7 =
* Added new addon notice. Now checks if notice being shown to avoid showing the same notice twice at a page load.
= 1.7.6 =
* Important bugfix for author select dropdown for post sync in Patreon settings admin page
* Added args to get_user when constructing post author dropdown. Now only gets users down to contributor level and excludes subscribers - this will prevent problems with sites with large number of users
* Added count limit to dropdown to limit the size of the select in the case of roles from super admin to contributor having too many users.
* Args now sorts the users based on their nicename, ASC.
* Dropdown now shows user display name and nice name together.
= 1.7.5 =
* Minor bugfix in script handle for image script. Now it will not cause JS error in admin
= 1.7.4 =
* Minor bugfix for detecting attachment image id - may alleviate issue with detecting attachments in edge caching setups
= 1.7.3 =
* Corrected required PHP version in readme. It was listed as 5.7 despite being 5.4 and this was causing confusion
= 1.7.2 =
* Improved handling of pledges for patrons who have many pledges. This should address various 'Content cant be unlocked' issues.
* Sanitized input from image locking gating level modal
* Sanitized error messages returned from Patreon
= 1.7.1 =
* Fixed a bug with not being able to save post category for post sync during setup wizard
= 1.7.0 =
* Fixed a bug with post author for synced posts not being possible to set
* Added allowed toggle keys to frontend class.
* Added allowed key check to advanced options toggle function that receives ajax call.
* Added nonce to advanced options toggle form.
* Added code to transmit nonce to ajax backend function.
* Added nonce check to toggle_option receiver function.
* Fixed a bug that prevented reconnect site option from being used in Patreon Options
* Added nonce check to reconnect site option for security
* Added nonce check to disconnect site option for security
* Added nonce check to synced post category saving option for security
* Added nonce check to synced post author saving option for security
* Added a check to see if an image exists in media library before serving an image with image lock feature
* Added clarifications to errors when serving images instead of just returning. Now wp_die's out with message
* Added check to image/file locking feature to see if image/file locking is enabled before allowing use of image/file locking function
= 1.6.9 =
* Fixed an issue with post sync import not deleting expired/lost cursor when detected. Now will automatically restart post import if cursor is lost
* Added fixed/lost cursor deletion info return to the condition that checks for it
* Added front end notice to admin when fixed/lost cursor is deleted.
* Made setup wizard notice dismissable. Now admins who manually saved/updated their app details into plugin can dismiss setup wizard notice
= 1.6.8 =
* Fixed an issue with lite plan creators' patrons not being able to unlock content
* Added info to Patreon level metabox in post editor on needing to upgrade to Pro plan at Patreon to be able to use different tiers
* Added info to Patreon level metabox in post editor on how to use custom pledge input box to gate content
* Prevented 'We must connect your site to Patreon' notice from appearing to non-admin users visiting WP admin pages
= 1.6.7 =
* Added an option to override the imported posts' dates with the dates from Patreon instead of using the date which the post is imported. This will allow syncing your posts with the dates at Patreon if you choose. Defaults to off
* Made image lock button appear only when image feature is enabled
= 1.6.6 =
* Addressed an issue with imported post images being duplicated in WP sites which had 'Organize media by date' on. Images should now import normally. Next import may cause duplicate images once.
* Added an 'Auto publish public posts' option to settings
* Added an 'Auto publish patron only posts' option to settings
* Post import now uses the new auto publish options to decide whether to publish imported posts automatically or not
* Imported public and patron only posts not set to auto publish is set to 'Pending' status
= 1.6.5 =
* Addressed an issue with patrons with custom pledge not being able to access gated content due to currency differences
* Fixed double image import problem when syncing posts. Now uses image hashes to identify unique images. This will cause re-importing of images once if a full import is re-done. Deleting existing Patreon imported images and then doing full-reimport if you synced your posts before is recommended.
* Now shows WordPress, PHP, and Patreon plugins' version info in health check page.
* WP, PHP and plugin version info is added to the support info copied when 'Copy' support info is clicked
* Added a support block with above support info in copy-able form to main settings page with a link to support forum.
* Made the error logging more detailed when logging api related errors and access issues
* Now shows uuid and the caller function when logging api access errors
= 1.6.4 =
* Updated user pledge level check to work with different currencies
* User pledge level check now uses tiers and converts it to $ value to match highest local tier
* Enables currency feature compatibility for all existing installations and v1 and v2 clients
= 1.6.3 =
* Fixed an issue with connecting/reconnecting the site to Patreon using the setup wizard in Multisite installations
* Multisite network admins can now connect subsites to Patreon using the setup wizard or connect/reconnect options
* Subsite admins can now connect subsites to Patreon using the setup wizard or connect/reconnect options
* Disconnect function in multisite now works while using them as Network admins and subsite admins
* Added an exception to locked post interface text for 'Any patron' tier gated content. This fixes the 'You have to be patron of creator from $0.01 or more' issue in interface text
= 1.6.2 =
* Added image locking compatibility code for Jetpack image CDN and lazy loading
* Now tells Jetpack to not use CDN for locked images to allow proper unlocking of locked images
* Added css to turn mouse cursor into hand pointer when a locked image is hovered upon
= 1.6.1 =
* Added manual post import feature
* Start a post import section in settings now transforms to 'Ongoing post import' section when an import is started
* Start Import button transforms into 'Import next batch' button when an import is started
* Can click 'Import next batch' button to manually import next batch of posts - every 10 seconds
* Made possible to manually import all the posts by clicking 'Import next batch' button
* Info on ongoing post import and next batch import is given to in the status section under the setting
* Transforms the setting section to original 'Start a post import' version from 'Ongoing post import' version
* Works alongside automatic import
= 1.6.0 =
* Fixed an issue with image importing stopping post sync
* Fixed an issue with images not being imported properly
* Fixed an issue with saving settings stopping ongoing post import
* Now sets featured image for imported posts properly
* Now uses unique indicator at Patreon cdn to identify and import images
* Now marks images in imported patron only posts as patron only. Requires image lock feature to be active to take effect
* Now uses DOM to detect images in imported post content
= 1.5.8 =
* Fixed an issue with image importing when syncing posts. Images should now import properly.
* Now uses image's Patreon unique id when importing the image. This will allow accurate import of images. May re-import some images.
* Added option to auto-set featured image for imported/synced post from within the images inside the post.
* Added checks to disable post sync functions if site is using api v1
* Added warning to post import section and post import function about upgrading to api v2 to use post sync
* Added admin notification to warn about using post sync with apiv1
= 1.5.7 =
* Added disconnect feature to allow disconnecting the Patreon account connected to local WP account
* Users can disconnect their Patreon accounts from their profile page
* Users can connect their Patreon accounts from their WP profile page
* Admins can disconnect any user's Patreon account from tat user's WP profile page
* Admins cant reconnect another user's Patreon account
* Conditional text for users and admins in connect/disconnect interface
* Added conditional warning to post sync wizard screen to show for installations that still use API v1 about post sync requiring API v2 and v1 causing errors
* Added conditional warning to options about post sync requiring api v2
* Linked to guide from post sync api v2 requirement warnings
* Fixed minor PHP warnings which appeared when a v1 site was not able to connect to v2 during setup
= 1.5.6 =
* Plugin now syncs posts from Patreon to WP site
* Added support for syncing text, video (Youtube, Vimeo), link post types at Patreon. These posts are replicated exactly as they are
* All other post types at Patreon are currently synced with their title and content only
* Gets proper embed info for video posts from Youtube and Vimeo and embeds into proper place in post content
* All images in any given post type is replicated to local media library and inserted into proper places in post content from WP media library
* Syncs patron only status of posts. Tiers currently not supported.
* Syncs paid per post type posts' patron only status
* Added post import functions
* Added Patreon cron job to import posts in the background
* Hooked post import function to Patreon cron job
* Cron job checks if an import is going on and processes the next batch of posts as needed. Currently 20 posts per every 5 minutes
* Added webhooks to sync newly added posts, deleted posts and updated posts without needing to start a post import
* Added intermediary screen to setup wizard to set post import preferences during initial plugin setup
* Intermediary setup wizard screen allows setting of post sync preferences for update/delete, post type and category
* Intermediary setup wizard screen starts an immediate post import if the user chooses to sync posts
* Added options to manage post sync - turn post sync on/off, set updating posts on/off, set deleting posts on/off
* Added options to set which post type and category (or taxonomy) the synced posts should be added
* Added option to set the author to be used for imported posts
* Added an option to start a manual import
* Added status indicators for import progress to option screen
* Made it possible to do manual import of posts without turning on syncing
* Made it possible to unlock PW only gated content with a PMP membership from the same $ level
* Combined category/taxonomy setting code to simpler wp_set_object_terms
* Various bugs about creating/inserting into new category/terms fixed. JS adjusted accordingly.
= 1.5.5 =
* Added no cache headers to gated/locked images so browsers and ISPs will be less prone to caching them. This would address issues with images appearing locked/unlocked despite being in the opposite state.
* Added an option to allow hiding login with Patreon button in WP login page and login forms. Does not impact login - users can still unlock/login via Patreon even if the button is hidden.
* Added caching to getPatreonUser function. Will cache last 50 Patreon users' info when queried. This will speed up user listings and will reduce load on the api.
* getPatreonUser function now accepts $user object as parameter. You can now query different users' Patreon info as opposed to only the current user. This will help custom code and 3rd party plugins to do mass user processing to distribute benefits at WP sites.
= 1.5.4 =
* Made active patrons only choice desc text clearer
* Added a isset check to prevent notices from breaking login after return from Patreon in sites which display notices
= 1.5.3 =
* Added an override to set api version to 2 after return from connect/reconnect attempt at Patreon to address potential parse errors on v1 sites
* Added override now loads v2 version of api class
* Added overrides to set api version to 2 upon successful return from connect/reconnect attempt at Patreon
* Removed is_admin condition in api class loader's version overrides
= 1.5.2 =
* Added short term local copy of remote patron info to getPatreonUser function to help with temporary api connection issues
* Patron info is saved when user logins to WP site via Patreon
* Made getPatreonUser function try to refresh the token if token error was received from Patreon
* getPatreonUser function now falls back to the local copy if fresh info cannot be acquired from the api
* getPatreonUser function checks for validity of local patron info. Validity period is 3 days
= 1.5.1 =
* You can now set the currency that is shown on gated posts by setting the option in plugin settings
* Added an admin pointer to inform about PMP compatibility
= 1.5.0 =
* Patreon WordPress is now compatible with Paid Memberships Pro
* Both plugins cooperate over monthly membership and monthly pledge formats
* Paid Memberships Pro gated content can be unlocked via Patreon if user has qualifying pledge level that matches PMP gated content
* Patreon gated content can be unlocked by a matching PMP membership level
* Content gated by both PW and PMP can be unlocked by qualifying pledge from Patreon that matches the Patreon pledge
* Content gated by both PW and PMP can be unlocked by qualifying tier membership from PMP that matches the PMP tier
* Made the setup wizard erase v1 related labels from options to allow old v1 sites use v2 setup wizard to reconnect their site to Patreon
= 1.4.9 =
* Image lock toolbar now appears when an image in Gutenberg editor is clicked
* Reworked image lock interface to be unfirom across both desktop and mobile devices
* Image lock interface now warns if image lock is saved without image lock feature being enabled in site
* Made image lock toolbar disappear properly when anything that is not an image is clicked
* Image lock toolbar launch code adjusted to work for Classic editor and Gutenberg at the same time
* Image lock toolbar now finds the image's attachment id via attachment url instead of determining it via class name
= 1.4.8 =
* Minor fix to force update tiers from API when tier dropdown refresh button is clicked
= 1.4.7 =
* Added a refresh button next to tier dropdown in post editor. Allows manual refresh of tiers from Patreon without leaving post editor
* Removed forced auto-refreshing of tiers from Patreon when loading post editor
= 1.4.6 =
* Made variables that hold subclasses public instead of private to allow custom site mods and 3rd party plugins to be able to use them
* Turned subclass includers to include_once to allow custom site mods and 3rd party plugins to include and use them if needed
* Made subclass variable names uniform
* Subclass variable name which had the word patron instead of patreon was fixed. Lowercase
* Retry links in site disconnect and reconnect error messages fixed. They were pointing to disposable test site
= 1.4.5 =
* Added a simple way for hiding ads using a single function. This will allow creators to hide ads for their patrons in any part of their WP site
* Added a login widget that site admins can put in the sidebar or other widget areas of their site. It allows users to login via Patreon, and shows 'Connect your Patreon' version of the login button for WP users who dont have a connected Patreon account. Allows optional message and also shows a logout link.
* Made [patreon_login_button] shortcode allow connecting one's Patreon account if logged in. Shows 'Connect your Patreon' version in such cases
* Added a 'Connect your Patreon' button
* Patreon_Frontend::showPatreonLoginButton function now shows alternative 'Connect your Patreon' version of login image in all login forms
* Patreon_Frontend::showPatreonLoginButton now accepts args
* Patreon_Frontend::showPatreonLoginButton now allows override of login image via args
* Added parameters to make_tiers_select function to allow skipping updating creator tiers from Patreon via arguments
= 1.4.4 =
* Added a simple way for custom gating any part of a WP site using a single function. This will allow easier gating of any part of a site via theme files.
* Removed the formerly required 'patreon_enable_direct_unlocks' global var requirement for custom gating since now its not needed.
* Added a 'Connect site' button to show when all Patreon connection detail fields are empty. This will allow reconnecting sites to Patreon using connection wizard.
= 1.4.3 =
* Added compatbility for WP Fastest Cache - now plugin will tell WP Fastest Cache to not serve a post/page from cache if the post/page is a gated one. This should make content unlocking process for patrons better in sites using WP Fastest Cache
= 1.4.2 =
* Updated gated post interface text to be more informative. Now non-qualifying patrons should see the reason why they dont qualify for access to a gated post
* Fixed a minor PHP notice that non-patron Patreon users saw when they viewed a gated post after logging into WP site via Patreon
= 1.4.1 =
* Post meta saving code simplified
* Help link updated
* Credential check after credential save got minor enhancements
* Set a default email to make sure email check fails when a user doesnt have an email verified at Patreon
* A notice that appeared during plugin update check was fixed
* A duplicate state var was removed
= 1.4.0 =
Added no-cache HTTP header to prevent caching of gated content
More efficient and smooth addition/removal of image locking feature related htaccess rules
Universal deactivate function
Rewrite rules flushed upon activate/deactivate
Added filter for raw text of label over interface button
= 1.3.9 =
PW now prevents caching of gated content to make sure unlocked content unlocks
= 1.3.8 =
Added a health check page that allows you to see the health of your Patreon integration
= 1.3.7 =
Minor internal feature update
== Installation ==
1. Install & activate the plugin
2. The setup wizard will kick in, helping you to easily connect your WordPress site and Patreon in only two clicks
3. That's it!
== Screenshots ==
1. An example gated patron-only post
2. Example permission screen when a site user unlocks a post
3. Example unlocked patron-only post
== Frequently Asked Questions ==
= Does it work with any theme? =
Patreon WordPress works with any theme.
= Does it work with this particular plugin? =
Patreon WordPress should not affect functioning of any of your other plugins. Patreon WordPress sticks to WP coding standards and would play nice with any other plugin that does the same.
= Does it work with this particular membership plugin? =
Yes, you can use Patreon WordPress side by side with any other membership plugin.
= Does it work with WooCommerce? =
You can easily install and use Patreon WordPress alongside WooCommerce at the same time.
= Do my patrons get charged again if they unlock a post on my site? =
Your patrons do not get charged again if they unlock any post on your site via the 'Unlock with Patreon' button. The plugin just checks if they are qualifying patrons, and if so, it lets them access your content.
= Do my posts at my site and Patreon need to be the same? =
Not at all - you can post different content totally independently at your site and Patreon.
= Will anything be changed at my site after I install the plugin? =
Nothing will be changed at your site - the plugin will just connect your site to Patreon to allow communication in between your site and Patreon.
= How can I report security bugs? =
You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team help validate, triage and handle any security vulnerabilities. [Report a security vulnerability.](https://patchstack.com/database/vdp/patreon-connect)
== Changelog ==
= 1.9.3 =
* Fixed a bug that caused the rating notice to appear constantly
= 1.9.2 =
* Added notice to ensure that the site's api version will be the correct one - calls out for action to reconnect site if its not
* Corrected the code that gets the user's patronage info and maps it to correct parameters - now it wont fail if the patronage entry does not include campaign id
* Added nonce to disconnect Patreon user account action for security
= 1.9.1 =
* An issue that made it possible to circumvent image locking by sending a specific referrer header was fixed. Now locked images should not allow circumvention of the protection via referer header
= 1.9.0 =
* Now the reconnection wizard can be used to refresh/repair the connection of the site to Patreon without having to disconnect the site even if the site connection is broken or lost
* Updated reconnection wizard info and button text to make it clear that now reconnection can be used to refresh connection or connect the site from scratch
* Updated the routing logic to update the client ids correctly in the new format for both connection and reconnection cases
* Added a Gaussian blur value filter to allow modifying the blur setting of image locking
= 1.8.9 =
* Fixed the issue with Import next batch button not working immedieatly after starting a manual post import
* Added two new cases for error messages for needing admin privileges to start manual post sync and for the case of expired nonce
* Added a Cancel button to the manual post import interface.
= 1.8.8 =
* Minor CSRF vulnerability fixed
= 1.8.7 =
* Issue with not being able to save some options in the options page was fixed. (Post sync options etc)
* Security nonces added to various actions and forms
* Fixed a potential warning in the locked post interface
= 1.8.6 =
* Added pledge info cache. Made getUserPatronage use pledge info cache. Added code to use current_user_pledge_amount for compatibility reasons if a user is not provided and current user is being used. Fixes the bug with providing $user to getUserPatronage and still ending up with current user's pledge result instead of the provided user's.
* Added filter to allow modification of app info collection results to be used in setup wizard.
* Alt attribute added to login button (contrib from androidacy-user at Github)
* Added aria labels for screen readers for accessibility
= 1.8.5 =
* Modified lock or not filter to feed more variables to functions.
* Added and calculated relevant variables during unlock process
* Added a check for the timestamp of saved patron info
* Now uses the saved patron info if the timestamp is within 2 seconds of current Unix time and does not call the API
* Now saves the timestamp of the time when a user has returned from any Patreon flow
* getPatreonUser now checks for that timestamp in order to decide whether to call the api or not
= 1.8.4 =
* Made currency sign selection a text input instead of select
* Modified the currency sign option to be currency sign at the front of the amount
* Added a currency sign option to be used at the end of the amount
* All text updated to use the currency sign that is saved in options. $ if default.
* Added call throttling to api calls to avoid spamming of the api by zombie or faulty sites
* Added throttled-return handling to relevant functions
* Added callouts for easy access to plugin upgrade
= 1.8.3 =
* Removed declined payment related checks to match behavior to the behavior at patreon.com. Patrons should keep access until declined payment retries are completed
* Made custom page name sanitization more strict per request from WP org repo
= 1.8.2 =
* Sanitization for arbitrary text and number input fields in options form to prevent against XSS attacks.
= 1.8.1 =
* Enhanced post id detection from attachment url. This will address various issues those who are using image locking were having with smaller size thumbnails of locked images, or non locked images of smaller attachment sizes.
* Hid the PCM addon upsell notification when PP addon is active
= 1.8.0 =
* Made the post syncer not overwrite $ level if an existing post has it. This will prevent overriding of already set post tier values with.
* Added sanitization to custom page name.
= 1.7.9 =
* Adds yearly pledge support from Kyle Warneck's (https://github.com/KyleW) contribution. Now yearly patrons' pledges will be properly calculated when they attempt to see posts locked with monthly tiers
* Misplaced, duplicate but functional post import code removed.
= 1.7.8 =
* Moved the currency replacement filter to lower priority. This will always catch and properly replace any currency text that is put into the interface - by addons or custom code.
= 1.7.7 =
* Added new addon notice. Now checks if notice being shown to avoid showing the same notice twice at a page load.
= 1.7.6 =
* Important bugfix for author select dropdown for post sync in Patreon settings admin page
* Added args to get_user when constructing post author dropdown. Now only gets users down to contributor level and excludes subscribers - this will prevent problems with sites with large number of users
* Added count limit to dropdown to limit the size of the select in the case of roles from super admin to contributor having too many users.
* Args now sorts the users based on their nicename, ASC.
* Dropdown now shows user display name and nice name together.
= 1.7.5 =
* Minor bugfix in script handle for image script. Now it will not cause JS error in admin
= 1.7.4 =
* Minor bugfix for detecting attachment image id - may alleviate issue with detecting attachments in edge caching setups
= 1.7.3 =
* Corrected required PHP version in readme. It was listed as 5.7 despite being 5.4 and this was causing confusion
= 1.7.2 =
* Improved handling of pledges for patrons who have many pledges. This should address various 'Content cant be unlocked' issues.
* Sanitized input from image locking gating level modal
* Sanitized error messages returned from Patreon
= 1.7.1 =
* Fixed a bug with not being able to save post category for post sync during setup wizard
= 1.7.0 =
* Fixed a bug with post author for synced posts not being possible to set
* Added allowed toggle keys to frontend class.
* Added allowed key check to advanced options toggle function that receives ajax call.
* Added nonce to advanced options toggle form.
* Added code to transmit nonce to ajax backend function.
* Added nonce check to toggle_option receiver function.
* Fixed a bug that prevented reconnect site option from being used in Patreon Options
* Added nonce check to reconnect site option for security
* Added nonce check to disconnect site option for security
* Added nonce check to synced post category saving option for security
* Added nonce check to synced post author saving option for security
* Added a check to see if an image exists in media library before serving an image with image lock feature
* Added clarifications to errors when serving images instead of just returning. Now wp_die's out with message
* Added check to image/file locking feature to see if image/file locking is enabled before allowing use of image/file locking function
= 1.6.9 =
* Fixed an issue with post sync import not deleting expired/lost cursor when detected. Now will automatically restart post import if cursor is lost
* Added fixed/lost cursor deletion info return to the condition that checks for it
* Added front end notice to admin when fixed/lost cursor is deleted.
* Made setup wizard notice dismissable. Now admins who manually saved/updated their app details into plugin can dismiss setup wizard notice
= 1.6.8 =
* Fixed an issue with lite plan creators' patrons not being able to unlock content
* Added info to Patreon level metabox in post editor on needing to upgrade to Pro plan at Patreon to be able to use different tiers
* Added info to Patreon level metabox in post editor on how to use custom pledge input box to gate content
* Prevented 'We must connect your site to Patreon' notice from appearing to non-admin users visiting WP admin pages
= 1.6.7 =
* Added an option to override the imported posts' dates with the dates from Patreon instead of using the date which the post is imported. This will allow syncing your posts with the dates at Patreon if you choose. Defaults to off
* Made image lock button appear only when image feature is enabled
= 1.6.6 =
* Addressed an issue with imported post images being duplicated in WP sites which had 'Organize media by date' on. Images should now import normally. Next import may cause duplicate images once.
* Added an 'Auto publish public posts' option to settings
* Added an 'Auto publish patron only posts' option to settings
* Post import now uses the new auto publish options to decide whether to publish imported posts automatically or not
* Imported public and patron only posts not set to auto publish is set to 'Pending' status
= 1.6.5 =
* Addressed an issue with patrons with custom pledge not being able to access gated content due to currency differences
* Fixed double image import problem when syncing posts. Now uses image hashes to identify unique images. This will cause re-importing of images once if a full import is re-done. Deleting existing Patreon imported images and then doing full-reimport if you synced your posts before is recommended.
* Now shows WordPress, PHP, and Patreon plugins' version info in health check page.
* WP, PHP and plugin version info is added to the support info copied when 'Copy' support info is clicked
* Added a support block with above support info in copy-able form to main settings page with a link to support forum.
* Made the error logging more detailed when logging api related errors and access issues
* Now shows uuid and the caller function when logging api access errors
= 1.6.4 =
* Updated user pledge level check to work with different currencies
* User pledge level check now uses tiers and converts it to $ value to match highest local tier
* Enables currency feature compatibility for all existing installations and v1 and v2 clients
= 1.6.3 =
* Fixed an issue with connecting/reconnecting the site to Patreon using the setup wizard in Multisite installations
* Multisite network admins can now connect subsites to Patreon using the setup wizard or connect/reconnect options
* Subsite admins can now connect subsites to Patreon using the setup wizard or connect/reconnect options
* Disconnect function in multisite now works while using them as Network admins and subsite admins
* Added an exception to locked post interface text for 'Any patron' tier gated content. This fixes the 'You have to be patron of creator from $0.01 or more' issue in interface text
= 1.6.2 =
* Added image locking compatibility code for Jetpack image CDN and lazy loading
* Now tells Jetpack to not use CDN for locked images to allow proper unlocking of locked images
* Added css to turn mouse cursor into hand pointer when a locked image is hovered upon
= 1.6.1 =
* Added manual post import feature
* Start a post import section in settings now transforms to 'Ongoing post import' section when an import is started
* Start Import button transforms into 'Import next batch' button when an import is started
* Can click 'Import next batch' button to manually import next batch of posts - every 10 seconds
* Made possible to manually import all the posts by clicking 'Import next batch' button
* Info on ongoing post import and next batch import is given to in the status section under the setting
* Transforms the setting section to original 'Start a post import' version from 'Ongoing post import' version
* Works alongside automatic import
= 1.6.0 =
* Fixed an issue with image importing stopping post sync
* Fixed an issue with images not being imported properly
* Fixed an issue with saving settings stopping ongoing post import
* Now sets featured image for imported posts properly
* Now uses unique indicator at Patreon cdn to identify and import images
* Now marks images in imported patron only posts as patron only. Requires image lock feature to be active to take effect
* Now uses DOM to detect images in imported post content
= 1.5.8 =
* Fixed an issue with image importing when syncing posts. Images should now import properly.
* Now uses image's Patreon unique id when importing the image. This will allow accurate import of images. May re-import some images.
* Added option to auto-set featured image for imported/synced post from within the images inside the post.
* Added checks to disable post sync functions if site is using api v1
* Added warning to post import section and post import function about upgrading to api v2 to use post sync
* Added admin notification to warn about using post sync with apiv1
= 1.5.7 =
* Added disconnect feature to allow disconnecting the Patreon account connected to local WP account
* Users can disconnect their Patreon accounts from their profile page
* Users can connect their Patreon accounts from their WP profile page
* Admins can disconnect any user's Patreon account from tat user's WP profile page
* Admins cant reconnect another user's Patreon account
* Conditional text for users and admins in connect/disconnect interface
* Added conditional warning to post sync wizard screen to show for installations that still use API v1 about post sync requiring API v2 and v1 causing errors
* Added conditional warning to options about post sync requiring api v2
* Linked to guide from post sync api v2 requirement warnings
* Fixed minor PHP warnings which appeared when a v1 site was not able to connect to v2 during setup
= 1.5.6 =
* Plugin now syncs posts from Patreon to WP site
* Added support for syncing text, video (Youtube, Vimeo), link post types at Patreon. These posts are replicated exactly as they are
* All other post types at Patreon are currently synced with their title and content only
* Gets proper embed info for video posts from Youtube and Vimeo and embeds into proper place in post content
* All images in any given post type is replicated to local media library and inserted into proper places in post content from WP media library
* Syncs patron only status of posts. Tiers currently not supported.
* Syncs paid per post type posts' patron only status
* Added post import functions
* Added Patreon cron job to import posts in the background
* Hooked post import function to Patreon cron job
* Cron job checks if an import is going on and processes the next batch of posts as needed. Currently 20 posts per every 5 minutes
* Added webhooks to sync newly added posts, deleted posts and updated posts without needing to start a post import
* Added intermediary screen to setup wizard to set post import preferences during initial plugin setup
* Intermediary setup wizard screen allows setting of post sync preferences for update/delete, post type and category
* Intermediary setup wizard screen starts an immediate post import if the user chooses to sync posts
* Added options to manage post sync - turn post sync on/off, set updating posts on/off, set deleting posts on/off
* Added options to set which post type and category (or taxonomy) the synced posts should be added
* Added option to set the author to be used for imported posts
* Added an option to start a manual import
* Added status indicators for import progress to option screen
* Made it possible to do manual import of posts without turning on syncing
* Made it possible to unlock PW only gated content with a PMP membership from the same $ level
* Combined category/taxonomy setting code to simpler wp_set_object_terms
* Various bugs about creating/inserting into new category/terms fixed. JS adjusted accordingly.
= 1.5.5 =
* Added no cache headers to gated/locked images so browsers and ISPs will be less prone to caching them. This would address issues with images appearing locked/unlocked despite being in the opposite state.
* Added an option to allow hiding login with Patreon button in WP login page and login forms. Does not impact login - users can still unlock/login via Patreon even if the button is hidden.
* Added caching to getPatreonUser function. Will cache last 50 Patreon users' info when queried. This will speed up user listings and will reduce load on the api.
* getPatreonUser function now accepts $user object as parameter. You can now query different users' Patreon info as opposed to only the current user. This will help custom code and 3rd party plugins to do mass user processing to distribute benefits at WP sites.
= 1.5.4 =
* Made active patrons only choice desc text clearer
* Added a isset check to prevent notices from breaking login after return from Patreon in sites which display notices
= 1.5.3 =
* Added an override to set api version to 2 after return from connect/reconnect attempt at Patreon to address potential parse errors on v1 sites
* Added override now loads v2 version of api class
* Added overrides to set api version to 2 upon successful return from connect/reconnect attempt at Patreon
* Removed is_admin condition in api class loader's version overrides
= 1.5.2 =
* Added short term local copy of remote patron info to getPatreonUser function to help with temporary api connection issues
* Patron info is saved when user logins to WP site via Patreon
* Made getPatreonUser function try to refresh the token if token error was received from Patreon
* getPatreonUser function now falls back to the local copy if fresh info cannot be acquired from the api
* getPatreonUser function checks for validity of local patron info. Validity period is 3 days
= 1.5.1 =
* You can now set the currency that is shown on gated posts by setting the option in plugin settings
* Added an admin pointer to inform about PMP compatibility
= 1.5.0 =
* Patreon WordPress is now compatible with Paid Memberships Pro
* Both plugins cooperate over monthly membership and monthly pledge formats
* Paid Memberships Pro gated content can be unlocked via Patreon if user has qualifying pledge level that matches PMP gated content
* Patreon gated content can be unlocked by a matching PMP membership level
* Content gated by both PW and PMP can be unlocked by qualifying pledge from Patreon that matches the Patreon pledge
* Content gated by both PW and PMP can be unlocked by qualifying tier membership from PMP that matches the PMP tier
* Made the setup wizard erase v1 related labels from options to allow old v1 sites use v2 setup wizard to reconnect their site to Patreon
= 1.4.9 =
* Image lock toolbar now appears when an image in Gutenberg editor is clicked
* Reworked image lock interface to be unfirom across both desktop and mobile devices
* Image lock interface now warns if image lock is saved without image lock feature being enabled in site
* Made image lock toolbar disappear properly when anything that is not an image is clicked
* Image lock toolbar launch code adjusted to work for Classic editor and Gutenberg at the same time
* Image lock toolbar now finds the image's attachment id via attachment url instead of determining it via class name
= 1.4.8 =
* Minor fix to force update tiers from API when tier dropdown refresh button is clicked
= 1.4.7 =
* Added a refresh button next to tier dropdown in post editor. Allows manual refresh of tiers from Patreon without leaving post editor
* Removed forced auto-refreshing of tiers from Patreon when loading post editor
= 1.4.6 =
* Made variables that hold subclasses public instead of private to allow custom site mods and 3rd party plugins to be able to use them
* Turned subclass includers to include_once to allow custom site mods and 3rd party plugins to include and use them if needed
* Made subclass variable names uniform
* Subclass variable name which had the word patron instead of patreon was fixed. Lowercase
* Retry links in site disconnect and reconnect error messages fixed. They were pointing to disposable test site
= 1.4.5 =
* Added a simple way for hiding ads using a single function. This will allow creators to hide ads for their patrons in any part of their WP site
* Added a login widget that site admins can put in the sidebar or other widget areas of their site. It allows users to login via Patreon, and shows 'Connect your Patreon' version of the login button for WP users who dont have a connected Patreon account. Allows optional message and also shows a logout link.
* Made [patreon_login_button] shortcode allow connecting one's Patreon account if logged in. Shows 'Connect your Patreon' version in such cases
* Added a 'Connect your Patreon' button
* Patreon_Frontend::showPatreonLoginButton function now shows alternative 'Connect your Patreon' version of login image in all login forms
* Patreon_Frontend::showPatreonLoginButton now accepts args
* Patreon_Frontend::showPatreonLoginButton now allows override of login image via args
* Added parameters to make_tiers_select function to allow skipping updating creator tiers from Patreon via arguments
= 1.4.4 =
* Added a simple way for custom gating any part of a WP site using a single function. This will allow easier gating of any part of a site via theme files.
* Removed the formerly required 'patreon_enable_direct_unlocks' global var requirement for custom gating since now its not needed.
* Added a 'Connect site' button to show when all Patreon connection detail fields are empty. This will allow reconnecting sites to Patreon using connection wizard.
= 1.4.3 =
* Added compatbility for WP Fastest Cache - now plugin will tell WP Fastest Cache to not serve a post/page from cache if the post/page is a gated one. This should make content unlocking process for patrons better in sites using WP Fastest Cache
= 1.4.2 =
* Updated gated post interface text to be more informative. Now non-qualifying patrons should see the reason why they dont qualify for access to a post
* Fixed a minor PHP notice that non-patron Patreon users saw when they viewed a gated post after logging into WP site via Patreon
= 1.4.1 =
* Post meta saving code simplified
* Help link updated
* Credential check after credential save got minor enhancements
* Set a default email to make sure email check fails when a user doesnt have an email verified at Patreon
* A notice that appeared during plugin update check was fixed
* A duplicate state var was removed
= 1.4.0 =
* Added no-cache HTTP header to prevent caching of gated content
* More efficient and smooth addition/removal of image locking feature related htaccess rules
* Universal deactivate function
* Rewrite rules flushed upon activate/deactivate
* Added filter for raw text of label over interface button
= 1.3.9 =
* Plugin will now try preventing caching of gated content. This will help users to access the content they unlocked instead of still seeing the cached locked version. Has option to turn on/off
* Added admin pointers to help users navigate plugin related info
* Added admin pointer for new cache option
* Formatted gated content feed items to have proper html
* Fixed WP 5.3 causing add_submenu_page parameter notice
= 1.3.8 =
* Added a health check page that shows the health of Patreon integration
* Added compatibility checks for permalink settings and WP Super Cache settings
* Critical issues with the integration are shown in dismissable notice that shows up on a 7 day basis when dismissed
* Removed the transitional image locking option check code now that it is not needed
= 1.3.7 =
* Readme updated, screenshots added, Faq added
* Made __get_json function and token var in API class public so 3rd party addons and class extenders can access and use them
= 1.3.6 =
* Allowed existing sites using v1 to upgrade to v2 by using reconnect/disconnect/setup functions. This also fixes the PHP error these sites may have encountered if they attempted that upgrade.
= 1.3.5 =
* Addressed various PHP warnings and notices which may have appeared in websites that have warnings and notices turned on
* Fixed missing default app icon
= 1.3.4 =
* Gated post interface now shows refresh link to non logged in visitors. This allows existing patrons to easily refresh the content or login as opposed to being sent to plegdge flow
* Updated interface message that is shown to non-qualifying patrons. These patrons will now be shown a message asking them to ugprade their tier as opposed to just showing them the default message.
* Added 2 links to setup wizard to allow creators to easily log in or register at Patreon as a creator before starting setup
* Added utm params to existing links
= 1.3.3 =
* Added Reconnection feature to allow reconnection of site to Patreon to refresh API connection
* Updated creator access token refresh logic to start trying token refresh a week before expiration to prevent service disruptions
* Fixed an issue where creator profile url would go to 404 if vanity url was not being used
* Added an admin page to show messages/errors to admins during flows or other backend procedures
= 1.3.2 =
* Corrected the valid patron footer to use proper Patreon page name or custom Patreon page name
* Added utm parameters to Patreon page link in text over interface and valid patron footer
= 1.3.1 =
* Added error messages and setup re-initiation for 3 cases in which the site may not have been able to connect to Patreon
* Made disconnect button hide itself if any of credentials is missing or empty string
= 1.3.0 =
* Fixed an issue with some PHP versions crashing with error when tier descriptions are considerably formatted
= 1.2.9 =
* Easy setup wizard which allows new installations to easily connect to Patreon added.
* Setup wizard kicks in after activation.
* Informative links to answer questions about integration added to first screen of setup wizard.
* Quickstart, addons info added to setup wizard success screen
* All new installs will be using API v2 from now on
* Existing installations should work with API v2 normally without disruption
* Revamped API connection settings section in options.
* Connection settings in options now hidden in a toggle.
* Disconnect feature added to connection settings to allow disconnecting creator account from a site. This will allow disconnecting a site from a creator account and connecting it to another.
* A bug with saving creator tiers with largely formatted description was fixed. Tiers should now be pulled properly for such creators.
* Mailing list notice removed.
= 1.2.8 =
* Removed unused input parameters from a function - this should fix PHP warnings and other issues at some sites
= 1.2.7 =
* Locked posts now show your Patreon page name instead of full name. Added an option in settings to override the page/creator name. The order for deciding what name to show is as follows: Custom name if set in settings -> Patreon page name if exists -> First name -> 'this creator' default text if all fails.
= 1.2.6 =
* Minor bugfix for tier selection box not loading on some installations - this version will force refreshing of admin js to force tier box to load
= 1.2.5 =
* PW now allows you to lock your posts by your Patreon tiers
* $ based lock input field moved to advanced toggle
* Relevant Patreon tier now shows in locked posts instead of $ amount
* There is now a link to creator's Patreon profile in locked posts
* Notices revamped. Repeating update notice removed for compatibility with upcoming WP org rule. All notices permanently dismissable.
* One time addon info notice added to inform about Patron Pro addon
* Some undefined index notices fixed
* Beta string added to user string in API calls to be used for betas
= 1.2.4 =
* Plugin now automatically acquires Patreon avatar of Patreon users and uses it if they dont already have an avatar