Changelog
AffiliateWP changelog
Every AffiliateWP release, and what changed in it. See what’s new
Changed 1
- Improve accuracy of the Affiliate Area link in the WooCommerce My Account navigation
Fixed 2
- Payouts and Visits exporter text need a small correction
- Website URL field on registration form is not always getting saved
Fixed 1
- Fatal error when viewing Visits screen on sites with a large number of visits.
Fixed 2
- Fatal error with BuddyPress - Cannot redeclare update_blog_status()
- Average referrals per payout shows as NAN
Added 5
Changed 11
- This is a major release, see our blog post for more information
- Leverage HTML5 validation on the affiliate registration form (#1919)
- Make it possible to short-circuit visit creation via a new
affwp_tracking_skip_track_visitfilter (#2049) - Bump the required WordPress minimum version to 4.5. (#2128)
- Add "Affiliate Area" link to WooCommerce's "My Account" page (#2108)
- Improved debug logging throughout (#2165)
- Make it possible to set the registration date and website URL fields when adding an affiliate (#2218, #2227)
- Add the ability to query for two or more fields for all core objects (#2254, #2256, #2263)
- Override the PayPal IPN URL with a new
AFFILIATEWP_PAYPAL_IPNconstant (#2245) - Making Referrals searchable by amount or description (#2265)
- Improve contextual help for adding text-only creatives (#2249)
Fixed 18
- Referrals less than 1.00 using a comma decimal separator create 0.00 referral amounts (#1972)
- Strings on login/registration not being localized/translated (#1993)
- Adding a new form in Contact Form 7 overrides the previous one (#2007)
- Contact Form 7 bypasses required fields when integration enabled (#2004)
- Referral link on homepage shows WooCommerce product message when Polylang is active (#2028)
- Credit Last Referrer does not work when fallback tracking is enabled (#2038)
- Fatal error/page not found depending on affiliate link structure with WP e-Commerce (#2077)
- Affiliate links show wrong page when "Front page displays" is set in WP e-Commerce( #2078)
- Page set as front page does not show with affiliate link when using BuddyPress Docs (#2086)
- Upgrade database notice appears on fresh installs (#2101)
- Restrict Content Pro's Prevent Account Sharing option is redirecting affiliates when logging in (#2118)
- Filtering date range/affiliate in Affiliates, Creatives, Payouts, Referrals, and Visits screens displays the entire "All" count (#2149)
- Some options rows are not being cleaned up during uninstall (#2159)
- The username is being escaped twice in
affwp_get_affiliate_username()(#2188) - The Totals meta box on the Overview screen sometimes times out (#2202)
- Empty referral amounts in the Recent Referrals meta box don't display properly (#2247)
- Rejected referrals not updated to Unpaid if associated order is completed (#1752)
- Integration code can cause fatal error if integration plugin is not activated (#2291)
Fixed 1
- Enabling the WooCommerce integration while WooCommerce is not active causes a fatal error in AffiliateWP 2.0.10.
Fixed 5
- Adding a payout sometimes results in database write errors
- Pretty affiliate URLs still don't always work on the WooCommerce shop page
- Earnings adjustments are sometimes skipped when updating referrals
- Attempt to enqueue tracking scripts alongside jQuery in header or footer
- Null insert error if no description specified in WP Simple Pay Pro 2.5 (Stripe) shortcode
Fixed 1
- Some affiliate registration emails are no longer sending after the 2.0.9 update
Security 1
- A cross-site scripting (XSS) vulnerability was discovered in relation to filtering referrals in the admin. Reported by Neven Biruski (DefenseCode).
Fixed 4
- "No products found" error on WooCommerce3.0+ shop page when pretty affiliate links are used
- Backwards compatibility fix for get_data() in export API
- Referrals not created when logged in user also has an affiliate account
- Status set twice in affwp_add_affiliate()
Fixed 3
- Incorrect amount calculation in Restrict Content Pro integration when discounts are used
- Referral tracking not working in Restrict Content Pro integration when discounts are used
- Current month view sometimes sets the wrong start and end day
Fixed 1
- Fatal error when attempting to access coupon IDs in pre-3.0.0 versions of WooCommerce
Fixed 3
- Referrals sometimes created with empty statuses in WooCommerce integration
- PHP notices shown during purchases when using WooCommerce 3.0+
- Email notifications include empty markup when no header text is set
Changed 5
- Support Stripe subscriptions (via WP Simple Pay)
- Update Dutch (nl_NL) translation
- Remove background styling on code blocks inside of creative HTML
- Make it possible to add information to the 'custom' field when manually adding a referral
- Allow plugins to extend the login form with password alternatives
Fixed 7
- Referrals are not being created in some circumstances
- Check that a pending referral has successfully been added before logging success
- Debug logging is not writing messages for integrations
- Can't bulk delete affiliates
- "Required Registration Fields" settings are not sticking
- User filter on export/import tab is searching non-affiliates
- PayPal redirect not working with Contact Form 7 when item price is left blank
Added 1
- Add Unpaid Earnings as an option to the Recount Stats tool
Changed 9
- Enhance the Affiliate URLs tab in the Affiliate Area
- Avoid checking the currently logged-in affiliate in the admin and during Ajax requests
- Add 'affwp_insert_pending_referral' filter to fallback tracking
- Include the Affiliate Area Forms setting in the System Info log
- Add pull request template and contributing guidelines to the AffiliateWP repository
- Abstract the batch processing registry for reuse elsewhere in core
- Use a simple registry for managing upgrade routines
- Rename the PayPal integration to PayPal Buttons
- Improve display of responsive images in the Creatives screen
Fixed 8
- Passive cache invalidation doesn't always work
- The 'Upgrade Database' notice shows up on fresh installs
- Avoid a warning with a hook used for Encyclopedia Pro compatibility
- Restrict Content Pro purchases sometimes creating referrals it shouldn't
- Avoid a syntax error when activated with Caldera Forms
- Avoid a warning from the deprecated 'safe_mode' INI directive
- Edit affiliate URL with ID of 0 shows an empty edit affiliate screen
- Datepickers don't work for custom date ranges in the Affiliate Area > Graphs tab
Changed 1
- Reverted change that fixed an issue with referrals less than 1.00 using comma decimal separator create 0.00 referrals. Will re-address soon.
Fixed 2
- Referrals generated as 0.00 or not at all for some sites
- Resolved possible infinite loop with the affwp_dismiss_notices hook
Changed 5
- Remove the "No reason provided" text from the rejection email if not set
- Add Credit Last Referrer setting to the system info data
- Update plugin updater class to v2.6.11
- Refactor get_affiliate_id_from_login() to reuse core functionality
- Make the log() method global
Fixed 4
- JS conflict on edit post/page when some page builder plugins are active
- Affiliate name filter on Visits screen not working
- PHP notice: Undefined index: path
- Incorrect referral URL generated when extra space added
Added 3
- Add Hindi (India) translation
- Add a new "context" field for visits
- Add filters to manipulate final payout amounts and CSV columns
Changed 9
- Only 20 campaigns are shown on the affiliate area
- Make Referral ID in Visits screen link through to corresponding referral
- Adjust debug log description
- Improve Edit Referral screen
- Update EDD_SL_Plugin_Updater to 1.6.10
- Add full test coverage for creatives db layer
- Add new Affiliate Registration Field to the system info file
- Add core object counts to system info log
- Add an action hook to process_bulk_action() method in affiliates list table
Fixed 8
- Conflict with plugin Encyclopedia Pro mangles the Creatives HTML block
- Replace generate_random_password deprecated function
- get_fallback_affiliate_id() duplicates code enhancement
- affwp_get_affiliate_conversion_rate() should use affwp_format_rate()
- Contact Form 7: Incorrect doc link bug
- Batch processing registry doesn't work for IIS servers
- Unpaid Referrals Today stat is wrong
- Amounts in Most Valuable Affiliates meta box aren't formatted
Fixed 3
- Batch processing registry doesn't work for IIS servers
- Unpaid Referrals Today stat is wrong
- Amounts in Most Valuable Affiliates meta box aren't formatted
Changed 1
- Update the Spanish translation (es_ES)
Fixed 4
- Re-minify JavaScript assets.
- JS error sometimes being outputted on the front end from the new JS debugger
- Editing a referral can sometimes disassociate it from its affiliate
- WooCommerce Coupon meta boxes cannot be toggled when AffiliateWP is active
Added 21
- Integration added for Stripe Checkout (through WP Simple Pay)
- Integration added for Give
- Integration added for Contact Form 7
- Integration added for Caldera Forms
- Integration added for WPForms
- Integration added for Paid Member Subscriptions
- Options to control which registration fields are required have been added to settings
- Options to enable/disable the log in and registration forms in the Affiliate Area have been added to settings
- Date range filters added to the referrals list table
- Conversion rate now shown on the Reports screen for individual affiliate accounts
- Introduced extensive meta capabilities for more fine-tuned control over user role capabilities
- REST API endpoints now include full schema
- Introduced a batch processing API for handling large data sets
- Payout logs can now be exported to a CSV file
- Added JavaScript debug data to browser console when debug mode is enabled
- Added Pakistani PKR to currency list
- Creatives now show thumbnail preview in the Creatives list table
- Unpaid earnings are now shown in the Affiliates list table
- Private, admin-only notes can now be added to affiliate accounts
- Payouts can be processed for individual affiliate accounts now
- Added support for blacklisting referral URLs to prevent referrals being created that come from those URLs
Changed 7
- Referrals are now automatically blocked in Gravity Forms if the form is submitted with the affiliate's own account
- Affiliate status is now shown and editable on the Edit Affiliate screen
- Updated all export and migration routines to use new batch processing API
- Removed the fixed width from form input fields in the Affiliate Area
- PayPal Button referrals now automatically rejected when a refund is processed
- Updated text through out admin area to improve consistency
- Referrals export now includes affiliate's first name, last name, and username
Fixed 12
- Improved sanitization of fields when updating referral records
- affwp_add_referral() does not support passing in the visit_id
- WooCommerce integration: C.O.D. orders do not create unpaid referrals
- WooCommerce integration: shop pagination breaks when referral variable is the same as the site's tld
- Deleting data during plugin uninstall does not remove all data
- License key cannot be reliably deactivated and/or removed from settings
- PayPal Button integration: IPN verification fails if any field value contains slashes
- Error in display when listing creatives via wp-cli
- reCAPTCHA field breaks if enabled in AffiliateWP and Gravity Forms
- Affiliate export tool fails on large sites with a lot of affiliate accounts
- Added missing inline documentation for all actions and filters in the plugin
- Improved reliability of affiliate name search fields through out the admin