Headline
CVE-2023-4600: Changelog - AffiliateWP
The AffiliateWP for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the ‘affwp_activate_addons_page_plugin’ function called via an AJAX action in versions up to, and including, 2.14.0. This makes it possible for authenticated attackers, with subscriber-level access and above, to activate arbitrary plugins.
Version 2.16.1, August 28, 2023
- Fixed: Cannot filter referrals to be paid by affiliate
- Fixed: Export tools failing to export
Version 2.16.0, August 21, 2023
- New: Redesigned Creatives tab in the Affiliate Area
- Improved: License key is now hidden in the admin
- Improved: Admin tooltip styling
- Fixed: WP Simple Pay Lite not working with Stripe Checkout
- Fixed: Clicking on form labels not focusing on the associated form fields in the admin Fixed: Visits per page screen option not working
- Fixed: Fatal error on Analytics screen when installing MonsterInsights
Version 2.15.3, August 10, 2023
- Fixed: Remove unnecessarily enqueued fancybox scripts
- Fixed: Sometimes unable to assign creative category and affiliate group privacy for creatives in the admin
****Version 2.15.2, August 4, 2023****
- Fixed: Incorrect version in bootstrap file preventing update notice in WordPress Dashboard > Plugins (if you didn’t see a notice to upgrade to 2.15.1, this was why)
- Improved: Payouts service banner said you can easily pay affiliates in 31 countries using any debit or credit card, but that number has been updated to 50
- Improved: Admin screens how show more colorful and meaningful status badges
****Version 2.15.1, August 1, 2023****
- Fixed: Unable to add classes to Register button in the Block Editor
- Fixed: Unable to import affiliates from the Tools screen
****Version 2.15.0, July 5, 2023****
- New: Scheduled Creatives. Affiliate managers can define start and end dates for creatives, ensuring they’re visible to affiliates only during the selected period
- New: An exported Affiliates CSV file now includes a “Group” column
- New: Pagination added to the Affiliate Groups and Creative Categories admin screens
- Improved: Performance of Creatives and Affiliates admin screens
- Improved: Security in shortcodes and blocks
- Improved: Accuracy for stats within the AffiliateWP Referral Summary Widget
- Improved: The “Best Converting Campaign” quick stat tiles on the Reports admin screen now show the conversion rate instead of the visit count
- Fixed: New WordPress users added as affiliates were not added to the default affiliate group
- Fixed: Affiliate Email Summaries were not sending when all Email Notifications were unchecked
- Fixed: Password reset link was shown within the Application Accepted Email, even if affiliate entered password during registration
- Fixed: $get_connectable errors were being generated in specific scenarios for various integrations and addons
- Fixed: Images on the Creatives admin screen overlapped the table at narrow browser widths
- Fixed: Text on the New Creative admin screen was not consistent with the Edit Creative admin screen
****Version 2.14.1, June 8, 2023****
- Improved: Security improvements when activating and deactivating addons and growth tools
****Version 2.14.0, May 23, 2023****
- New: Check out our new Custom Link Generator in the Affiliate Area that allows affiliates to save all their shareable links in one convenient place!
- New: Check out our new About Us Page for more information about the AffiliateWP team and additional tools you might be interested in!
- Improved: Simplified “Stripe (through WP Simple Pay)” integration to just “WP Simple Pay”
- Fixed: Improvements to setup wizard UI
- Fixed: New buttons added to the Affiliates and Creatives screens for managing affiliate groups and creative categories
- Fixed: Privacy UI shows the full affiliate information
- Fixed: The Affiliate Groups UI has been simplified
- Fixed: You can now change the default affiliate group with a single click!
- Fixed: The affiliate group name field now has the correct description
- Fixed: Tooltips styling no longer causes overlaps with dropdown menus in the admin
Version 2.13.3, May 3, 2023
- Fixed: Performance improved on affiliate and creatives pages in the admin
- Fixed: You can remove an affiliate from an affiliate group by selecting None
Version 2.13.2, April 24, 2023
- Fixed: When using WPForms to register affiliates, they are now added to the default affiliate group
- Fixed: You can once again share creatives privately with individual affiliates without performance issues
Version 2.13.1, April 13, 2023
- Improved: Setup wizard will load immediately when AffiliateWP is activated for the first time to help you get set up even quicker!
- Fixed: Performance issues when displaying a large number of affiliates in a select menu. To address this issue, we temporarily removed the ability to share creatives privately with individual affiliates.
- Fixed: Creative shortcodes (and blocks) show or hide creatives correctly when shared privately with affiliates (via affiliate groups)
- Fixed: More compatibility improvements with PHP 8
Version 2.13.0, April 4, 2023
- New: Administrators can now group affiliates and assign custom referral rates for all affiliates in that group
- New: Administrators can now privately share creatives with affiliates and/or affiliate groups
- To accurately share creatives privately when using the Affiliate Portal addon, please upgrade the Affiliate Portal addon to 1.2.2
- Improved: Improved setup wizard that helps you get setup even easier!
- Fixed: Zero amount referrals will no longer be generated for zero amount orders in Easy Digital Downloads when ignore referrals with zero amount is enabled
- Fixed: Improved pagination of creatives when filtering by category in the admin
- Fixed: Improvements to russian translation files causing fatal errors in PHP 8
- Fixed: You should see less notices and warnings as we work to improve our compatibility with PHP 8
- Fixed: No more fatal errors when using PHP 8 when Query Monitor is installed and activated
****Version 2.12.2, February 20, 2023****
- Improved: Addons admin screen updated, allowing Personal and Plus plan holders access to new addons
****Version 2.12.1, February 14, 2023****
- Fixed: Issue causing error: Uncaught Exception: AffiliateWP\Groups\DB::$table name appears to be tampered with (in trait-db.php), in some installs
****Version 2.12.0, February 1, 2023****
- New: Grouping creatives into categories
- Improved: Contact Form 7 integration now allows site owners to select the default referral status
- Improved: Speed improvements to get_unique_visit_count() causing slowness
- Fixed: Language improvements when deleting multiple creatives
- Fixed: If you manually enter a referral, and give it a context for an integration that is no longer installed, it would cause a fatal error
- Fixed: We now delete all post meta from AffiliateWP when Remove all saved data for AffiliateWP when the plugin is deleted is set
- Fixed: jQuery is not defined console error when using PayPal buttons sometimes causing them not to work
- Fixed: Integration sync notices showing incorrectly
- Fixed: Affiliate registration error: Something went wrong when submitting this form, please contact an administrator
- Fixed: Affiliate login block showing login form to logged in users
- Other: This version requires PHP 7.4 or greater
****Version 2.11.1, December 22, 2022****
- Fixed: Error that prevents most WPForms form submissions
****Version 2.11.0, December 20, 2022****
- New: Affiliate registration forms using WPForms
- Improved: Move Rejection Reason to bottom of Review Affiliate screen
- Improved: Remove Caldera Forms, Zippy Courses and WP-Invoice integrations
- Improved: Added attachment_id column to Creatives database table
- Fixed: wp.editor.InspectorControls deprecation notice
- Fixed: Incorrect link for debug mode on Settings screen
- Fixed: an error that prevents a user from being registered if the website language was changed when using the Registration block
- Fixed: EDD v3 not calculating signup fees on subscription purchases
- Fixed: PayPal Buttons Integration not working with Donate buttons due to outdated REGEX
- Fixed: reCAPTCHA v3 failing when using [affiliate_area] shortcode
- Fixed: Removed HRK currency from Jan 1st, 2023. Croatian Kuna (HRK) will be deprecated in favor of the euro (EUR)
****Version 2.10.0, November 29, 2022****
- New: Add Affiliate Terms of Use block
- New: Add Select, Radio and Checkbox Group blocks for the affiliate registration form
- New: Add option for reCAPTCHA v3
- Improved: Show changes to template files in system info
- Fixed: Referral URL Generator broken when using Affiliate Area block
- Fixed: Missing register button for Affiliate Registration block when using nested blocks
Version 2.9.8, Oct 31, 2022
- Improved: Updated design for Email Summaries, now includes Top 5 Most Valuable Affiliates
- Improved: Improved addon installation screen
- Fixed: Fix for blocking self-referrals in Easy Digital Downloads that works with Anti-fraud
- Fixed: Fixes to German (DE) translations
- Fixed: LearnDash Stripe referrals not being created due to missing order details
Version 2.9.7, Oct 5, 2022
- New: Monthly (Affiliate) Email Summaries
- New: Integration with LearnDash
- Fixed: Registration block not saving password when translated
- Fixed: Error affecting German translations & updated German translation docs
Version 2.9.6.1, Sep 2, 2022
- Fixed: Email summaries showing all affiliates, now shows only approved
- Fixed: Multiple email summaries sent when using older versions of Action Scheduler
Version 2.9.6, Aug 31, 2022
- New: Terms of Use Generator
- New: Monthly Performance Email Summaries
- New: Manage Addons from within the Admin
- Improved: Show license type on settings page
- Improved: Warn about removing Caldera Forms, Zippy Courses & WP Invoice integrations
- Improved: Remove Integrations: ExchangeWP, Jigoshop, MarketPress, Shopp, & WP eCommerce
- Fixed: Only show “Disable Affiliate Email” once “Add as Affiliate” is checked
- Dev: Update settings to use the new license data class
Version 2.9.5.3, July 14, 2022
- Fixed: Fatal error due to Action Scheduler version conflict leaving as_has_scheduled_action undefined
Version 2.9.5.2, July 11, 2022
- New: Add support for Easy Digital Downloads v3.0
Version 2.9.5.1, July 1, 2022
- Fixed: Changing our admin menu title from “Affiliates” to “AffiliateWP” in 2.9.5 has changed the value of WP_Screen->id which add-ons rely on
Version 2.9.5, June 22, 2022
- New: Plugin Notifications
- New: Product recommendations links added for WP Mail SMTP and MonsterInsights
- Improved: Rename our Admin Menu Item from “Affiliates” to “AffiliateWP”
- Improved: Display our menu link higher up in the WordPress Admin
- Improved: Update how AffiliateWP appears on the Plugins screen
- Fixed: Recount stats tool no longer creates wrong count in the Paid Referrals column in affiliates list table
- Fixed: PHP 8+ no longer causes fatal error when AUTH_SALT is undefined
Version 2.9.4, May 13, 2022
- New: WooCommerce: Add support for referrals creation when the checkout block is used
- New: Add “Affiliate Reports” submenu to “Dashboard” admin menu
- Improved: Insert Affiliate Area block on new installations
- Fixed: Account email not showing as required on frontend affiliate registration form
- Fixed: PHP 8 compatibility fixes
- Fixed: PHP notice when activating an invalid license key
- Fixed: PHP notice when retrieving metadata
Version 2.9.3, March 29, 2022
- Improved: Update field type and copy for WPForms integration
- Improved: Pending affiliate accounts should not be automatically approved on new installations
- Improved: “Pretty Affiliate URLs” should be enabled by default on new installations
- Improved: “Reject Unpaid Referrals on Refund” should be enabled by default on new installations
- Improved: Improve check for failed referral when marking a referral as complete
- Fixed: Graph sometimes not displayed in the Affiliate Area
- Fixed: Onboarding wizard adds extra/blank list item to Dashboard menu
- Fixed: Generated form referrals always using “sale” as referral type
- Fixed: Coupon codes assigned to affiliates are ignored with invalid tracking cookies
- Fixed: Affiliate registration form not shown by default on new installations
- Fixed: Paid Member Subscriptions: Referral status not being updated to unpaid or rejected
Version 2.9.2, March 9, 2022
- New: Add plugin branding
- Improved: Include the “Upgraded From” AffiliateWP version number in the System Info file
- Improved: Update plugin Author and Author URI
- Improved: Enable “Reject Unpaid Referrals on Refund” option by default
- Fixed: Update Dutch translation files
- Fixed: Referral meta database table not being deleted when the option to remove data is checked
- Fixed: New affiliates not opted-in to new referral email notifications
- Fixed: “Upload File” button does not work on Affiliate Portal setting screen
- Fixed: Not able to dismiss Upgrade to Professional banner on AffiliateWP admin screens
Version 2.9.1, February 17, 2022
- Fixed: No longer displays “Your database tables need to be upgraded” message on new install
- Fixed: Fixed license checking error
- Fixed: Setup Wizard only continues if has a valid license key
- Fixed: Updated default cookie expiration on Setup Wizard to 30 days
- Fixed: Setup Wizard Integrations on new installs now save as expected
- Fixed: Uninstall script now only attempts to delete campaigns view if it exists
Version 2.9, February 15, 2022
- New: Setup Wizard
- Improved: Updated default cookie expiration to 30 days
- Improved: Improved mobile responsiveness of the coupons table
- Improved: Dynamic coupons now have a column for lock status
- Improved: Setting for “Allow Affiliate Registration” is now enabled by default
- Improved: Setting for “Require Approval” is now enabled by default
- Improved: Setting for “Enable Pretty Affiliate URLS” is now enabled by default
- Fixed: Fixed html breaking email templates
- Fixed: Fixed dynamic coupons being disconnected
- Dev: Updated get_coupons() to support querying by the locked value
- Dev: Updated coupons->update_coupon() to support locked value
- Dev: Updated coupons->add() to support locked value
- Dev: The coupons regeneration batch process now only updates unlocked coupons
Version 2.8.4, February 2, 2022
- Fixed: Batch error when upgrading the database to 2.8
- Fixed: The Affiliate Area block and the Affiliate Registration block are now compatible with WordPress 5.9
Version 2.8.3, January 6, 2022
- Fixed: Some user metadata is not correctly migrated when upgrading to 2.8
Version 2.8.2, December 23, 2021
- Fixed: WooCommerce: Failed referrals are unexpectedly displayed in order views
- Fixed: Restrict Content Pro: Referrals not created with an affiliate link if payment contains a discount code
- Dev: Make it possible to enable or disable debug mode from the command line
Version 2.8.1, November 30, 2021
- Improved: Introduce a ‘failed’ referral status for draft referrals that failed to become pending
- Improved: Add Payouts Service support for six additional countries: Egypt, Israel, Croatia, Iceland, Uruguay, and Peru
- Fixed: Block registration Confirm Password label not working
- Fixed: Passwords entered on block-based registration forms don’t get saved
- Fixed: Undefined index for checkbox fields in block-based forms
- Fixed: Affiliate registration not always working for existing users
- Fixed: Add referral screen allows negative amounts to be entered
Version 2.8, November 11, 2021
- New: Build custom affiliate registration and login forms using the block editor
- New: Add controls for formatting dynamic coupons based on affiliate info
- New: Merge Blocks add-on into core
- New: Introduce a draft referral status to improve logging of referral history
- Improved: Requires WordPress 5.2 or newer
- Improved: Introduce a filter in the Affiliate Area > Coupons template
- Improved: Introduce a new ‘type’ column in the Coupons database table
- Improved: Introduce a filter in the list table class for more easily customizing filtered views
- Improved: Migrate legacy affiliate information from user meta to affiliate meta
- Improved: Display context in integration logs
- Improved: Increase coupon code length to 191 characters
- Fixed: Fix strings with malformed placeholders causing errors in the Danish translation
- Fixed: Improve error handling in the licensing API
- Fixed: Prevent changes to the conversion rate when updating a campaign
Version 2.7.8, November 3, 2021
- Improved: Introduce a Cookie Compat Mode for use with specialized caching setups
- Fixed: Avoid a fatal error when viewing Settings with the Danish translation
Version 2.7.7, October 26, 2021
- Fixed: Check for core and add-on updates no more than once per hour
****Version 2.7.6, October 8, 2021****
- Improved: Update the Payouts Service URL everywhere for consistency
- Fixed: Fix a typo in the {amount} merge tag in the nl_NL translation
****Version 2.7.5, September 21, 2021****
- Fixed: Mitigate potential SQL injection in two internal database APIs
****Version 2.7.4, July 28, 2021****
- Fixed: Campaign conversions are not being properly recalculated in some circumstances
****Version 2.7.3, July 19, 2021****
- Improved: Improve styling and integration with the WooCommerce coupon editing interface
- Improved: Soft bump the PHP minimum to 7.0
- Fixed: Uninstall crashes following changes to the bootstrap introduced in 2.7
- Fixed: REST endpoints accepting IDs and arrays of IDs should properly handle for arrays
****Version 2.7.2, July 8, 2021****
- Fixed: Fix Pantheon-specific cookie prefix delimiter
****Version 2.7.1, July 5, 2021****
- Improved: Add specialized cookie handling for the Pantheon edge network
- Improved: Notate in the System Info log whether the site is running on the Pantheon edge network
- Improved: Pass the referral object to the affwp_auto_complete_referral filter
- Improved: Add select2 to core for add-ons to use
- Fixed: affwp_is_affiliate query variable only works in admin areas
****Version 2.7, June 22, 2021****
- New: Require WordPress 5.0 or newer
- New: Require PHP 5.6 or newer
- New: Soft-discontinue five integrations (more information):
- ExchangeWP (iThemes Exchange)
- Jigoshop
- MarketPress
- Shopp
- WP eCommerce
- Improved: Implement partial activation for a better activation experience sans minimum requirements
- Improved: Add unique id attributes to the output for each registered setting
- Fixed: PHP 8 compatibility fixes
- Fixed: WooCommerce: Don’t override product rate with affiliate rate in certain circumstances
- Fixed: Querying with a custom fields param value via REST triggers a fatal in some circumstances
- Fixed: Use translatable labels for statuses in the Affiliates list table
- Fixed: Add missing translator comments for all localized strings containing placeholders
- Fixed: Restore the ability to save affiliate rate and rate type to empty
- Fixed: Ensure affiliate ID is cast as an integer when derived from a coupon
- Dev: Upgrade the ParseCsv library to v1.3.0
- Dev: Audit and overhaul inline documentation throughout the plugin
- Dev: Introduce an `affwp_plugins_loaded` hook for add-ons to bootstrap on
- Dev: Introduce `affwp_get_{object}_by()` helper functions for most core objects
- Dev: Convert Campaigns to use a standard database table instead of a MySQL view
- Dev: Improve campaign management with the introduction of a fully-qualified Campaign object
****Version 2.6.8, May 3, 2021****
- New: Add support for 7 more countries in the Payouts Service:
- Argentina
- Brazil
- Costa Rica
- India
- Indonesia
- Mexico
- Thailand
- Improved: Ensure all Payouts Service requests are made to official REST endpoints
- Improved: Update payout record if a Payouts Service payout method changes
- Improved: Standardize headers sent with every Payouts Service request
- Fixed: Wrong URL displayed in notice when creating a Payouts Service account with a registered email address
****Version 2.6.7, March 25, 2021****
- Improved: Improve upgrade routine notices by including the AffiliateWP version number
- Improved: Add the ability to list affiliates, payouts, referrals, and visits by a date range with wp-cli
- Fixed: WooCommerce: Order status of Refunded should always change referral status to Rejected if enabled
- Dev: Fix the order of arguments passed to affwp_auth_hash() in Affiliate_WP_REST::get_token()
****Version 2.6.6, March 2, 2021****
- Fixed: Avoid a notice when viewing the Coupons settings tab and WooCommerce is inactive
- Fixed: Avoid a fatal error in certain circumstances when generating Integration information for the System Info file
- Fixed: More intuitively handle updating core objects during REST requests
- Fixed: PHP 8 Compat: Various fixes
****Version 2.6.5, February 19, 2021****
- Fixed: Avoid a fatal error in User Switching compat if the affiliate user no longer exists
- Fixed: Contact Form 7: Warning if the CF7 PayPal add-on is not installed
- Fixed: Referral batch import not accepting Username as Affiliate ID
- Fixed: Payouts Service: Use the correct documentation link
****Version 2.6.4.1, January 25, 2021****
- Fixed: AffiliateWP 2.6.4 update causes a fatal error with Affiliate Forms for Ninja Forms
****Version 2.6.4, January 25, 2021****
- New: Add Hungary to the list of countries supported by Payouts Service
- Improved: Add support for referral types in referral imports and exports
- Improved: Add User Switching ‘Switch To’ support to the affiliates list table
- Improved: Indicate whether dynamic coupons is set up and enabled in the System Info file
- Improved: More efficiently check for add-on updates
- Fixed: Avoid a fatal when checking self-affiliate REST requests
- Fixed: Resolve a conflict with WooCommerce Subscription’s “sudo coupons” feature
- Fixed: Batch processor does not always visually update when running an importer
- Fixed: is_infinite() expects parameter 1 to be float, string given
- Fixed: Thai translation not working
- Dev: Update core registry to support non-array registrars
****Version 2.6.3.1, January 5, 2021****
- Fixed: WooCommerce variable product rates can inadvertently get set to 0.00 in some cases
****Version 2.6.3, December 15, 2020****
- Improved: Dynamic coupons should be generated when auto-registering new users as affiliates
- Fixed: Recount Stats tool doesn’t account for setting zero-based affiliate stats
- Fixed: WooCommerce: Prevent non-period decimal separators from getting stripped from product referral rates
- Fixed: $category_id is undefined in EDD’s get_referral_total() method
- Dev: Add compatibility for WP_REST_Request::has_param() pre-WordPress 5.3
****Version 2.6.2, November 26, 2020****
- New: Add a REST endpoint for retrieving campaign data
- New: Support MySQL date_format when querying referrals
- New: Introduce affwp_is_affiliate_area() to determine whether you’re in the Affiliate Area
- Improved: Make it possible to search for individual visits in the Visits screen
- Improved: Make it possible to use affwp_get_report_dates outside the context of $_GET
- Fixed: Can’t delete admin affiliate
- Fixed: Error when an array is passed when registering Payouts Service admin notice
- Fixed: Affiliate Area missing “Your affiliate ID is:” when settings are not yet saved
- Fixed: affiliates/<ID> endpoint cannot be used by non-admin affiliates
****Version 2.6.1, November 9, 2020****
- New: Allow template tags to be used in email subject fields
- Improved: Support utf8mb4 in all core tables
- Improved: Make it possible to retrieve an affiliate conversion rate based on a date range
- Fixed: Campaigns containing unicode characters do not get tracked
- Fixed: All WooCommerce coupons displayed for affiliates on the coupons screen
- Fixed: Referrals not imported when importing data from Affiliates Pro
- Fixed: Sales reports tab tooltips no longer working
- Fixed: From Name email setting overwritten by the Edwiser Bridge plugin
- Fixed: Pay Affiliates link not displayed properly with some admin color schemes
- Fixed: Affiliates cannot view their own data via REST
- Dev: Deprecate the $context parameter in the Referrals get_by() method in preparation for PHP 8
- Dev: Remove the requirement for a payout ID or object to retrieve a payout status label
- Dev: Wrong hook name when a coupon is updated
- Dev: Validate parameters before sending in affwp_rest_request()
- Dev: Make it easier to determine if the payouts service is enabled and configured
- Dev: Switch to using wp_doing_ajax() to standardize checking DOING_AJAX
- Dev: Add the ability to customize the REST response when querying object collections
****Version 2.6, September 21, 2020****
- New: Auto create tracked discounts/coupons for integrations
- New: Introduce functions for emulating REST API calls
- New: Bundle a core requirements check class for future use
- New: Soft bump PHP minimum to 5.6
- Fixed: PHP notice when retrieving instance of an integration class
****Version 2.5.7, September 8, 2020****
- Improved: Lifetime Commissions: Add extension logic for “Edit Customer” and “Add Customer” screens
- Fixed: Fatal error when manually adding a referral for an inactive integration
- Fixed: Referral status counts are out of date after running bulk actions
- Fixed: Database error when searching through the affiliates list table
- Fixed: Object exports are incorrectly formatting dates in some circumstances
- Fixed: Items per page settings are not honored on some screens
- Fixed: Invalid field affiliate_id when listing customers via wp-cli
- Fixed: Payouts table within Affiliate Area shown incorrectly when Payouts Service is not enabled
****Version 2.5.6, July 21, 2020****
- Improved: Ensure affiliate area forms consistently work cross-platform
- Fixed: No default option for “Flat Rate Referral Basis” set on affiliate’s edit screen
****Version 2.5.5, July 2, 2020****
- Improved: WooCommerce: Improve performance of sales data calculations in WooCommerce 4.0+
- Improved: Add Bulgaria, Cyprus, Czech Republic, Malta, and Romania to the list of countries supported by the Payouts Service
- Improved: Include request data when debug logging record insertion failures
- Improved: Update the Japanese translations
- Fixed: Cannot import zero-amount referrals from a CSV file
****Version 2.5.4, June 2, 2020****
- Improved: Include the filesizes of the AffWP debug and WP error logs in the System Info log
- Improved: Show completed upgrade routines in the System Info log
- Improved: Introduce a way to force an upgrade routine to display
- Improved: Upgrade Meta DB Class to support queries by meta key/value pairs
- Fixed: WooCommerce: get_total_sales() still causing memory exhaustion problems in some circumstances
- Fixed: Continual logging of integration activation errors is filling up the debug log
- Dev: Fix a typo in the inline documentation for the ‘affwp_referrals_dashboard_before_table’ filter
****Version 2.5.3, May 7, 2020****
- Improved: WP EasyCart: Use get_affiliate_id() helper to retrieve the affiliate ID
- Fixed: WooCommerce: Tallying total order sales for Reports sometimes causes memory exhaustion errors
- Fixed: MemberMouse: Restore the ability to create referrals
- Fixed: Third-party integrations cannot be registered in some circumstances
- Fixed: Fix Danish translations
****Version 2.5.2, April 10, 2020****
- Fixed: WooCommerce – Sync fails if any referred orders were deleted
- Fixed: Fatal error sometimes thrown by WordPress’ auto-add pages functionality during activation
- Fixed: Standardize the expectation that referral contexts should be lowercase
****Version 2.5.1, March 20, 2020****
- Fixed: Avoid notices in the Affiliate Area due to incorrectly passing arguments to a deprecated filter
- Fixed: Add missing support for the search parameter on the affiliates/ REST endpoint
****Version 2.5, March 19, 2020****
- New: Introduce a Sales tab in Reports + an API for tracking sales generated by affiliates
- Improved: Implement Support for Help Tooltips in Reporting Dashboard
- Fixed: Category archive permalink doesn’t resolve affiliate link in pretty format
- Fixed: Affiliates search terms should be stripped of extra spaces
- Dev: Refactor how integrations are loaded to enable one-off instantiation of integration classes
****Version 2.4.5, March 2, 2020****
- Fixed: Customer meta table no longer storing more than one relationship between customer and affiliate
- Fixed: Sometimes unable to run upgrade routine in the admin
- Fixed: Update a formal German translation to use the correct number of specifiers
****Version 2.4.4, February 3, 2020****
- New: Allow admin to add notes to an affiliate when manually adding them
- Improved: Add filter to arguments for retrieving affiliates for the Affiliates list table
- Improved: Filter arguments for payouts generation, rather than preview alone
- Improved: WooCommerce: Allow Lifetime Commissions to override the referral amount
- Fixed: WooCommerce: Pretty affiliate link redirection error when the Geolocate (with page caching support) option is enabled
- Fixed: WooCommerce: Pretty affiliate link without trailing slash sometimes causes /ref/x duplication
- Fixed: Prevent affiliate links being stripped from URLs due to wp_redirect()
- Developers: Added missing / fix incomplete hook docs for 280 actions and filters
****Version 2.4.3, January 9, 2020****
- Improved: Add a description for a referral date fields
- Improved: Add a filter for during Payouts CSV Generation
- Fix: Notice shown when connecting an existing Payouts Service account
- Fix: Avoid a notice when registering rewrite rules for some taxonomies
- Fix: WP Simple Pay (Stripe) is not always setting visit id to converted
- Fix: Improve error handling when adding affiliates who already have user accounts
- Dev: Introduce wp-cli sub-commands for managing affiliate, customer, and referral meta
- Dev: Add support for an ‘include’ argument in get_affiliates()
****Version 2.4.2, November 27, 2019****
- Tweak: Gravity Forms: Store customer first and last name if available
- Tweak: Payouts Service: Better validation for minimum payout amounts
- Tweak: Mailchimp: Ensure language matches official branding
- Fix: Avoid a fatal error due to an invalid German translation in certain circumstances
- Fix: EDD downloads archive page producing 404 with pretty affiliate link
- Fix: Ensure consistent styling in radio button settings display
- Fix: Affiliate area - Settings tab - string not translating and one missing
- Dev: Output the correct language in the System Info log
- Dev: Output SSL status in the System Info log
****Version 2.4.1, November 12, 2019****
- New: Add support for retrieving customers by email via REST
- Fix: Trim leading or trailing spaces from email and other fields in Add Affiliate
- Fix: The no_integrations admin notice cannot be dismissed
- Dev: Ensure the magic $meta and $user properties work for Customer objects
- Dev: Extend the magic $meta property for Affiliate objects to work outside of REST
****Version 2.4, November 6, 2019****
- New: Improved affiliate payout flow with payout preview
- New: Added support for new affiliate Payout Service, enabling affiliate payouts directly to bank accounts in 31 countries
- Dev: Refactored AffiliateWP’s admin notices API to be more friendly to use by add-ons
- Dev: Standardized how we handle loading the migration classes to improve performance in the admin
- Dev: Introduced a Referral meta API with (secret!) incoming projects in mind
****Version 2.3.4, September 19, 2019****
- Fix: Referrals not being recorded in some circumstances with WP Simple Pay (Stripe) 3.6.3+
- Fix: Hide the “Reports” button in the Referrals screen if the current user doesn’t have the correct capabilities
****Version 2.3.3, September 17, 2019****
- Fix: User migration script creates accounts for all non-affiliate users regardless of the chosen user role
- Fix: Customers database tables are not cleaned up during uninstall
- Fix: Typo in timeformat property usage in reports
- Dev: AffWP\Util\Registry has been updated to extend ArrayObject
****Version 2.3.2.1, September 10, 2019****
- Fix: Invalid license notice still displays for valid licenses in some circumstances
****Version 2.3.2, September 5, 2019****
- New: Added a Thai translation
- New: Added a Swedish translation
- Tweak: Standardize navigation paths in settings descriptions
- Tweak: Add some additional settings related to referrals to the system info file
- Tweak: Adjust WooCommerce integration to support 3.7+
- Fix: Reject the referral when a WooCommerce order with pending payment status is cancelled
- Fix: Paid/Unpaid referral counts in reports are incorrect if more than 1,000
- Fix: Flat referral rate inputs need to accommodate all currencies
- Fix: Typo in the Dutch translation in the Affiliate Area page
****Version 2.3.1, August 22, 2019****
- Fix: Add Affiliate button misbehaves if there is more than one submit button
- Fix: Cannot add affiliates from the Users screen
- Fix: Avoid loading the referral edit screen for invalid referrals
- Fix: User migration process fails on really large user databases
- Tweak: Improve performance of retrieving non-affiliate users
- Tweak: Ensure consistency in usage of currency names
****Version 2.3, July 11, 2019****
- New: Introduce a Referral Summary dashboard widget with quick stats
- New: Add an option to flat-rate award referrals based on the checkout total for WooCommerce, Easy Digital Downloads, ExchangeWP (iThemes Exchange), and WP EasyCart
- New: Allow store owners to set an Affiliate Manager email to receive admin notifications
- New: Danish translation
- New: Formal German translation
- New: Add the ability to retrieve Customer records via the REST API
- Tweak: Allow retrieving affiliate and referral status labels without needing an object
- Tweak: Standardize how pending referral creation works in the Jigoshop, WP EasyCart, and LifterLMS integrations
- Tweak: Improve performance when deleting affiliates and their data
- Tweak: Integrate the Customers count into the System Info log
- Tweak: Improve the flow between configuring debug log settings and viewing log contents
- Tweak: Allow extra contextual data to be sent to the debug log
- Tweak: Deprecated Affiliate_WP_DB_Affiliates::affiliate_exists()
- Tweak: Updated the French translation
- Tweak: Improve the performance and accuracy of how earnings are calculated
- Tweak: Added support for authenticating via the JSON Basic Authentication plugin
- Tweak: Improved the ability to debug referral creation problems
- Tweak: Prevent affiliate links from being stripped from WooCommerce URLs during redirects
- Tweak: Improve the affiliate (and associated user account) deletion flow
- Tweak: Display actual counts of users eligible for migration
- Tweak: Add pagination to the affiliate area campaigns table
- Fix: Queries spanning multiple days sometimes return inconsistent results
- Fix: Ensure support for PHP 7.2 or later
- Fix: Prevent an action hook conflict in the Payouts API
- Fix: Ensure sequential order numbers are always displayed for WooCommerce in the Affiliate Area
- Fix: Ensure meta is always deleted along with an affiliate
- Fix: Ensure all affiliate deletions use a consistent workflow
- Fix: Search all eligible users when generating API Keys
- Fix: Passed arguments not always used when creating a referral via REST
- Fix: Reports are sometimes inaccurate when filtered
- Fix: Support 3+ word names during affiliate registration
****Version 2.2.17, May 17, 2019****
- Fix: Shortcodes sometimes don’t display when Query Monitor 3.3.5 or later is active
- Fix: Remove extra blank space at the top of some email bodies
****Version 2.2.16, April 25, 2019****
- Fix: Prevent referrals from being created if the visit ID is invalid
- Fix: Allow the Signup Referrals add-on and WPS Hide Login to coexist at activation
- Tweak: Ensure the Customer object always enforces its field types
****Version 2.2.15, April 7, 2019****
- Fix: RCP integration not working with Restrict Content Pro 3.0+
- Fix: Pages with [affiliate_conversion_script] shortcode fail to update on WordPress 5.1+
****Version 2.2.14, January 25, 2019****
- Fix: RCP referrals created from discount code assigned to affiliate ignoring free trial
- Fix: WPForms referrals have a reference of 0 and not marked as complete
- Fix: WooCommerce referrals not rejected when order status go from on hold to cancelled
- Fix: PHP warning, call_user_func_array()
****Version 2.2.13, December 30, 2018****
- Fix: Allow Referrals option not showing in WPForms integration.
****Version 2.2.12, November 7, 2018****
- Fix: Referrals not created in Paid Member Subscriptions when subscriptions are free
- Fix: Affiliate search function breaks on large databases
****Version 2.2.11, October 22, 2018****
- Fix: Referrals on free memberships in Paid Memberships Pro not marked as complete
- Fix: 0 amount referrals generated when product or category rate includes a % sign
- Fix: Referrals not generated in MemberMouse when default referral format is set to username
- Fix: Sign up fees not accounted for properly for referrals in Restrict Content Pro
- Fix: wp_options table overloaded with autoload=yes options from plugin updater
****Version 2.2.10, October 2, 2018****
- Fix: Site default rate used instead of affiliate-specific rate.
Version 2.2.9, September 18, 2018
- Tweak: Adjusted PayPal integration to enable support for recurring tracking with Recurring Referrals add-on
- Tweak: Added action hooks in product setting areas for integrations
- Tweak: Added parent_id column to the referrals database
- Tweak: Updated Polish translation files
- Fix: Invalid referral amount when product rate is set to 0 by add-ons
- Fix: PHP warning with printf() and too few arguments
- Fix: REST API authentication fails if is_user_logged_in() is called in affwp_tracking_get_affiliate_id filter
****Version 2.2.8, August 19, 2018****
- Fix: Reverted change to /wp-json/affwp/v1/affiliates/ endpoint for user email
- Fix: License Key notice not dismissed after activating license key
- Fix: Referrals not generated when long campaign name is used
Version 2.2.7, August 3, 2018
- Fix: Customer record not created in Restrict Content Pro integration when customers are not logged in.
- Fix: Email address of affiliate not returned in the /wp-json/affwp/v1/affiliates endpoint.
- Fix: Customer record not created in Paid Memberships Pro integration when customers are not logged in.
- Fix: Referral edit screen does not display arrays and objects properly in the custom field.
- Fix: Customer records not linked to user accounts if the user account is created after the customer.
****Version 2.2.6, July 16, 2018****
- Fix: Referral description not always shown in WP Simple Pay integration.
- Fix: Customer record not created with Opt-In Forms.
****Version 2.2.5, July 2, 2018****
- Fix: Fatal error on list table screens if the database contains records with IDs of 0
- Tweak: Referral ID now shown on the Referrals list table
****Version 2.2.4, June 27, 2018****
- New: Added link to quickly register user record as an affiliate from the Users list table
- New: Added a “affwp_before_conversion_tracking_script” hook to the conversion script shortcode
- Fix: Customer not created in PayPal integration
- Fix: Fatal error message shown on Referrals list table when database contains invalid records
- Fix: Default text not shown for terms of agreement when label setting is removed
- Fix: Updating customer record duplicates affiliate_id customer meta
- Tweak: Updated Spanish language files
Version 2.2.3, June 12, 2018
- Fix: “Mark as Paid” link does not function on Referrals page
- Fix: Password reset URL incorrectly shown on affiliate welcome and pending email
- Fix: Referrals not set to Unpaid in Formidable Forms integration
- Fix: Improper redirect away from Referrals page when marking a referral as paid
- Fix: Not possible to search visits by exact URL
****Version 2.2.2, June 8, 2018****
- Fix: Internal server error on WooCommerce checkout when using older versions of WooCommerce
- Fix: 404 not found error shown on home page when using an affiliate link with LifterLMS
- Tweak: Added status field to REST consumers
- Tweak: Added date field to REST consumers
- Tweak: Added rest_id field to REST objects
****Version 2.2.1, June 6, 2018****
- New: Added option to disable IP address logging for improved GDPR compliance.
- New: Added filter to get_sortable_columns() methods.
- New: Added Payment Email to the affiliate review screen.
- Tweak: Creative description field now uses a rich editor.
- Tweak: Better debug messages added to complete_referral() method.
- Tweak: Updated Hungarian translation.
- Tweak: Updated Spanish translation.
- Tweak: Updated Dutch translation.
- Tweak: Affiliate ID is now linked in order notes for WooCommerce and Easy Digital Downloads.
- Fix: Referral should not be created when all WooCommerce products in order have referrals disabled.
- Fix: MySQL syntax error when viewing affiliate payout.
- Fix: In WooCommerce integration, leaving the Affiliate Rate field blank does not result in default rate being used.
- Fix: Affiliate ID not properly stored in customer meta for WooCommerce.
- Fix: Links broken in emails for some email clients.
- Fix: Debug message logged incorrectly for OptimizeMember integration.
- Fix: Password reset URL included in affiliate application accepted email even when disabled.
- Fix: Undefined “args” variable when updating customer record.
- Fix: Email column cannot be null when creating customer records.
Version 2.2, May 21, 2018
- New: Introduced an [opt_in] shortcode for displaying an email opt-in form that connects to MailChimp, ConvertKit, and ActiveCampaign.
- New: Introduced support for new personal data exporters and erasers in WordPress for GGDPR compliance.
- New: Introduced “Terms of Use” label option for improved GDPR compliance.
- New: Introduced dedicated database table for tracking customer emails associated with affiliate accounts.
- New: Introduced a “type” option for referrals, including sale, opt-in, and lead.
- New: Introduced options to set form type in all form plugin integrations.
- New: Redesigned email notification settings to give more control over which email notifications are sent.
- New: Added category-specific referral rates to WooCommerce and Easy Digital Downloads integrations.
- New: Added support for setting the registration password field as optional.
- New: Added support for new Jigoshop eCommerce plugin.
- New: Added class method to retrieve the class name for each integration.
- Tweak: Improved description of Cookie Sharing setting to better explain what it does.
- Tweak: In Easy Digital Downloads, referral IDs in payment notes now link to the referral details screen.
- Tweak: The “Enable New Referral Notifications” checkbox in the Affiliate Area is enabled by default on all new affiliate registrations.
- Fix: Affiliate IDs stripped from URLs when using WooCommerce with pretty affiliate links and custom blog permalinks that match the referral variable.
- Fix: SQL error when using campaign keyword to search visits database.
- Fix: PHP error shown when Zippy Courses theme is active.
- Fix: Payout generation fails if database is not in perfect condition.
- Fix: Referral creation fails if description column is given a NULL value.
****Version 2.1.18, May 8, 2018****
- Fix: Incorrect referral amounts in GiveWP integration
- Fix: Referrals not recorded in Paid Member Subscriptions integration
****Version 2.1.17, April 8, 2018****
- New: WooCommerce products now support a rate type selection
- New: Pagination support has been added to the referrals on the payout details screen
- Fix: Referral not created when submitting Contact Form 7 in some cases
- Fix: Referral not created in OptimizeMember integration
- Fix: Incorrect translation file causes affiliate name to be shown as 0
- Fix: Cyrilic characters not supported in CSV export
- Fix: Affiliate accounts can be created with invalid usernames
- Tweak: Updated French translation
- Tweak: Text input fields can now be set to disabled in the settings API
****Version 2.1.16, March 19, 2018****
- Fix: PHP error when submitting form with Formidable Forms
- Fix: Referrals generated through Restrict Content Pro not rejected when refund is issued
- Fix: Referral description blank for Ninja Forms integration
- Fix: Incorrect referral amount in Ninja Forms integration
- Fix: Reference column missing in Restrict Content Pro integration when affiliate discount is used
- Fix: Referrals being updated immediately after being created through WooCommerce
- New: Added order referral details in WooCommerce 3.3 preview window
- Tweak: Updated Dutch translation
****Version 2.1.15, February 20, 2018****
- Fix: Campaign not recorded with Fallback Tracking Mode enabled
- Tweak: Creative embed code formatting improved when displayed with shortcodes
- Tweak: Improved data validation when manually creating new referral records in the administration area
****Version 2.1.14, February 16, 2018****
- Fix: Incorrect referral amount in Easy Digital Downloads if customer goes to PayPal, abandons, changes cart contents, then completes purchase
- Fix: Hyphen incorrectly added to referral descriptions in Easy Digital Downloads integration
****Version 2.1.13, February 13, 2018****
- Fix: Creatives not displaying in Affiliate Area
****Version 2.1.12, February 12, 2018****
- New: Added a new Overview box for Highest Converting URLs
- New: Payout records can now be deleted
- Tweak: Filter added to referral description in Contact Form 7 integration
- Tweak: iThemes Exchange is now ExchangeWP
- Tweak: Form fields now have widths of 100%
- Tweak: New affiliate emails now include a link to set account passwords when needed
- Tweak: Improved Affiliate Referral column width in WooCommerce to conserve space
- Tweak: Updated pt_BR translation file
- Fix: Pagination fails if Affiliate Area is set to the Front Page
- Fix: Affiliate cookies not created when Fallback Tracking Mode is enabled and an affiliate’s username that contains a period is used
- Fix: JS error with some plugins when PayPal Buttons integration is enabled
- Fix: Trial period amount not used in MemberPress when calculating referral amount
- Fix: Refreshing user edit screen after registering affiliate can cause affiliate to be registered a second time
- Fix: Affiliates can be registered with usernames less than four characters
- Fix: Conflict between Yoast SEO and the conversion script shortcode
- Fix: Referrals not created in ExchangeWP if non-affiliate coupon is used on the order
****Version 2.1.11, January 10, 2018****
- New: Added support for BTC currency
- New: Total number of paid referrals now shown on reports screen
- New: WooCommerce orders list table now includes an Affiliate Referral column
- Fix: Fatal error on Referrals screen with WooCommerce integration when order no longer exists
- Fix: Referral amounts do not take into account discounts from Discounts Pro in Easy Digital Downloads integration
- Fix: Duplicate submissions created when referral is present in Ninja Forms integration
- Tweak: Referral ID in WooCommerce order notes now links to referral screen
- Tweak: Referral description now includes price option name in Easy Digital Downloads integration
- Tweak: Affiliate Area page now notated in the pages list table
****Version 2.1.10, December 21, 2017****
- Fix: Referral rates not properly calculated for Ninja Forms integration.
- Tweak: Updated pt_PT translation.
- New: Added an option to enable tracking cookies on sub domains.
****Version 2.1.9, December 14, 2017****
- Fix: Graphs sometimes show incorrect totals when filtered
- Fix: Several fields aren’t being processed correctly when creating or editing affiliates via the REST API
- Fix: JavaScript error when using PayPal Buttons and EDD Frontend Submissions at the same time
- Tweak: Pass the affiliate object to the affwp_affiliate_table_$column filter
- Tweak: Introduce an affwp_pre_insert_$type_data filter to allow short-circuiting creation of all core objects by type
- Tweak: Free trial periods in RCP should award a $0 referral
- Tweak: Admin list tables and affiliate area stats now reflect localized dates in WordPress-defined formats
- Tweak: Improve help text for the {name} email tag
- Tweak: Generate an order note when a referral associated with a WooCommerce order is updated
- Tweak: Add support for WooCommerce Sequential Order Numbers in the referral list table reference column
****Version 2.1.8, November 19, 2017****
- Fix: Visit recount tool not working.
- Fix: Affiliate usernames with dashes do not working properly with landing pages.
- Fix: Referral retrieval error being logged on all page loads, even when not appropriate.
- Fix: Colspan of referrals table incorrect.
- Fix: Compatibility with Apple Pay gateway for WooCommerce fixed.
- Tweak: New filter added to arguments passed to affwp_add_affiliate().
Version 2.1.7, November 1, 2017
- New: Tables in Affiliate Area are now responsive
- New: Bulk actions have been added to Creatives
- New: Referrals tab of Affiliate Area now includes a Reference column
- Tweak: CSV export of affiliates now includes first and last name columns
- Tweak: Improved Dutch translation
- Fix: Batch importers for affiliates and referrals may sometimes silently fail
- Fix: Affiliate registration form fails to process if redirect parameter is not set
- Fix: Required scripts for earnings graph in the Affiliate Area not loaded in certain cases
- Fix: Total Unpaid Earnings cell not respecting date filters
Version 2.1.6.1, October 20, 2017
- Fix: The AffiliateWP settings panel is empty in WooCommerce product settings in some circumstances
- Tweak: Upgrade AffWP_Plugin_Updater to v1.6.15, version check option will no longer be autoloaded
Version 2.1.6, October 4, 2017
- Fix: Batch importers hang and cause data corruption in some circumstances
- Fix: The AffiliateWP metabox isn’t showing in the donation form for Give 1.8+
Version 2.1.5.2, October 1, 2017
- Fix: Ensure the Stripe integration works with WP Simple Pay Pro 3.1.6+
Version 2.1.5.1, September 28, 2017
- Fix: Ensure the Stripe integration works with WP Simple Pay Pro 3
Version 2.1.5, September 22, 2017
- Fix: Incorrect description and reference values in Restrict Content Pro integration
- Tweak: Added support for Ruble currency symbol
- Tweak: Added support for Kenyan Shilling currency
Version 2.1.4.2, September 7, 2017
- Tweak: Standardize custom data storage and retrieval
- Fix: License expiration notice displays unstyled and in the wrong place
Version 2.1.4.1, September 6, 2017
- Fix: Ensure batch process garbage collection only runs on the first step
Version 2.1.4, August 29, 2017
- Tweak: Improved usability of the Add New Affiliate screen
- Tweak: Improved column display on the Visits list table
- Tweak: Updated language files
- Fix: Payout batch processing can fail due to improper garbage collection
- Fix: License key status shown incorrectly at times
- Fix: Autocomplete field not functional on the API Keys screen
- Fix: Autocomplete field fails to function when there are not affiliate accounts
- Fix: Unknown column “unpaid_earnings” error when updating from older versions of AffiliateWP
Version 2.1.3.1, July 19, 2017
- Fix: Conversion rates sometimes display incorrect percentages in the Affiliate Area
- Fix: Admin capabilities need to be refreshed for 2.1.x
Version 2.1.3, July 17, 2017
- Fix: Payouts and Visits exporter text need a small correction
- Fix: Website URL field on registration form is not always getting saved
- Tweak: Improve accuracy of the Affiliate Area link in the WooCommerce My Account navigation
Version 2.1.2, July 11, 2017
- Fix: Fatal error when viewing Visits screen on sites with a large number of visits.
Version 2.1.1, July 11, 2017
- Fix: Fatal error with BuddyPress - Cannot redeclare update_blog_status()
- Fix: Average referrals per payout shows as NAN
Version 2.1, July 10, 2017
- This is a major release, see our blog post for more information
- New: Import affiliates and referrals from a CSV file (#338)
- New: Export Visits to a CSV file (#2270)
- New: Filter referrals, visits, campaigns, and payouts Reports tab by a single affiliate (#1991)
- New: Add a download option for the Debug Log (#1953)
- New: Payouts tab in the Reports screen (#1997)
- Tweak: Leverage HTML5 validation on the affiliate registration form (#1919)
- Tweak: Make it possible to short-circuit visit creation via a new affwp_tracking_skip_track_visit filter (#2049)
- Tweak: Bump the required WordPress minimum version to 4.5. (#2128)
- Tweak: Add “Affiliate Area” link to WooCommerce’s “My Account” page (#2108)
- Tweak: Improved debug logging throughout (#2165)
- Tweak: Make it possible to set the registration date and website URL fields when adding an affiliate (#2218, #2227)
- Tweak: Add the ability to query for two or more fields for all core objects (#2254, #2256, #2263)
- Tweak: Override the PayPal IPN URL with a new AFFILIATEWP_PAYPAL_IPN constant (#2245)
- Tweak: Making Referrals searchable by amount or description (#2265)
- Tweak: Improve contextual help for adding text-only creatives (#2249)
- Fix: Referrals less than 1.00 using a comma decimal separator create 0.00 referral amounts (#1972)
- Fix: Strings on login/registration not being localized/translated (#1993)
- Fix: Adding a new form in Contact Form 7 overrides the previous one (#2007)
- Fix: Contact Form 7 bypasses required fields when integration enabled (#2004)
- Fix: Referral link on homepage shows WooCommerce product message when Polylang is active (#2028)
- Fix: Credit Last Referrer does not work when fallback tracking is enabled (#2038)
- Fix: Fatal error/page not found depending on affiliate link structure with WP e-Commerce (#2077)
- Fix: Affiliate links show wrong page when “Front page displays” is set in WP e-Commerce( #2078)
- Fix: Page set as front page does not show with affiliate link when using BuddyPress Docs (#2086)
- Fix: Upgrade database notice appears on fresh installs (#2101)
- Fix: Restrict Content Pro’s Prevent Account Sharing option is redirecting affiliates when logging in (#2118)
- Fix: Filtering date range/affiliate in Affiliates, Creatives, Payouts, Referrals, and Visits screens displays the entire “All” count (#2149)
- Fix: Some options rows are not being cleaned up during uninstall (#2159)
- Fix: The username is being escaped twice in affwp_get_affiliate_username() (#2188)
- Fix: The Totals meta box on the Overview screen sometimes times out (#2202)
- Fix: Empty referral amounts in the Recent Referrals meta box don’t display properly (#2247)
- Fix: Rejected referrals not updated to Unpaid if associated order is completed (#1752)
- Fix: Integration code can cause fatal error if integration plugin is not activated (#2291)
Version 2.0.10.1, June 23, 2017
- Fix: Enabling the WooCommerce integration while WooCommerce is not active causes a fatal error in AffiliateWP 2.0.10.
Version 2.0.10, June 19, 2017
- Fix: Adding a payout sometimes results in database write errors
- Fix: Pretty affiliate URLs still don’t always work on the WooCommerce shop page
- Fix: Earnings adjustments are sometimes skipped when updating referrals
- Fix: Attempt to enqueue tracking scripts alongside jQuery in header or footer
- Fix: Null insert error if no description specified in WP Simple Pay Pro 2.5 (Stripe) shortcode
Version 2.0.9.2, May 25, 2017
- Fix: Some affiliate registration emails are no longer sending after the 2.0.9 update
Version 2.0.9.1, May 17, 2017
- Security Fix: A cross-site scripting (XSS) vulnerability was discovered in relation to filtering referrals in the admin. Reported by Neven Biruski (DefenseCode).
Version 2.0.9, May 16, 2017
- Fix: “No products found” error on WooCommerce3.0+ shop page when pretty affiliate links are used
- Fix: Backwards compatibility fix for get_data() in export API
- Fix: Referrals not created when logged in user also has an affiliate account
- Fix: Status set twice in affwp_add_affiliate()
Version 2.0.8, May 1, 2017
- Fix: Incorrect amount calculation in Restrict Content Pro integration when discounts are used
- Fix: Referral tracking not working in Restrict Content Pro integration when discounts are used
- Fix: Current month view sometimes sets the wrong start and end day
Version 2.0.7.1, April 26, 2017
- Fix: Fatal error when attempting to access coupon IDs in pre-3.0.0 versions of WooCommerce
Version 2.0.7, April 25, 2017
- Fix: Referrals sometimes created with empty statuses in WooCommerce integration
- Fix: PHP notices shown during purchases when using WooCommerce 3.0+
- Fix: Email notifications include empty markup when no header text is set
Version 2.0.6, April 13, 2017
- Fix: Referrals are not being created in some circumstances
- Fix: Check that a pending referral has successfully been added before logging success
- Fix: Debug logging is not writing messages for integrations
- Fix: Can’t bulk delete affiliates
- Fix: “Required Registration Fields” settings are not sticking
- Fix: User filter on export/import tab is searching non-affiliates
- Fix: PayPal redirect not working with Contact Form 7 when item price is left blank
- Tweak: Support Stripe subscriptions (via WP Simple Pay)
- Tweak: Update Dutch (nl_NL) translation
- Tweak: Remove background styling on code blocks inside of creative HTML
- Tweak: Make it possible to add information to the ‘custom’ field when manually adding a referral
- Tweak: Allow plugins to extend the login form with password alternatives
Version 2.0.5, March 23, 2017
- New: Add Unpaid Earnings as an option to the Recount Stats tool
- Fix: Passive cache invalidation doesn’t always work
- Fix: The ‘Upgrade Database’ notice shows up on fresh installs
- Fix: Avoid a warning with a hook used for Encyclopedia Pro compatibility
- Fix: Restrict Content Pro purchases sometimes creating referrals it shouldn’t
- Fix: Avoid a syntax error when activated with Caldera Forms
- Fix: Avoid a warning from the deprecated ‘safe_mode’ INI directive
- Fix: Edit affiliate URL with ID of 0 shows an empty edit affiliate screen
- Fix: Datepickers don’t work for custom date ranges in the Affiliate Area > Graphs tab
- Tweak: Enhance the Affiliate URLs tab in the Affiliate Area
- Tweak: Avoid checking the currently logged-in affiliate in the admin and during Ajax requests
- Tweak: Add ‘affwp_insert_pending_referral’ filter to fallback tracking
- Tweak: Include the Affiliate Area Forms setting in the System Info log
- Tweak: Add pull request template and contributing guidelines to the AffiliateWP repository
- Tweak: Abstract the batch processing registry for reuse elsewhere in core
- Tweak: Use a simple registry for managing upgrade routines
- Tweak: Rename the PayPal integration to PayPal Buttons
- Tweak: Improve display of responsive images in the Creatives screen
Version 2.0.4, March 4, 2017
- Fix: Referrals generated as 0.00 or not at all for some sites
- Fix: Resolved possible infinite loop with the affwp_dismiss_notices hook
- Reverted change that fixed an issue with referrals less than 1.00 using comma decimal separator create 0.00 referrals. Will re-address soon.
Version 2.0.3, March 2, 2017
- Fix: JS conflict on edit post/page when some page builder plugins are active
- Fix: Affiliate name filter on Visits screen not working
- Fix: PHP notice: Undefined index: path
- Fix: Incorrect referral URL generated when extra space added
- Tweak: Remove the “No reason provided” text from the rejection email if not set
- Tweak: Add Credit Last Referrer setting to the system info data
- Tweak: Update plugin updater class to v2.6.11
- Tweak: Refactor get_affiliate_id_from_login() to reuse core functionality
- Tweak: Make the log() method global
Version 2.0.2, February 16, 2017
- New: Add Hindi (India) translation
- New: Add a new “context” field for visits
- New: Add filters to manipulate final payout amounts and CSV columns
- Tweak: Only 20 campaigns are shown on the affiliate area
- Tweak: Make Referral ID in Visits screen link through to corresponding referral
- Tweak: Adjust debug log description
- Tweak: Improve Edit Referral screen
- Tweak: Update EDD_SL_Plugin_Updater to 1.6.10
- Tweak: Add full test coverage for creatives db layer
- Tweak: Add new Affiliate Registration Field to the system info file
- Tweak: Add core object counts to system info log
- Tweak: Add an action hook to process_bulk_action() method in affiliates list table
- Fix: Conflict with plugin Encyclopedia Pro mangles the Creatives HTML block
- Fix: Replace generate_random_password deprecated function
- Fix: get_fallback_affiliate_id() duplicates code enhancement
- Fix: affwp_get_affiliate_conversion_rate() should use affwp_format_rate()
- Fix: Contact Form 7: Incorrect doc link bug
- Fix: Batch processing registry doesn’t work for IIS servers
- Fix: Unpaid Referrals Today stat is wrong
- Fix: Amounts in Most Valuable Affiliates meta box aren’t formatted
Version 2.0.1.1, February 1, 2017
- Fix: Batch processing registry doesn’t work for IIS servers
- Fix: Unpaid Referrals Today stat is wrong
- Fix: Amounts in Most Valuable Affiliates meta box aren’t formatted
Version 2.0.1, January 29, 2017
- Fix: Re-minify JavaScript assets.
- Fix: JS error sometimes being outputted on the front end from the new JS debugger
- Fix: Editing a referral can sometimes disassociate it from its affiliate
- Fix: WooCommerce Coupon meta boxes cannot be toggled when AffiliateWP is active
- Tweak: Update the Spanish translation (es_ES)
Version 2.0, January 24, 2017
- New: Integration added for Stripe Checkout (through WP Simple Pay)
- New: Integration added for Give
- New: Integration added for Contact Form 7
- New: Integration added for Caldera Forms
- New: Integration added for WPForms
- New: Integration added for Paid Member Subscriptions
- New: Options to control which registration fields are required have been added to settings
- New: Options to enable/disable the log in and registration forms in the Affiliate Area have been added to settings
- New: Date range filters added to the referrals list table
- New: Conversion rate now shown on the Reports screen for individual affiliate accounts
- New: Introduced extensive meta capabilities for more fine-tuned control over user role capabilities
- New: REST API endpoints now include full schema
- New: Introduced a batch processing API for handling large data sets
- New: Payout logs can now be exported to a CSV file
- New: Added JavaScript debug data to browser console when debug mode is enabled
- New: Added Pakistani PKR to currency list
- New: Creatives now show thumbnail preview in the Creatives list table
- New: Unpaid earnings are now shown in the Affiliates list table
- New: Private, admin-only notes can now be added to affiliate accounts
- New: Payouts can be processed for individual affiliate accounts now
- New: Added support for blacklisting referral URLs to prevent referrals being created that come from those URLs
- Tweak: Referrals are now automatically blocked in Gravity Forms if the form is submitted with the affiliate’s own account
- Tweak: Affiliate status is now shown and editable on the Edit Affiliate screen
- Tweak: Updated all export and migration routines to use new batch processing API
- Tweak: Removed the fixed width from form input fields in the Affiliate Area
- Tweak: PayPal Button referrals now automatically rejected when a refund is processed
- Tweak: Updated text through out admin area to improve consistency
- Tweak: Referrals export now includes affiliate’s first name, last name, and username
- Fix: Improved sanitization of fields when updating referral records
- Fix: affwp_add_referral() does not support passing in the visit_id
- Fix: WooCommerce integration: C.O.D. orders do not create unpaid referrals
- Fix: WooCommerce integration: shop pagination breaks when referral variable is the same as the site’s tld
- Fix: Deleting data during plugin uninstall does not remove all data
- Fix: License key cannot be reliably deactivated and/or removed from settings
- Fix: PayPal Button integration: IPN verification fails if any field value contains slashes
- Fix: Error in display when listing creatives via wp-cli
- Fix: reCAPTCHA field breaks if enabled in AffiliateWP and Gravity Forms
- Fix: Affiliate export tool fails on large sites with a lot of affiliate accounts
- Fix: Added missing inline documentation for all actions and filters in the plugin
- Fix: Improved reliability of affiliate name search fields through out the admin
Version 1.9.8, January 4, 2017
- New: Added new option in Misc settings to opt into beta releases for AffiliateWP
Version 1.9.7, December 19, 2016
- Fix: Date picker fields do not work when in a language other than English
Version 1.9.6, December 15, 2016
- New: Added support for user-defined locales in WordPress 4.7+
- Tweak: affwp_add_creative() should return the creative ID on success
- Fix: Only enqueue dashicons CSS on the front end when necessary
- Fix: Active tab not properly returned if the default is removed
- Fix: ‘Affiliate Added’ notice is incorrect when manually adding an affiliate
- Fix: Spaces should be encoded when generating affiliate links
- Fix: Commas in referral descriptions can sometimes break output in CSV exports
Version 1.9.5.1, November 17, 2016
- Fix: The reCAPTCHA script isn’t getting enqueued
Version 1.9.5, November 15, 2016
- New: Add support for LifterLMS 3+
- New: Add the ability to register fields for REST endpoints
- New: Add currency support for the Kazakhstani tenge (KZT)
- Tweak: Make it possible to disable the Affiliate Approval email from the user profile editing screen
- Tweak: Record which user generated a payout and display that information in Payouts views
- Tweak: Improve performance on Reports screen tabs
- Tweak: Make it possible to retrieve meta via the affiliates REST endpoints
- Tweak: Enable greater control over how core AffiliateWP scripts and styles are enqueued
- Tweak: Improve the completion notice shown after performing a user migration
- Tweak: Display completion notices after performing affiliate migrations for Affiliates Pro and WP Affiliate
- Tweak: Improve the workflow of entering website URLs during affiliate registration
- Tweak: Make it possible for the Log Out link in the Affiliate Area to always be last
- Tweak: Set reasonable default limits for core REST endpoints
- Tweak: Make WooCommerce product records for referrals filterable
- Tweak: Make individual rows filterable during referral exports
- Fix: Coupons are incorrectly linked to the admin affiliate by default
- Fix: Undefined variable user_id when viewing coupons for EDD, iThemes Exchange, LifterLMS, MemberPress, Paid Memberships Pro, Restrict Content Pro, and WooCommerce
- Fix: Restore the affwp_referral_action_links filter to the Referrals list table
- Fix: License keys sometimes can’t be activated
- Fix: Author for the Affiliate Area page should not default to the first user
- Fix: Ensure hooks fire during deletion operations for all core AffiliateWP objects
Version 1.9.4, October 20, 2016
- New: Add a {campaign_name} email tag
- New: Expose ‘Promotion Methods’ information entered during affiliate registration in Affiliate > Edit
- Tweak: Add Referral ID column to the Payout > View screen
- Tweak: Update the ‘Earnings’ column in the referrals table to ‘Paid Earnings’
- Tweak: When filtering visits by affiliate, the affiliate name should show in the filters
- Tweak: Display Payout time in addition to date in Payout > View
- Tweak: Update the translation for Traditional Chinese
- Tweak: Remove a redundant existing affiliate check in affwp_add_affiliate()
- Tweak: Allow campaign query caches to be invalidated by core object CRUD operations
- Fix: Campaign names with spaces cause wonky behavior when generating URLs
- Fix: Avoid a notice on the user_id when adding a new WooCommerce coupon
- Fix: Affiliate autocomplete doesn’t scale beyond 9,999 affiliates
- Fix: Editing a referral causes a white screen in certain circumstances
- Fix: Wrong affiliate ID/username is shown in the Affiliate > Edit screen
- Fix: Some strings in the Overview screen aren’t translated
Version 1.9.3.1, October 5, 2016
- Fix: Referrals Edit screen is whitescreening due to a miscalculated variadic parameter
Version 1.9.3, October 5, 2016
- Tweak: Message shown to non-affiliate administrators when viewing the Affiliate Area
- Tweak: Affilate name now linked to affiliate edit screen and a separate Edit User link has been added
- Fix: PayPal integration sometimes causes issues with non-PayPal form submissions
- Fix: Product rate settings not being respected
- Fix: Administrator’s username being shown in affiliate coupon settings by default
Version 1.9.2, October 2, 2016
- Tweak: Display an affiliate’s referral URL on their Edit Affiliate screen
- Fix: Fatal error/memory exhausted when exporting affiliates or referrals
- Fix: Fatal error on Reports screen for PHP 5.3
- Fix: Some forms including WooCommerce registration not submitting as expected when the PayPal integration is enabled
- Fix: Incorrect filter name is used in the Payouts list table
- Fix: Properly display commission rates based on global settings
Version 1.9.1, September 27, 2016
- Fix: Incorrect referral amount for flat rate referrals
- Fix: Fatal error while calculating affiliate rates in certain scenarios
- Fix: Undefined variable when purchasing through PayPal Express with WooCommerce
- Fix: Admin list tables do not show any information when site is in a language other than English
- Fix: Payout details view shows referrals not included in the payout
Version 1.9.0.1, September 26, 2016
- Fix: Remote posts firing over and over due to transient not being set
Version 1.9, September 26, 2016
- New: Introduced read-only REST API
- New: Greatly enhanced Reports page
- New: Added integration for PayPal buttons
- New: Added integration for OptimizeMember
- New: Added per-variation referral rate options to WooCommerce integration
- New: Added option to disable renewals on license upgrades in Easy Digital Downloads integration
- New: Added option to disable renewals on specific subscription levels in Restrict Content Pro integration
- New: Added affiliate coupon tracking to Gravity Forms integration
- New: Added affiliate Payout log tracking
- New: Added new {landing_page} email tag
- New: Added new {referral_rate} email tag
- New: Added new {review_url} email tag
- New: Added Screen Options for controlling visible columns on all AffiliateWP list tables
- New: Added WP-CLI commands
- New: For developers: Added base metabox class for developers
- New: For developers: Added object models for affiliates, referrals, visits, creatives, and payouts
- Tweak: Improved affiliates list table columns
- Tweak: Stats shown above graphs in Reports now reflect the selected date range
- Tweak: Signup fee for Recurring Payments now properly supported in Easy Digital Downloads integration
- Tweak: CSV export for affiliates now includes first and last name
- Tweak: [affiliate_referral_url] now defaults to the current page’s URL
- Tweak: Email and username fields now display on registration form when logged in but are shown as read-only
- Tweak: License key activation process now displays error messages
- Tweak: License key can now be defined in wp-config.php
- Tweak: Affiliate username field now has a 60 character max limit on registration
- Tweak: [affiliate_conversion_script] now supports a “campaign” parameter
- Tweak: Minimum WordPress version now set to 4.4
- Tweak: For developers: affiliates, creatives, referrals, visits, and payouts can be queried by ID(s)
- Tweak: For developers: affwp_pre_delete_{object} now fires before deleting an object
- Tweak: “Reports” buttons added to data management screens for easy navigation
- Fix: User with necessary capabilities cannot save settings
- Fix: Improper redirect to blog archive when adding referral variable to site URL
- Fix: Visits and cookies not stored properly when using fallback tracking with pretty affiliate URLs
- Fix: Conflict with Simple Page Tester plugin that resulted in blog archive being shown
- Fix: Not all users imported properly with user account migration tool
Version 1.8.8, September 2, 2016
- Fix: Avoid an error notice when a user is deleted
- Fix: Adjust styling in the welcome screen following changes in WordPress 4.6
- Fix: User migration tool only migrates the first 100 users
- Fix: Add a missing method in the Sprout Invoices integration
- Fix: Remove duplicate inline update row following changes in WordPress 4.6
- Fix: Avoid undefined function notice for affwp_get_pages() in some edge-cases
- Tweak: Updated Arabic translation
- Tweak: Use more intuitive date and time formats in the Affiliate Area Visits tab
- Tweak: Switch out the Iranian Toman currency for the Rial
- New: Add System Info tab to the Tools screen
- New: Add a Miscellaneous option to add a logout link to the Affiliate Area
Version 1.8.7, August 3, 2016
- Fix: Non-AffiliateWP query args are getting erroneously removed
- Tweak: Allow site admins to see affiliate’s submitted “Website URL” in the Edit Affiliate screen
- Tweak: Updated Spanish translation
Version 1.8.6, August 2, 2016
- Fix: Port number is sometimes shown in URL when fallback tracking is enabled on sites using SSL
- Fix: Duplicate email notifications sent to affiliates when active status is toggled
- Fix: Referrals not recorded for free trials in MemberPress
- Fix: Welcome email not sent when new user and affiliate are created from the Users > Add New screen
- Fix: No user capability for exporting affiliates and referrals
- Fix: Incorrect referral amounts when decimal separator is set to a comma
- Fix: Ninja Forms 3 compatibility
- Fix: CSV cells terminated early when referral descriptions include a comma
- Fix: Incorrect column name specified when querying referrals by “referral_id”
- Fix: Referrals generated by subscriptions in Zippy Courses set incorrectly to Pending
- Tweak: Updated Russian translation
- Tweak: Updated Spanish translation
- Tweak: Added affwp_insert_pending_referral filter to Restrict Content Pro integration
- Tweak: Added status_count() method to database class
- Tweak: Product rates in WooCommerce now have their own dedicated tab
- Tweak: Added Iranian Toman currency
- Tweak: Integration / context now shown on Referral edit screen
Version 1.8.5, July 6, 2016
- Fix: Missing visit-date class in forms.min.css file
- Fix: Product descriptions missing in MarketPress 3.x integration
- Fix: Fatal error when a referral is revoked in MarketPress integration
- Fix: Reference link incorrect in MarketPress 3.x integration
- New: Added Taiwan translation
- New: Added Tunisian Dinar currency
Version 1.8.4, July 1, 2016
- Fix: Incorrect colspan on Visits tab of affiliate area
- Fix: Referrals not marked as Unpaid for recurring subscriptions in MemberPress
- Tweak: Changed admins to admin in email settings
Version 1.8.3, June 27, 2016
- New: LifterLMS integration for courses, subscriptions, and coupon tracking
- New: Specify a date when manually adding referrals
- New: Globally enable debug mode by setting a new AFFILIATE_WP_DEBUG constant in wp-config.php
- Tweak: Display the visit date and time in the Visits tab in the affiliate area
- Tweak: Support MarketPress v3.0+
- Fix: Pagination links are rewritten incorrectly in some cases
- Fix: Trial coupon commissions in MemberPress are calculated using the non-trial amount
- Fix: Logged-in users can still register as affiliates if registration is disabled
- Fix: The license key cannot always be deactivated
- Fix: Shipping tax is not calculated in affiliate commissions in WooCommerce
- Fix: Admin reminder notices are sometimes visible to non-admins
Version 1.8.2, June 8, 2016
- New: Add currency support for the Argentine peso and the Ukrainian Hryvnia
- Tweak: Update the Malay and Vietnamese translations
- Tweak: Update the jquery.flot.resize.js plugin
- Tweak: Make the active tab accessible to all hooks in the affiliate dashboard
- Fix: When filtering visits by affiliate, the affiliate name doesn’t persist
- Fix: When filtering visits by converted or unconverted, results are not filtered
- Fix: Decimals are not displaying correctly in the affiliate dashboard Stats tab
- Fix: Some referral fields are displaying escaped data
Version 1.8.1, May 18, 2016
- Fix: WooCommerce pagination fails when a referral URL is used on taxonomy archive pages.
- Fix: Visit counts for affiliates are not decremented when visits are deleted.
- Fix: Version number stored in database is not incremented during updates if no upgrade routine is run.
- Fix: Affiliate Area shows blank page if Affiliate URLs tab is removed.
- New: Added support for Saudi Riyal currency.
Version 1.8, May 5, 2016
- New: Introduced new filters to hide/show Affiliate Area tabs
- New: Affiliates can now be added when registering users
- New: Expired or invalid license reminder can now be dismissed temporarily
- New: Affiliate usernames are now displayed in Affiliates > Affiliates
- New: Search by affiliate username in Affiliates > Affiliates
- New: Improved interfaces throughout for choosing existing affiliates
- New: Jigoshop integration has been expanded to cover coupon tracking
- New: Affiliate registration date and name are now displayed in the Edit Affiliate screen
- New: Paid Memberships Pro integration now supports per-level rate settings
- Tweak: Improved compatibility with internationalization plugins
- Tweak: Improved the workflow for deleting affiliates
- Tweak: Text field for Creatives was expanded to accept more characters
- Tweak: Affiliate statuses are now translatable
- Tweak: Improved display on the Visits tab in the Affiliate Area
- Fix: Referrals from WooCommerce COD orders are now marked ‘pending’
- Fix: Referrals from free Formidable Pro orders are now marked ‘unpaid’
- Fix: Referrals from PayPal for WooCommerce are now marked ‘unpaid’
- Fix: Prevent the ‘Referral Variable’ field from being empty
- Fix: Fix sorting of several columns in the Affiliates table
- Fix: The Migration Assistant user accounts tool now handles migrating existing users
- Fix: Made the Migration Assistant user accounts tool compatible with Affiliates Pro
- Fix: Fix Visit counts from incrementing arbitrarily
- Fix: Per-affiliate referral rate type is now respected
- Fix: Shop page for WooCommerce is now compatible with pretty referrals
Version 1.7.18, April 19, 2016
- Fix: Bug with affiliate meta table’s get_column_by() method resulting in no data being returned.
Version 1.7.17, April 15, 2016
- Fix: Redirect conflict with account registration and OptimizeMember
- Fix: Conflict with wpMandrill and emails sent through AffiliateWP
- Tweak: Improved default values for arguments passed into DB query methods
- Tweak: Improved inline documentation for database classes
- New: Added affwp_affiliate_dashboard_urls_top hook to Affiliate Area template file
Version 1.7.16, March 10, 2016
- Fix: Affiliate flat rate not used unless custom rate is also set
- Fix: Conflict with OptimizeMember redirect
- Fix: Flat rate commissions skipped on 0.00 products
Version 1.7.15, March 7, 2016
- New: Introduced an Add-ons page for viewing AffiliateWP Add-ons
- New: Added option to define the default referral URL shown in the Affiliate Area
- New: Added a Debug Assistant tool for aiding in the identification of problems in referral tracking
- Tweak: Updated German translation
- Tweak: Updated Portuguese translation
- Tweak: Properly support more than two decimal places for referral totals
- Remove getimagesize() call from the creatives.php template file
- Tweak: Update license activation and validation URLs to use HTTPS
- Fix: 0.00 referrals not recorded in Paid Memberships Pro
- Fix: save_meta() in WooCommerce integration missing nonce field
- Fix: reCaptcha not shown on stand-alone affiliate registration form
- Fix: Undefined variable in get_affiliate_id() method of the Affiliate_WP_Tracking class
- Fix: Extreme performance problems due to license validation if affiliatewp.com goes down
Version 1.7.14, January 15, 2016
- New: Searching by email now includes payment_email column
- New: Referral description now included in referral export
- New: Added new filters to affiliates, referrals, and visits tables
- Tweak: Change ID column to Affiliate ID
- Fix: Visits not recorded properly if campaign name is longer than 30 characters
- Fix: Usernames that are email addresses do not display properly in affiliate area
- Fix: Typo for “affiliate_activated”
- Fix: Website URL is not required when logged in
- Fix: URLs in Visits table should not include pretty referral variables
- Fix: Fatal error on get_column_by() function when certain plugins are activated
- Fix: Affiliate cookies do not get set if expiration is greater than year 2038
Version 1.7.13, January 1, 2016
- Fix: Referrals sometimes created without a status
- Fix: Admin header text unstyled in WordPress 4.4
- Fix: PHP warning in Paid Memberships Pro when a discount code is not used
- Fix: Ajax search of users database struggles on large databases
- Fix: Incorrect column span on table when there are no referral records
- Fix: Affiliate welcome email sent even when option not enabled when manually adding affiliate accounts
- Fix: Wishlist Member blocks emails and redirects improperly
- New: Added an Arabic translation
- Tweak: Make forms.css file easier to dequeue
Version 1.7.12, December 11, 2015
- Fix: Hyphens and dashes not allowed in referral variable settings
Version 1.7.11, December 10, 2015
- Fix: referral tracking not updating to Unpaid in Restrict Content Pro
- Fix: Fallback referral tracking not working properly with pretty affiliate URLs
- Fix: User capability to export data cannot be changed
- Fix: Duplicate “Application Rejected” setting
- Tweak: Referring affiliate and referral ID and amount now shown in Paid Memberships Pro order screen
- Tweak: Updated language files
Version 1.7.10, November 22, 2015
- Fix: Incorrect referral rates in Restrict Content Pro
- Fix: Incorrect referral rates in Zippy Courses
- Fix: Incorrect referral descriptions in Gravity Forms
- Fix: Affiliates allowed to earn referrals on purchases using their own email in iThemes Exchange
- Fix: Changes to base integration class to facilitate a fix for incorrect commission rates in Lifetime Referrals
- Fix: Referrals not generated in Zippy Courses when using PayPal
- Fix: Currencies not listed in alphabetical order
Version 1.7.9, November 9, 2015
- Fix: PHP Fatal error with iThemes Exchange integration if iThemes Exchange is not activated
- Fix: PHP Fatal error with MemberPress integration if MemberPress is not activated
- Fix: Creatives cannot be deactivated or activated
- Fix: Incorrect label for Campaign field in Affiliate Area
- Fix: Undefined index notices with Paid Memberships Pro if no discount code is used
- Fix: “Your affiliate profile has been updated” notice does not go away
- Fix: Credit Last Referrer option breaking referral tracking
Version 1.7.8, October 26, 2015
- New: Added option to send welcome email when manually adding affiliate accounts
- Fix: Approval email not sent when affiliates are automatically approved
- Fix: Deprecated notice in iThemes Exchange integration
- Fix: reCaptcha not shown on stand-alone registration form
- Fix: Pretty referral URLs broken on some pages for iThemes Exchange
- Fix: Pretty referral URLs not working in some cases for WooCommerce and Easy Digital Downloads
- Fix: PHP Warning Creating default object from empty value
- Fix: 404 error on referral URLs when AffiliateWP is deactivated and activated
- Fix: “Credit Last Referrer” option incorrectly generates multiple visit IDs
- Fix: Referrals not marked as unpaid in Gravity Forms when the form does not contain a product
- Fix: Referral description is blank when no products are included on the form
Version 1.7.7, October 13, 2015
- Fix: Campaign tracking not working properly
- Fix: Referrals cannot be marked as paid/unpaid/rejected individually
- Fix: Affiliates cannot be marked as accepted/rejected/active/inactive individually
- Fix: Incorrect action hook name in dashboard-tab-stats.php
- Fix: Incorrect name for WP eCommerce integration
- Fix: Referrals not created properly in iThemes Exchange
Version 1.7.6, October 9, 2015
- Fix: Fatal error on some sites due to using empty() in write context
Version 1.7.5, October 9, 2015
- New: Added integration for WP Invoice
- New: Added affiliate coupon tracking to MemberPress integration
- New: Added affiliate coupon tracking to Paid Memberships Pro integration
- New: Affiliates can now log in with an email address
- New: Added Unpaid Referrals column to affiliates page
- New: Added pointer cursor style to form labels
- New: Spanish (Spain) and Portuguese (Brazil) translations
- Fix: Referrals not marked as complete when using PayPal in iThemes Exchange
- Fix: Lifetime Commissions not tracking commissions
- Fix: Login and Registration forms had duplicate field IDs
- Fix: Prevent numeric usernames during registration
- Fix: Missing nonce checks in process_bulk_action() methods
- Fix: Missing words and typos
- Fix: Ensure usernames do not contain spaces during registration
Version 1.7.4, September 28, 2015
- Fixed: Registering users as affiliates automatically not working properly
- Fixed: PHP notice if affiliate ID not supplied when using fallback tracking method
- Fixed: Referrals cannot be enabled in Gravity Forms
- Fixed: Missing text strings in translation files
Version 1.7.3, September 23, 2015
- Fixed: Bug in upgrade routine for referral rates
Version 1.7.2, September 21, 2015
- Tweak: Improved performance impact of AffiliateWP on non-affiliate URL pages
- Tweak: Improved verification process of affiliate IDs when tracking affiliate URLs
- Fix: Undefined index “campaign” on URLs without a campaign parameter
Version 1.7.1, September 18, 2015
- Fix: Referral variable cannot be changed in settings
Version 1.7, September 17, 2015
- New: URL Campaign tracking with full statistics in Affiliate Area
- New: Affiliate rejection emails
- New: Option to disable emails
- New: Option to credit the last referrer
- New: Option to disable referrals for specific forms in Gravity Forms and Ninja Forms
- New: Referral information now displayed on order screen of Paid Memberships Pro
- New: Per membership commission rates for Restrict Content Pro and MemberPress integrations
- New: Option to configure the number of items shown per page in admin screens for Affiliates, Referrals, Visits, and Creatives
- New: Affiliate accounts can now be created with any status
- New: Integration for WP EasyCart
- New: Integration for s2Member
- New: Integration for Zippy Courses
- New: reCaptcha version 2.0 now supported on registration screens
- New: User import now supports importing just users of a specific role
- New: User searching when creating affiliate accounts is now more reliable
- New: Template file for creatives
- Fix: URL fragments improperly removed with [[affiliate_referral_url]] shortcode and URL generator in [[affiliate_area]]
- Fix: Pretty permalinks cause 404 error on taxonomy archive pages
- Fix: Creative previews are cropped improperly
- Fix: Website URL field on registration form can be bypassed by entering a space
- Fix: Shortcodes not registered properly during AJAX requests
- Fix: Affiliate emails sent to payment email instead of account email
- Fix: Incorrect total items count when filtering Visits table
- Fix: Lower Delete bulk action not working properly
- Fix: Referral rates cannot be set as 0
- Fix: Fatal error during updates with iThemes Sync plugin
- Fix: Emails not sent properly during automatic affiliate registration
- Fix: Settings not properly sanitized during save
- Fix: Commission rates set as 1% get changed to 100%
- Fix: Missing and incorrect text domains on some text strings
- Fix: No admin notice shown when referral is deleted
Version 1.6.5, July 19, 2015
- Fix: fatal error when Gravity Forms integration is enabled but Gravity Forms plugin is not activated
- Fix: stray comma in referral descriptions for Easy Digital Downloads integration
- Fix: referral description blank when referral is 0.00 in Easy Digital Downloads integration
- Fix: incorrect URL with referral URL generator when using separate affiliate area shortcodes
- Fix: PHP notice
- Fix: Paid Membership Pro integration uses wrong transaction ID for connecting referrals to orders
Version 1.6.4, June 25, 2015
- Tweak: Improved spacing of elements in the Affiliate Area
- Fix: affiliate_creative short code not displaying images and links properly
- Fix: Missing borders on input and textarea fields with some themes
Version 1.6.3, June 6, 2015
- Fix: referrals of affiliate could not be filtered by status
- Fix: improved default CSS for PRE tags
- Fix: long URLs could flow outside of Affiliate Area
- Fix: conversion script short code not properly ignoring $0.00 referrals
- Fix: PHP warning , number_format()
- Fix: incorrect referral amount when using per-product rates with the Tiered Affiliate Rates add-on
- Fix: PHP warning on affiliate conversion script short code with 0.00 amounts
- Fix: pagination missing on filtered affiliates table
- Fix: MemberPress tracking now working with latest MemberPress version
- Fix: 404 errors with pretty affiliate URLs on some sites
- Fix: No products showing on front page of WooCommerce site when viewing URL with pretty affiliate ID passed
- Tweak: query strings now supported affiliate referral URL short code
- New: introduced filter for affwp_notify_on_new_referral
- New: affiliate’s username now shown on Edit affiliate screen
Version 1.6.2, May 4, 2015
- Fix: Application approved email not sent to affiliates
- Fix: Duplicate referrals created in MemberPress
- Fix: Referrals not tracked on MemberPress subscriptions
- Fix: Affiliates cannot be removed from discounts
- Fix: Conflict with OptimizeMember user queries
- New: Added new hooks add/edit affiliate screens
- Tweak: Updated German translation files
- Tweak: Email $args now includes $referral object
- Tweak: Main class now loaded during plugins_loaded
Version 1.6.1, April 15, 2015
- Fix: Referrals on subscription signups not tracked in MemberPress
- Fix: “How will you promote us?” field improperly marked as required
- Fix: PHP notice when deleting referrals
- Fix: Non escaped URLs in the admin could be potentially manipulated
- Tweak: Improved error message during registration when username is invalid
- Tweak: Improved flexibility of the affwp_get_affiliate_referral_url() function
- Tweak: Removed unneeded labels from the Review application screen
- New: Added new action hooks to the review application screen
- New: Added {referral_url} and {affiliate_id} email tags
- New: Added options for configuring the Application Pending and Application Rejected emails
Version 1.6, April 9, 2015
- New: Integration with Ninja Forms
- New: Integration with Formidable Pro
- New: Integration with Sprout Invoices
- New: Integration with MarketPress
- New: Email configuration options and template files
- New: Add filter that allows affiliates to receive commissions on their own sales, if enabled
- New: Improved options for configuring / displaying referral URLs to affiliates
- New: Introduced affwp_referral_status() function
- New: Introduced a metadata API for affiliate accounts
- New: Improved hooks for creatives
- New: Added products column to the referrals database so exact product IDs, amounts, and referral amounts can be tracked
- New: Added before/after loaded hooks for integrations
- New: Added an option to disable referrals on renewal purchases in Easy Digital Downloads
- New: Added support for sorting Referrals table
- Tweak: Improved markup for the Creatives section of the Affiliate Area
- Tweak: Added minified version of jquery.cookie.js
- Tweak: Added affiliate’s username to the CSV export file
- Tweak: Moved the log_user_in() call further down in the registration process
- Fix: Referrals created with “paid” status in the conversion script short code do not increase earnings or trigger email alerts
- Fix: Affiliates can earn referrals by purchasing with their payment email
- Fix: Date queries not working properly when start / end date fall on the same day
- Fix: Commission adjustment in Easy Digital Downloads not calculated properly when order contains multiple products
- Fix: Currency signs not stripped from amount field before stored in the database
- Fix: Not all creatives shown in the Affiliate Area
- Fix: Most Valuable Affiliates not showing affiliates with highest earnings
Version 1.5.7, March 16, 2015
- Fix: SQL injection security flaw. Please update.
Version 1.5.6, March 14, 2015
- Fix: Bug with new affiliate registration notifications
- Tweak: Introduced affwp_get_referring_affiliate_id filter
Version 1.5.5, March 9, 2015
- Tweak: Updated French translation files
- Tweak: Stricter tests in is_valid_affiliate()
- Fix: Check that affiliates are active when redeeming a coupon connected to an affiliate
- New: affwp_tracking_get_affiliate_id filter
Version 1.5.4, March 4, 2015
- Fix: referrals not being tracked in MemberMouse when paying through PayPal
- Fix: several minor security fixes
Version 1.5.3, February 18, 2015
- Fix: search results on WooCommerce Coupon screen is hidden behind the container
- Fix: referral amount in WooCommerce with coupon codes are incorrect in WooCommerce v2.3+
- Fix: affiliates page cannot be sorted by name
- Fix: notices during plugin activation
- New: added Hungarian translation file
Version 1.5.2, January 26, 2015
- Fix: bug with duplicate referrals getting created in WooCommerce
- Fix: bug that caused Failed and Cancelled orders to not be rejected in WooCommerce
- Fix: bug that caused referrals export to CSV to fail
- New: introduced affwp_post_update_{type} action
Version 1.5.1, January 19, 2015
- Fix: Fatal error with older versions of iThemes Exchange
Version 1.5, January 5, 2015
- New: introduced Referrals tab for Affiliate Area
- New: referral records can now be edited
- New: account approval emails now sent when manually adding an affiliate
- New: iThemes Exchange now supports per-product rates
- New: MemberPress integration
- New: support for excluding shipping costs from referral calculations
- Tweak: URL and Promotion methods are now required when logged-in user registers as an affiliate
- Tweak: better error message during login if password or username is incorrect
- Fix: custom affiliate referral rates not used when per-product rate is set
- Fix: MemberMouse referral description is blank
- Fix: usermeta is now deleted when affiliate is deleted
- Fix: referrals now properly rejected if WooCommerce order is deleted
1.4.3, December 14, 2014
- Fixed a bug that caused add-on update checks to run on every page load of plugins.php when using multisite.
1.4.2, December 11, 2014
- Fixed a bug with the website URL field showing on the review screen even if none was entered
- Fixed a bug that prevented affiliate rates from having more than two decimal places
- Fixed a bug that caused manually created referrals to not properly increment earnings
- Fixed a bug with the referral_id column not having a default value
- Tweaked the Easy Digital Downloads integration to better facilitate multi-currency stores
1.4.1, December 1, 2014
- Fixed a bug with referral calculations and discount codes in WooCommerce
- Added the $export_type property to the referral payout export class
- Added proper HTTP response codes to all instances of wp_die()
- Fixed a bug with the pagination on the Visits table in the Affiliate Area
- Fixed an error with the MemberMouse integration
1.4, November 6, 2014
- Added support for excluding sales tax from referral calculations
- Fixed a bug with the Paid Memberships Pro integration that caused referrals to not be marked as Unpaid automatically
- Fixed an incorrect referral amount when using coupon tracking with WooCommerce
- Fixed a bug with the [[affiliate_referral_url]] shortcode
- Fixed a bug with referral URL tracking on the home page when it is set to display a static page
- Fixed a bug with the converstion script shortcode and 0 amounts
- Fixed a bug with the PayPal Express gateway and Paid Memberships Pro
- Fixed improper pagination on the Referrals table when it is filtered by an affiliate
1.3.2, October 29, 2014
- Fixed a bug with the plugin updater that caused updates to run too frequently
- Fixed a bug in the MemberMouse integration that caused an error message to be displayed during registration
- Fixed a bug with the WooCommerce integration that caused referral descriptions to not be shown properly
- Fixed a bug in the iThemes Exchange integration to fix an issue with the Lifetime Commissions extension
1.3.1, October 16, 2014
- Fixed incorrect payment note in Easy Digital Downloads integration
- Fixed issue with home page loading blog posts when loaded with a referral variable present
1.3, October 14, 2014
- New: Introduced the ability to disable referrals on a per-product basis for integrations that support per-product referral rates
- New: Introduced pretty affiliate URLs, e.g. site.com/page-name/ref/affiliatename. See documentation.
- New: Introduced Coupon tracking for iThemes Exchange
- New: Introduced full support for Gravity Forms payment tracking
- New: Introduced new “affwp_get_{integration}_order” filters for all integrations
- New: Introduced several new currency codes
- New: Introduced a “Description” field for affiliate Creatives
- New: Introduced a migration assistant tool for the WP Affiliate plugin
- New: Introduced a migration assistant tool for importing existing user accounts as affiliates
- Tweak: Allow a user ID to be given to an existing affiliate if none exists
- Tweak: affwp_add_referral() now supports passing a user ID or an affiliate ID
- Tweak: [[affiliate_referral_url]] short code now accepts custom URLs
- Fix: Pagination missing from Creatives tab of Affiliate Area
- Fix: Fatal error call to undefined function cal_days_in_month()
- Fix: affwp_get_affiliate_rate_type() should use the global rate if the affiliate’s rate is not set
- Fix: Incorrect referral amount when using an affiliate coupon in Easy Digital Downloads and an affiliate ID cookie is set
- Fix: Rate type is not saved when first creating affiliate accounts
- Fix: Incorrect referral rate used when using an affiliate coupon in Easy Digital Downloads
- Fix: Syntax error in German translation files
- Fix: Affiliate URL field missing from the registration form if user is already logged in
- Fix: Improper affiliate rate saved in Easy Digital Downloads on new products
1.2.7, September 22, 2014
- Important security update
- Fix: admin users could accidentally delete their user accounts when deleting their own affiliate account
1.2.6, September 19, 2014
- Tweak: Changed the website URL input to a “text” type
- Fix: PHP notice when redeeming an affiliate discount through EDD
- Fix: Filtering the graph in the affiliate area reloads the wrong tab
1.2.5, September 9, 2014
- Per-affiliate rate not respected
- Affiliate names not getting recorded in WooCommerce order notes
- PHP notices during registration
1.2.4, August, 29, 2014
- Bug: Visits not being marked as Converted in WooCommerce
- Bug: HTML markup invalidation in the German translation
- Bug: Slashes not stripped from Creative titles and descriptions
- New: Added several new currency codes
- New: Added an option to export Affiliate accounts to a CSV
1.2.3, August 19, 2014
- Bug: Visits section in Affiliate Area only showed one visit per page
- Tweak: Updated translation files for numerous languages
1.2.2, August 11, 2014
- Bug: Coupon tracking with WooCommerce didn’t properly create referrals
- Bug: Gravity Forms referral tracking with the conversion script short code created all referrals with an amount of 0.00
1.2.1, August 6, 2014
- Bug: Creatives database failed to be created during plugin upgrade
1.2, August 5, 2014
- New: interface for creating affiliate creatives
- New: added Primary URL and Promotional Method fields to the registration form
- New: affiliate review screen for accepting or rejecting affiliates
- New: affiliate email addresses can now be edited from the affiliate edit screen
- New: retain registration form field values upon submission when there are errors present
- New: added a redirect parameter to the login and register form short codes
- New: added an update successful message when settings are saved
- New: option to delete user accounts when affiliate accounts are deleted
- New: reworked the Affiliate Area and added a tabbed interface
- New: added new hooks to the affiliate dashboard
- New: added integration with EDD Commissions to automatically adjust the commission rate when a referral is present
- New: added new hooks to the insert_pending_referral()
- New: added an option to filter the visits page by a specific affiliate
- New: added support for searching visits
- New: added a contextual help tab to the Visits page
- Tweak: automatically disable the TOS field if no TOS page is selected in settings
- Tweak: filter referrals by the specified admin when clicking on the affiliate’s name
- Tweak: added a filter to force referrals to be remain pending
- Tweak: added a filter to disable the creation of referrals
- Bug: display issues with the affiliates page on small screens
- Bug: invalid username error displays twice
- Bug: does not fix the end of Battlestar Galactica
- Bug: referrals could be created by inactive affiliates
- Bug: affiliate referral rate doesn’t support non-whole numbers
- Bug: no confirmation message when deleting an affiliate
1.1.4, June 30, 2014
- Fixed an undefined variable in the Membermouse integration
- Fixed a bug with the “Custom” date range in Reports
1.1.3, June 11, 2014
- Fixed a bug with inaccurate Unpaid Earnings for affiliates
- Updated es_ES translation file
- New id_ID translation file
1.1.2, May 31st, 2014
- Fix: Not all referrals included in payout file generation
- Tweak: Added a filter to the email address that gets new affiliate registration notifications
1.1.1, May 30th, 2014
- Fix: Visits not getting marked as Converted in iThemes Exchange
- Fix: Affiliate names not showing on affiliate registration notice email
- Fix: Setting to require affiliate approval not working properly
- Tweak: Allow the affiliates overview queries to be filterable
1.1, May 23, 2014
- New: Added support for affiliate coupon tracking in WooCommerce, Easy Digital Downloads, and Restrict Content Pro
- New: Introduced a [non_affiliate_content] short code
- New: Added an option to set the referral cookie expiration time
- New: Added an email notification for pending affiliate registrations
- New: Added support for the Korean Won currency
- New: Added support for setting a minimum amount when generating the referral payout file
- New: Added support for flat rate referrals
- New: Added an option to automatically register new user accounts as affiliates
- New: Added a widget to the Overview page to show the top 5 most valuable affiliates
- New: Added short codes for the login and registration forms separately
- New: Added an Affiliate Registrations graph to the Reports page
- New: Several new action hooks and filters
- Tweak: Added a link to the User profile page from the Affiliates page for each affiliate
- Tweak: Adjusted the width of labels in the Affiliate Area for a better display
- Fix: Affiliate’s paid referrals count and earnings columns were improperly updated when pending referrals were created
- Fix: Total referral count was incorrect
- Fix: Visits graph didn’t properly display visits
- Fix: Compatibility issue with the PageLines DMS theme
- Fix: Invalid HTML markup in the Affiliate Area
- Fix: Price formatting was incorrect in the New Referral Awarded email
- Fix: Filtering visits by a specific affiliate didn’t work
- Fix: Empty referrals were getting created
1.0.6, April 19, 2014
- New: added support for manually creating referrals
- Fix: corrected an issue with the add-on updater system
- Fix: new referral notifications were not being sent
1.0.5, April 17, 2014
- Fix: missing .mo files
- New: added a French translation
- New: add-on updater API
- New: better support for network wide installs
- New: added [[affiliate_content]] short code
1.0.4, April 15, 2014
- Fix: a bug with the uninstall script that prevented the database tables from being deleted
- Fix: undefined index when saving setting when a custom tab is registered
- Tweak: the plugin is now not loaded on plugins_loaded but before
1.0.3, April 14, 2014
- New: added direct integration for MemberMouse
- New: added Spanish (Mexican) translation
1.0.2, April 11, 2014
- New: added a new Visits tab to the reports section to view visits overtime
- New: added an integration for Jigoshop
- Fix: corrected several textdomains
- Fix: poor formatting for the visits table when extra long URLs are shown
- Fix: conversion rate for affiliates was incorrectly calculated
- Fix: last letter of the From Name for the email notifications was cut off
- Tweak: improved the Affiliates Pro migration script
- Tweak: improved the position of the checkboxes in the affiliate area
Version 1.0.1, April 9, 2014
- New: a new [affiliate_referral_url] short code
- Fix: a bug with registering an affiliate account with an email that is already registered
- Tweak: set affiliate_wp() to load on the plugins_loaded hook
Version 1.0
- Initial release.