Linux 软件免费装
Banner图

Patreon WordPress

开发者 wordpressorg@patreon.com
codebard
更新时间 2024年4月24日 01:25
PHP版本: 5.4 及以上
WordPress版本: 6.4.1
版权: GPLv2 or later
版权网址: 版权信息

标签

members membership patreon

下载

1.8.8 1.8.6 1.1.2 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.9 1.3.0 1.3.1 1.3.2 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.4.3 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0 1.5.1 1.5.2 1.5.6 1.5.7 1.5.8 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 1.7.3 1.0.1 1.8.4 1.8.5 1.2.8 1.5.3 1.5.4 1.0.3 1.3.3 1.4.4 1.5.5 1.6.7 1.7.4 1.7.5 1.7.6 1.0.2 1.1.0 1.2.6 1.7.7 1.7.8 1.7.9 1.8.0 1.8.1 1.0 1.8.2 1.3.4 1.1.1 1.8.3 1.2.7 1.8.7

详情介绍:

安装:

  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!

屏幕截图:

  • Example permission screen when a site user unlocks a post
  • Example unlocked patron-only post

升级注意事项:

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

常见问题:

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.

更新日志:

1.8.8 1.8.7 1.8.6 1.8.5 1.8.4 1.8.3 1.8.2 1.8.1 1.8.0 1.7.9 1.7.8 1.7.7 1.7.6 1.7.5 1.7.4 1.7.3 1.7.2 1.7.1 1.7.0 1.6.9 1.6.8 1.6.7 1.6.6 1.6.5 1.6.4 1.6.3 1.6.2 1.6.1 1.6.0 1.5.8 1.5.7 1.5.6 1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.5.0 1.4.9 1.4.8 1.4.7 1.4.6 1.4.5 1.4.4 1.4.3 1.4.2 1.4.1 1.4.0 1.3.9 1.3.8 1.3.7 1.3.6 1.3.5 1.3.4 1.3.3 1.3.2 1.3.1 1.3.0 1.2.9 1.2.8 1.2.7 1.2.6 1.2.5 1.2.4 1.2.3 1.2.2 1.2.1 1.2.0 1.1.2 1.1.1 1.1.0 1.0.2 1.0.1 1.0