AffiliateWP 2.7
Released
Added
- Require WordPress 5.0 or newer
- Require PHP 5.6 or newer
- Soft-discontinue five integrations (more information):
- ExchangeWP (iThemes Exchange)
- Jigoshop
- MarketPress
- Shopp
- WP eCommerce
Changed
- Implement partial activation for a better activation experience sans minimum requirements
- Add unique id attributes to the output for each registered setting
- 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
Fixed
- PHP 8 compatibility fixes
- WooCommerce: Don't override product rate with affiliate rate in certain circumstances
- Querying with a custom fields param value via REST triggers a fatal in some circumstances
- Use translatable labels for statuses in the Affiliates list table
- Add missing translator comments for all localized strings containing placeholders
- Restore the ability to save affiliate rate and rate type to empty
- Ensure affiliate ID is cast as an integer when derived from a coupon