Changelog
AffiliateWP changelog
Every AffiliateWP release, and what changed in it. See what’s new
Added 1
- Added new option in Misc settings to opt into beta releases for AffiliateWP
Fixed 1
- Date picker fields do not work when in a language other than English
Added 1
- Added support for user-defined locales in WordPress 4.7+
Changed 1
- affwp_add_creative() should return the creative ID on success
Fixed 5
- Only enqueue dashicons CSS on the front end when necessary
- Active tab not properly returned if the default is removed
- 'Affiliate Added' notice is incorrect when manually adding an affiliate
- Spaces should be encoded when generating affiliate links
- Commas in referral descriptions can sometimes break output in CSV exports
Fixed 1
- The reCAPTCHA script isn't getting enqueued
Added 3
- Add support for LifterLMS 3+
- Add the ability to register fields for REST endpoints
- Add currency support for the Kazakhstani tenge (KZT)
Changed 12
- Make it possible to disable the Affiliate Approval email from the user profile editing screen
- Record which user generated a payout and display that information in Payouts views
- Improve performance on Reports screen tabs
- Make it possible to retrieve meta via the affiliates REST endpoints
- Enable greater control over how core AffiliateWP scripts and styles are enqueued
- Improve the completion notice shown after performing a user migration
- Display completion notices after performing affiliate migrations for Affiliates Pro and WP Affiliate
- Improve the workflow of entering website URLs during affiliate registration
- Make it possible for the Log Out link in the Affiliate Area to always be last
- Set reasonable default limits for core REST endpoints
- Make WooCommerce product records for referrals filterable
- Make individual rows filterable during referral exports
Fixed 6
- Coupons are incorrectly linked to the admin affiliate by default
- Undefined variable user_id when viewing coupons for EDD, iThemes Exchange, LifterLMS, MemberPress, Paid Memberships Pro, Restrict Content Pro, and WooCommerce
- Restore the affwp_referral_action_links filter to the Referrals list table
- License keys sometimes can't be activated
- Author for the Affiliate Area page should not default to the first user
- Ensure hooks fire during deletion operations for all core AffiliateWP objects
Added 2
- Add a {campaign_name} email tag
- Expose 'Promotion Methods' information entered during affiliate registration in Affiliate > Edit
Changed 7
- Add Referral ID column to the Payout > View screen
- Update the 'Earnings' column in the referrals table to 'Paid Earnings'
- When filtering visits by affiliate, the affiliate name should show in the filters
- Display Payout time in addition to date in Payout > View
- Update the translation for Traditional Chinese
- Remove a redundant existing affiliate check in affwp_add_affiliate()
- Allow campaign query caches to be invalidated by core object CRUD operations
Fixed 6
- Campaign names with spaces cause wonky behavior when generating URLs
- Avoid a notice on the user_id when adding a new WooCommerce coupon
- Affiliate autocomplete doesn't scale beyond 9,999 affiliates
- Editing a referral causes a white screen in certain circumstances
- Wrong affiliate ID/username is shown in the Affiliate > Edit screen
- Some strings in the Overview screen aren't translated
Fixed 1
- Referrals Edit screen is whitescreening due to a miscalculated variadic parameter
Changed 2
- Message shown to non-affiliate administrators when viewing the Affiliate Area
- Affilate name now linked to affiliate edit screen and a separate Edit User link has been added
Fixed 3
- PayPal integration sometimes causes issues with non-PayPal form submissions
- Product rate settings not being respected
- Administrator's username being shown in affiliate coupon settings by default
Changed 1
- Display an affiliate's referral URL on their Edit Affiliate screen
Fixed 5
- Fatal error/memory exhausted when exporting affiliates or referrals
- Fatal error on Reports screen for PHP 5.3
- Some forms including WooCommerce registration not submitting as expected when the PayPal integration is enabled
- Incorrect filter name is used in the Payouts list table
- Properly display commission rates based on global settings
Fixed 5
- Incorrect referral amount for flat rate referrals
- Fatal error while calculating affiliate rates in certain scenarios
- Undefined variable when purchasing through PayPal Express with WooCommerce
- Admin list tables do not show any information when site is in a language other than English
- Payout details view shows referrals not included in the payout
Fixed 1
- Remote posts firing over and over due to transient not being set
Added 16
- Introduced read-only REST API
- Greatly enhanced Reports page
- Added integration for PayPal buttons
- Added integration for OptimizeMember
- Added per-variation referral rate options to WooCommerce integration
- Added option to disable renewals on license upgrades in Easy Digital Downloads integration
- Added option to disable renewals on specific subscription levels in Restrict Content Pro integration
- Added affiliate coupon tracking to Gravity Forms integration
- Added affiliate Payout log tracking
- Added new {landing_page} email tag
- Added new {referral_rate} email tag
- Added new {review_url} email tag
- Added Screen Options for controlling visible columns on all AffiliateWP list tables
- Added WP-CLI commands
- For developers: Added base metabox class for developers
- For developers: Added object models for affiliates, referrals, visits, creatives, and payouts
Changed 14
- Improved affiliates list table columns
- Stats shown above graphs in Reports now reflect the selected date range
- Signup fee for Recurring Payments now properly supported in Easy Digital Downloads integration
- CSV export for affiliates now includes first and last name
- [affiliate_referral_url] now defaults to the current page's URL
- Email and username fields now display on registration form when logged in but are shown as read-only
- License key activation process now displays error messages
- License key can now be defined in wp-config.php
- Affiliate username field now has a 60 character max limit on registration
- [affiliate_conversion_script] now supports a "campaign" parameter
- Minimum WordPress version now set to 4.4
- For developers: affiliates, creatives, referrals, visits, and payouts can be queried by ID(s)
- For developers: affwp_pre_delete_{object} now fires before deleting an object
- "Reports" buttons added to data management screens for easy navigation
Fixed 5
- User with necessary capabilities cannot save settings
- Improper redirect to blog archive when adding referral variable to site URL
- Visits and cookies not stored properly when using fallback tracking with pretty affiliate URLs
- Conflict with Simple Page Tester plugin that resulted in blog archive being shown
- Not all users imported properly with user account migration tool
Added 2
- Add System Info tab to the Tools screen
- Add a Miscellaneous option to add a logout link to the Affiliate Area
Changed 3
- Updated Arabic translation
- Use more intuitive date and time formats in the Affiliate Area Visits tab
- Switch out the Iranian Toman currency for the Rial
Fixed 6
- Avoid an error notice when a user is deleted
- Adjust styling in the welcome screen following changes in WordPress 4.6
- User migration tool only migrates the first 100 users
- Add a missing method in the Sprout Invoices integration
- Remove duplicate inline update row following changes in WordPress 4.6
- Avoid undefined function notice for affwp_get_pages() in some edge-cases
Changed 2
- Allow site admins to see affiliate's submitted "Website URL" in the Edit Affiliate screen
- Updated Spanish translation
Fixed 1
- Non-AffiliateWP query args are getting erroneously removed
Changed 7
- Updated Russian translation
- Updated Spanish translation
- Added affwp_insert_pending_referral filter to Restrict Content Pro integration
- Added status_count() method to database class
- Product rates in WooCommerce now have their own dedicated tab
- Added Iranian Toman currency
- Integration / context now shown on Referral edit screen
Fixed 10
- Port number is sometimes shown in URL when fallback tracking is enabled on sites using SSL
- Duplicate email notifications sent to affiliates when active status is toggled
- Referrals not recorded for free trials in MemberPress
- Welcome email not sent when new user and affiliate are created from the Users > Add New screen
- No user capability for exporting affiliates and referrals
- Incorrect referral amounts when decimal separator is set to a comma
- Ninja Forms 3 compatibility
- CSV cells terminated early when referral descriptions include a comma
- Incorrect column name specified when querying referrals by "referral_id"
- Referrals generated by subscriptions in Zippy Courses set incorrectly to Pending
Added 2
- Added Taiwan translation
- Added Tunisian Dinar currency
Fixed 4
- Missing visit-date class in forms.min.css file
- Product descriptions missing in MarketPress 3.x integration
- Fatal error when a referral is revoked in MarketPress integration
- Reference link incorrect in MarketPress 3.x integration
Changed 1
- Changed admins to admin in email settings
Fixed 2
- Incorrect colspan on Visits tab of affiliate area
- Referrals not marked as Unpaid for recurring subscriptions in MemberPress
Added 3
- LifterLMS integration for courses, subscriptions, and coupon tracking
- Specify a date when manually adding referrals
- Globally enable debug mode by setting a new
AFFILIATE_WP_DEBUGconstant in wp-config.php
Changed 2
- Display the visit date and time in the Visits tab in the affiliate area
- Support MarketPress v3.0+
Fixed 6
- Pagination links are rewritten incorrectly in some cases
- Trial coupon commissions in MemberPress are calculated using the non-trial amount
- Logged-in users can still register as affiliates if registration is disabled
- The license key cannot always be deactivated
- Shipping tax is not calculated in affiliate commissions in WooCommerce
- Admin reminder notices are sometimes visible to non-admins
Added 1
- Add currency support for the Argentine peso and the Ukrainian Hryvnia
Changed 3
- Update the Malay and Vietnamese translations
- Update the jquery.flot.resize.js plugin
- Make the active tab accessible to all hooks in the affiliate dashboard
Fixed 4
- When filtering visits by affiliate, the affiliate name doesn't persist
- When filtering visits by converted or unconverted, results are not filtered
- Decimals are not displaying correctly in the affiliate dashboard Stats tab
- Some referral fields are displaying escaped data
Added 1
- Added support for Saudi Riyal currency.
Fixed 4
- WooCommerce pagination fails when a referral URL is used on taxonomy archive pages.
- Visit counts for affiliates are not decremented when visits are deleted.
- Version number stored in database is not incremented during updates if no upgrade routine is run.
- Affiliate Area shows blank page if Affiliate URLs tab is removed.