Plugin Name: Pro Sites Author: WPMU DEV Change Log: ---------------------------------------------------------------------- ---------------------------------------------------------------------- 3.6.1 - 13/03/2019 *Added: - Card update form for Stripe customers. - New setting to log the Stripe errors to error log. - Responsive pricing tables. - New action & filter hooks (pro_sites_email_notification) for email notifications. *Updated: - Updated Stripe library. - Updated checkout screen for Stripe. - Log webhook event id for easier debugging. - Do not log unwanted webhook events to site meta. - Do not cancel subscriptions immediately unless the site is deleted. - Remove deprecated functions. - Minimum PHP version is updated to 5.4. 3.6.0 - 15/01/2019 *Added: - DB upgrade for older installations. - Show site title and URL on free sites. *Fixed: - Conflict with NBT template selection. - Payment receipt email not being sent. - Wrong password in the email when a site is manually activated. - Wrong trial period length when using Manual payments. - Wrong admin URL for the additional registrations. - GDPR checkbox disappears in the signup form. - XML-RPC not working on subsites. - Pay To Blog module blocks Free level. - Missing translation strings. - Conflicts with PHP 7.0+. 3.5.9.3 - 26/06/2018 *Added: - Added Indian Rupee support to PayPal. *Fixed: - Stripe API error. - Trial period continues to be doubled. 3.5.9.2 - 05/06/2018 *Fixed: - Unable to signup when GDPR Privacy Policy page is not set. - Fatal error on PHP 5.2. 3.5.9.1 - 04/06/2018 *Added: - Added GDPR personal data export. - Added GDPR personal data eraser. - Added GDPR message to privacy page. *Fixed: - Blog ID value was passed as a string instead of int. - DOM error on pricing table page. *Updated: - Taxamo Information updated. 3.5.9 - 02/02/2018 *Updated: - Improved subscriber information for Stripe. *Fixed: - Unable to remove Pro Sites status manually. - Coupon discount was not showing in account history log. - Stripe errors after cancellation. - Pro Sites no longer upgrading after receiving payment. - Tax.js was loading by default even if it was disabled. - Level and period values were not set on PayPal checkout form. - Expire date was wrong if the cancellation is within the trial period. - Pro Site level not assigned when using PayPal sandbox. - PayPal recurring payment is not working when payment type is eCheck. - Multiple registrations were not working properly. 3.5.8 - 10/01/2018 *Added: - Option to set quota for free level in Post/Page quotas module. *Updated: - Do not let users upgrade a site without logging in. *Fixed: - Conflict with WP User Avatar. - Errors in main blog admin pages. - Email was empty on the confirmation page. - Payment button appears after logging out. - Updating card info was not working. - Non-numeric value error in PHP 7.1. - Using coupon sets the price to 0 in some cases. - Sign up link was showing twice on Pro Sites page. - Pay to Blog module was not working when free signup is enabled. - SQL error on Pro Sites page if blog id is invalid. - Errors when Pro Sites checks the status of deactivated sites. - Stripe errors when deleted plans exist on the cache. - Error while checking already canceled sites later. - Duplicate id/class name on the checkout page. 3.5.7 - 04/10/2017 *Updated: - Added sanitization to activation key and few other $_GET parameters. - Moved inline scripts to checkout js. *Fixed: - Text escaping issue on pricing tables. - Database error on logs after activation. - Few translation strings were not escaping properly. - Added php compatibility check for Taxmo module. Taxo requires PHP 5.3+ - Fixed undefined error on anonymous function in PHP 5.2 3.5.6 - 04/09/2017 *Added: - Allow HTML in pricing table description field. - Added Really Simple SSL support. - New setting to select PayPal checkout button image. *Updated: - Use wp_add_inline_script instead of hp_head to add checkout page scripts. - Updated message on PayPal when setup fee is used. - Updated Google Analytics ecommerce tracking code. - Load Pro Sites scripts only on Pro Sites admin pages. *Fixed: - JavaScript error on Pro Sites checkout. - Duplicate payment receipts being sent. - Not all events were logged in site logs. - Notification emails become blank on text only email clients. - Manually extending pro sites extends trial period. - Setting up Posts/Quotas doesn't work. - PayPal "Thank You" Message isn't displaying after purchase. - Free trial message is not being displayed. - Error on stats page (PHP 7.1). - Site categories can't be selected. - Users cannot create new additional sites. - Expired sites does not activate after payment. - Fixed issues with New Blog Templates template selection. - Wrong url is shown in confirmation page. - Pro Sites Widget not showing when logged out. - PHP notices after saving the settings. - Fatal errors on PHP 5.3 and 5.4. - Subscription cancellation was not working for PayPal during trial period. - BuddyPress compatibility issue. - Error on the confirmation page after signup. - Conflict with GeoDirectory chosen select. - Error when trying to update credit card checkout page. 3.5.5 - 04/12/2017 *Added: - Allow trial for all levels *Fixed: - Checkout: Url should be default to current page ssl - Coupons: Make maximum coupon discount $0.01 to avoid breaking checkout - Checkout: Allow to set checkout page as home page - Checkout page doesn't appears for a logged in user with no existing blog, if multiple blog signup is kept off - Checkout: Feature names not appearing - Checkout: Update checkout page if rebranding text is updated - Checkout: Do not show trial message for free signups - Checkout: Show errors on respective gateway tabs - Gateway: Thank you message not displayed for the gateway - Gateway Settings: Gateway list not being generated if a registered external gateway is not available - Pay to Blog: Updated Pay to blog is_pro_site check - Paypal: Paypal Pro wasn't creating pro sites - Paypal: Possible fix for sites not being assigned Pro Site status sometimes - Paypal: Unable to change PayPal currency. - Paypal: Fatal error get_profile_id() function - Signup: Wrong login password for manual payments - Settings: Confusing text in Setup Fee tooltip - Settings: Unable to edit feature description if all text removed - Stripe: Email not sent after checkout - Stripe: Set trial for the specified level only while manually extending site - Premium Theme not disabled after subscription expiry 3.5.4 - 05/08/2016 - Umesh Kumar *Fixed: * Pay to blog disabling all Pro Sites after the update 3.5.3 3.5.3 - 05/7/2016 - Umesh Kumar *Fixed * Follow the currency position setting in Pricing table description as well * Check subscription expiration from respective gateway before withdrawing Pro Site status * Allow trial for selected level only, Charge regular amount for other levels * Issue with setting trial for recurring subscription * Issue with Paypal upgrade if only single period is enabled * JS error period_selector.val is not a function, if single period is enabled * Pay To Blog: Do not disable free sites if Pay to Blog is enabled * Plugin Compatibility: Do not redirect if user clicks on "Just username" link on Blog templates page * Unable to update feature description under Feature Tables settings * Allow updating currency if only Manual Payment is enabled * Preserve Level prices for a period even if it's set to not visible in Levels settings * Database error while modifying the existing Ads table * Added a check for displaying advertisements (Do not show adds if not in the loop or main query ) * Enable Plugin administration menu on save settings in module, if Premium Plugin Manager/Plugin Manger is active * Stripslashes in Custom CSS section for Pricing table * Do not include activation details in upgrade message for manual payments * Show correct admin url for Paypal checkouts * Multiple notices and warnings in error log 3.5.2 - 02/20/2016 - Umesh Kumar -Fixed: First payment coupons not working after single use -Fixed: Use stripslashes in Paypal IPN handler, as WordPress escapes the data, it was leading to failed IPN verification in some cases -Fixed: Deprecated function `get_admin_users_for_domain` -Fixed: Skip Payment gateway for Zero cost plans (Only Non Recurring ) -Fixed: Skip Payment gateway for 100% Off coupons (Only Non Recurring ) -Fixed: Do not show "Change your plan heading" for New Signups -Fixed: Price not being displayed on checkout page if monthly price is disabled -Fixed: Japanese Yen currency (Zero Decimal Currency issue ) for Stripe -Added: Premium plugins now auto activate or deactivate when a site's level changes. -Added: Permanent extensions can now be reverted by extending a site manually. 3.5.1.9 - 12/29/2015 - Rheinard - Fixed: Checkout page now displaying proper confirmation. - Fixed: Manual payments no longer give cancellation warning. - Fixed: PayPal checkout shows confirmation after redirecting back from PayPal. - Added: Update your Stripe credit card by checking out your existing plan and selecting "Replace Existing Card". UX update coming soon. - Added: New constant to add to wp-config.php to avoid cancellation when changing gateways (make sure you know what you're doing first): define( 'PSTS_CANCEL_ON_GATEWAY_CHANGE', false); - Note: Above can also be achieved by removing the relevant hook in a plugin or theme file: remove_action( 'psts_extend', array( 'ProSites', 'cancel_on_gateway_change' ), 10, 6 ); 3.5.1.8 - 12/09/2015 - Rheinard Korf - Fixed: Error when Stripe is not active. 3.5.1.7 - 12/08/2015 - Rheinard Korf - Fixed: Pre 3.5 feature to set default trial levels restored. - Added: When extending a site manually and Stripe is activated, there is an option to attempt to reactivate the Stripe account. Please note to only use this upon accidental cancellation or when you have explicit permission from the user. - Update: Warnings about manual payment cancellations removed. - Update: New warnings when Stripe credit card transactions failed and prompt to re-enter credit card details on accounts page. - Fixed: Reactivating legacy 3.4 Stripe customers will restore correct metadata 3.5.1.6 - 11/23/2015 - Rheinard Korf - Priority Fix: Manual extension of site will re-activate cancelled Stipe subscription. User will only be charged at next expiry. - Fixed: Legacy gateways, trials and manual extensions no longer cancel subscriptions. 3.5.1.5 - 11/23/2015 - Rheinard Korf - Update: Stripe URLs updated - Fixed: Warnings with Premium Plugins Manager - Fixed: When changing "Method Name" for manual gateway it now alters the display correctly. - Fixed: Subscriptions no longer cancel immediately when using trial. - Fixed: Checking out with PayPal now show correct setup information. 3.5.1.4 - 10/21/2015 - Rheinard Korf & Umesh Kumar - Fixed: Checkout: Multiple Signup link, if Multiple blog signup is allowed - Fixed: Paypal: Do not specify notification URL in direct payment as it breaks IPN forwarder, Use PayPal IPN settings only - Fixed: Stripe: Multiple Blog signup issue - Fixed: Stripe: Table issue for new installations - Added: Option for disabling PDF receipts - Fixed: Features table not displaying correctly. - Updated: Added additional Stripe currencies. - Fixed: Errors on new blog creation. - Fixed: When switching gateways the old gateway will attempt to cancel when setting up the new gateway. - Updated: Information message will appear to users wanting to change their payment gateway. - Fixed: Upgrading with PayPal while still within trial period. - Added: New Premium Plugins Manager to give you more control over the plugins that each level can use. 3.5.1.3 - 08/28/2015 - Umesh Kumar - Fixed: Premium Theme/ Plugin menu missing for admin - Fixed: Deprecated warning for widget - Fixed: Quota: Post/Page/Upload limit issue 3.5.1.2 - 08/27/2015 - Umesh Kumar - Fixed: Payment amount comes to zero for existing expired sites - Fixed: Checkout: Monthly plan being selected if period selector is displayed at top - Fixed: Checkout: Option to display a message on checkout page at the top - Fixed: Checkout: Period selector style broken in firefox - Fixed: Checkout: Monthly plan details shown with Quarterly plan - Fixed: Coupons: displayed twice if pricing table and feature table disabled - Fixed: Modules: Do not load modules on main site - Fixed: Paypal: Currency difference while a different currency is selected initially and changed later - Fixed: Paypal: Issue with new subscriptions - Fixed: Paypal: Payments being made in USD only, even if other currency is being set - Fixed: Receipt: Handle exception while generating Receipt PDF - Fixed: Stripe: Pending status message not shown if signup on checkout is disabled - Fixed: Stripe: dbDelta issue, subscription_id column not added to existing table - Fixed: Stripe: Fetch customer details for older subscriptions, without subscription id - Fixed: Stripe: Warning: check if stripe object has card details - Added: Option to disable Force redirect to checkout page if site is expired - Updated: Checkout: Call jQuery tabs only if there are multiple gateways 3.5.1 - 08/12/2015 - Umesh Kumar - Fixed: Division by zero for single column pricing table - Fixed: HTML being rendered if pricing table is disabled - Fixed: Post/Page Quota Media Limit not working and admin notice for exceeded limits - Fixed: PSTS_CHECKOUT_SITE issue with checkout page on subsite - Fixed: Wrong Upgrade amount if price is in decimal - Fixed: Warning and Notices (Manual Payment Gateway, ) - Fixed: Remove Create new site link from dashboard, if multiple blog signup is disabled - Fixed: Issue with deleting levels, disable save levels button - Fixed: Checkout: Feature description not visible for single level in pricing table - Fixed: Checkout: Styling issue single level, single period plans, Highlighting featured plans - Fixed: Checkout: Create a new site link not redirecting when Buddypress is active - Fixed: Checkout: Do not show cancel subscription link for Non recurring subscriptions - Fixed: Checkout: Clicking on choose plan, doesn't shows payment gateway - Fixed: Checkout: Plan details not visible for single level, single period, pricing table disabled - Fixed: Coupon: Not displayed, if feature table is disabled and coupon set to display - Fixed: Currency Symbols: Turkish Lira HTML code - Fixed: Currency Symbols: some of the symbols being converted to emoji urls - Fixed: Manual Payment: Pro Site level not assigned - Added: Manual Payment: Activation Link, Cost and Coupon details in email sent to admin - Fixed: PayPal: Coupon not working - Fixed: PayPal: PayPal not working if pricing table was disabled - Fixed: Settings: Custom css for pricing table not being saved - Fixed: Signup: User activation mail not being sent ( Disable only blog activation emails, If signup on checkout is enabled) - Fixed: Signup: Double Signup email, when Buddypress is active - Fixed: Signup: Allow users to signup, if they are logged in and they don't have a site - Fixed: Stripe: Issue with creating coupons for percent off - Fixed: Stripe: Payment receipt sent to network admin instead of site admin on upgrade - Fixed: Stripe: Subscription Cancel status - Fixed: Stripe: Non Recurring subscription payments and upgrades - Fixed: Stripe: Handle delay in subscription renewal - Fixed: Stats: Wrong payment amount stored in Pro Sites table 3.5.0.4 - 7/01/2015 - Rheinard Korf & Umesh Kumar ---------------------------------------------------------------------- - New: Pricing tables styling settings created: * Checkout table now has preset layouts * Checkout table can now be styled within Pro Sites - New: Period selector can now be moved outside of the pricing table (above) removing the first column - New: Coupons can now be moved outside of the pricing table (below) for different visual look - Fixed: With Coupons active it will now display below the pricing table if only one period is available - Fixed: Incorrect level recorded at checkout when only one period is active - Fixed: Check level visibility before displaying on checkout page - Fixed: Show correct number of levels in pricing tables setup after a level is deleted - Fixed: Confusing trial message will not show when a user has cancelled their trial 3.5.0.3 - 6/17/2015 - Rheinard Korf & Umesh Kumar ---------------------------------------------------------------------- - Fixed: Warning message with Premium Themes module - Fixed: Warning with number format conversion - Fixed: When checkout page is defined as registration page in BuddyPress, the checkout page will show. - Fixed: When deleting a level the features table no longer times out - Fixed: Feature messages no longer breaks when adding or removing levels - Fixed: Warning message when only using one gateway and having Bulk Upgrade module enabled - Fixed: Issue with level selection box showing 1's or 0's - Fixed: Gateways - Do not show gateways if there were errors in checkout page - Fixed: Gateways - Do not process payment, if no level and period was selected - Fixed: Stripe - Upgrading subscriptions from 3.4 to 3.5 - Fixed: Paypal - API credentials instructions link - Fixed: Paypal - Partial refund, refunding the whole amount - Fixed: Paypal - Refund fatal error - Fixed: Upload quota displaying correctly in the Media browser - Updated: Additional CSS class added to items on features table for custom styling - Updated: Premium Themes module will now show premium themes to all sites not just pro sites. Only allowed themes can be activated. ---------------------------------------------------------------------- 3.5.0.2 - 6/12/2015 - Rheinard Korf & Umesh Kumar ---------------------------------------------------------------------- - Fixed: HTML being displayed on Media library page - Fixed: Site being activated even if payment was canceled by PayPal user - Fixed: Strip slashes for Manual Payment gateway description - Fixed: Enable Manual Gateway processing - Fixed: Fixed error with PayPal partial refund - Fixed: Added Russian Ruble to PayPal gateway ---------------------------------------------------------------------- 3.5.0.1 - 6/5/2015 - Rheinard Korf & Umesh Kumar ---------------------------------------------------------------------- - Fixed: Fatal error when creating checkout page. - Fixed: Small CSS adjustment to fix pricing table in some themes. - Fixed: Multiple backslashes no longer appears in textboxes. - Fixed: Site Title: Space in title replaced by + - Changed: Making it obvious that Stripe setup currency must match Stripe account currency ---------------------------------------------------------------------- 3.5 - 6/5/2015 - Rheinard Korf & Umesh Kumar ---------------------------------------------------------------------- - New: Post Throttling Module - New: Limit Coupons availability to selected period - New: Filter 'psts_pypl_checkout_image_url' for Paypal - New: Checkout user role selection setting - New: Persistent object cache support - New: Russian Rubles to paypal currencies and locale - New: Force Network Used space check if quota is enabled, can be overridden using filter 'psts_enable_used_space_check' - New: Improve directions in Premium Plugins module - New: Allow changing which site the checkout page is on via PSTS_CHECKOUT_SITE define - New: Add admin bar upgrade button for Bulk Upgrades module - New: Filters to override ads conditionals - New: BuddyPress feature to hide non-pro blogs from activity streams - New: Pricing checkout table - New: Features table - New: Use multiple gateways (e.g. allowing PayPal as well as Credit Card via Stripe) - New: Taxamo integration to support EU VAT requirements (requires Taxamo.com account) - New: Detailed receipts when using tax - Fixed: Posting quota limit issue for Custom posts - Fixed: Warnings and notices - Fixed: Upload Quota ad-free level showing when not active in ads module - Fixed: Check class_exists on Stripe API class - Fixed: Plugin Path variable - Fixed: Translatable strings - Fixed: Checkout url ( displayed if quota is exceeded ) on media page - New UI: Updated many of the setting pages to make it easier to find your settings. Also includes drag and drop reordering of some elements. ------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------ 3.4.6 - 12/19/2014 - Aaron Edwards ---------------------------------------------------------------------- - Fix: Module/Gateway names/descriptions not translating properly - Fix: Various text typos - refreshed pot file - Fix: Limit potential conflicts with other plugins using the TCPDF library 3.4.5 - 11/12/2014 - Aaron Edwards ---------------------------------------------------------------------- - New: Add timezone offset support to log entry timestamps 3.4.4 - 10/30/2014 - Aaron Edwards ---------------------------------------------------------------------- - Fixed: Some PHP notices - Fixed: Default email text that would trigger Commodo firewall rules 3.4.3.9 - 9/10/2014 - Aaron Edwards ---------------------------------------------------------------------- - Fixed: Upload quota upgrade message was displaying on main site 3.4.3.8 - 9/7/2014 - Aaron Edwards ---------------------------------------------------------------------- - Fixed: Permanent upgrades that got truncated on 32 bit systems due to (int) casting 3.4.3.7 - 8/4/2014 - Aaron Edwards ---------------------------------------------------------------------- - Added: Add BN code to PayPal gateway ------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------ 3.4.3.6 - 4/1/2014 - Jonathan Cowher ---------------------------------------------------------------------- - Fixed: multiple customer_id index issue in "pro_sites_stripe_customers" table http://wp.mu/945 - Fixed: "free trial" nag message still displays after upgrading - Fixed: payment amount would be blank in payment receipt emails - Added: additional language to email receipts when customer is in trial status - added "psts_trial_info" filter for editing this text - Added: receipt emails, etc now send in HTML format - Added "psts_trial_days_options" filter http://wp.mu/92a 3.4.3.5 - 3/20/2014 - Aaron Edwards, Hoang Ngo ---------------------------------------------------------------------- - Fix: PayPal sandbox errors due to them dropping support for HTTP1.0 - Fix: Notice caused by custom translation file code. - Fix: Removed legacy language support for /mu-plugins/ installation, use WP core WP_LANGUAGE_DIR/plugins/psts-LOCALE.mo 3.4.3.4 - 3/20/2014 - Jonathan Cowher ---------------------------------------------------------------------- - Fixed unclosed