=== ThirstyAffiliates Affiliate Link Manager ===
Contributors: caseproof, supercleanse
Donate link:
Tags: affiliate, link, affiliate link management, link cloaker, link redirect, shortlink, thirstyaffiliates, thirsty affiliates
Requires at least: 5.0
Requires PHP: 5.6
Tested up to: 5.9
Stable tag: 3.10.11
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Affiliate link management & cloaker tool. Easily manage, shrink and track your affiliate links in WordPress.

== Description ==

***VISIT OUR WEBSITE***

Click here: [ThirstyAffiliates](https://thirstyaffiliates.com/?utm_source=WordPressorg&utm_medium=Free%20Plugin%20Listing&utm_content=Home)
Check out the [PRO Version](https://thirstyaffiliates.com/pricing/?utm_source=WordPressorg&utm_medium=Free%20Plugin%20Listing&utm_content=PRO)!

***THIRSTYAFFILIATES FREE VERSION***

***ThirstyAffiliates*** gives bloggers the tools they need to monetize their WordPress website with affiliate marketing.

We’ve made managing your affiliate links as simple as it should be:

1. Install & activate the ThirstyAffiliates plugin
1. Goto Affiliate Links->Add New
1. Enter the destination URL (your affiliate link) and a title
1. The plugin creates a new shortlink/link redirect to your long ugly affiliate link by making a pretty link with your own website URL
1. You can then use the new “TA” button your editor to add your affiliate link to your content easily

eg. http://example.com/recommends/some-product

Some features at a glance:

**SIMPLE**

No complex setups. It’s just another post type in your admin and another button on your Visual editor.

When you are writing blog posts, you can highlight a word and click the “TA” button. This works just like the built in link tool, you can search for the affiliate link you created earlier by name.

You can even use the Quick Add button to add affiliate links to ThirstyAffiliates on the fly while you are writing.

**BETTER LINK MANAGEMENT**

You can group your affiliate links into hierarchical categories. eg. placing all Amazon links within an “Amazon” category, or all software links in a “Software” category.

Managing your links in ThirstyAffiliates means there is only one place to change the destination URL if required rather than having to go back and replace the link in potentially hundreds of articles.

**SAFE REDIRECTS & SMART UNCLOAKING**

You can choose from 301 (default), 302 or 307 redirects, all of which are safe link redirects.

Link redirects protect your affiliate links from being scraped and replaced by malware in your visitor’s browser.

There is also a smart uncloaking feature so if the affiliate program you are using (such as Amazon Associates) does not like your links behind a redirect, you can still use ThirstyAffiliates. Your links can be conditionally uncloaked on the front end.

**NO LINK CLASHES OR DATABASE BLOAT**

Uses proper custom post types to avoid link clashes that can occur with other solutions.

Keeps it’s database footprint small to ensure you don’t over bloat your database with useless information.

**ADD IMAGES TO AFFILIATE LINKS**

You can even add images and banners to your affiliate links and recall them for easy insertion when writing your content.

Simply click the new “TA” affiliate link button on your editor, click the cog to open the Advanced Link Picker and search & choose the image you want to insert and it will be inserted pre-wrapped in your affiliate link.

**CLICK STATISTICS & REPORTS**

Adds click tracking to your links to track every click.

Comes with built-in reports so you can explore, over-time, how much your affiliate links have been clicked and what is popular on your site.

= Features at a glance =

* Inbuilt affiliate link shorter/link cloaker (creates pretty links like: http://example.com/recommends/your-affiliate-link)
* Commission protecting affiliate link redirection options (301, 302 & 307)
* Click stats tracking & reports
* Hierarchical link categorization to easily segment links
* Affiliate link picker tool which works just like the WordPress link tool
* Advanced link picker tool (hit the cog icon after clicking the “TA” button on your editor) for more advanced options
* Insert standard links, shortcodes or even images! (with full instant search capabilities)
* Makes it easy to insert affiliate links in posts, pages and even comments. ThirstyAffiliates is there everywhere there is a standard WordPress editor
* Handy quick add tool lets you easily create new affiliate links without even leaving the post edit screen
* Customizable link URL prefixes – change “recommends” to something else, loads of pre-done link prefixes to choose from or use your own custom prefix!
* Choose to show category slugs in link URLs
* No Follow option (global or per link)
* Open in new tab (global or per link)
* Full importing and exporting support via standard WordPress tools
* Full backup compatibility via standard WordPress backup solutions
* Uses WordPress approved storage techniques – doesn't bloat your database
* Add your graphics, banners and other images to affiliate links for easy insertion
* In-built proactive link fixer which detects outdated affiliate links in your content and fixes them automatically
* Completely modularized so you can turn on only the parts of ThirstyAffiliates that you need

= PRO Features =

We have a PRO add-on for ThirstyAffiliates that bolts on extra functionality that might be interesting to advanced affiliate marketers and bloggers looking to automate parts of their affiliate marketing.

Some of our popular PRO features include:

* Automatic Keyword Linking - boost your affiliate income by automatically linking affiliate links to keywords throughout your site, great for monetising your back catalog of content!
* Advanced Statistics Reports - amazing advanced reports such as performance by category, performance over 24/hr periods (to identify peak click times), Geolocation reports (where people click from) and more!
* Geolocations - geo target your visitors based on their country of origin and redirect them to geographically appropriate affiliate URLs
* Google Click Events - pushes a click event to your Google Analytics on click
* CSV Import/Export - import and export affiliate links via CSV. Great for managing links across multiple sites
* Amazon API Importing - Search and import affiliate links from Amazon’s Product Advertising API
* High speed HTAccess redirect - Loads affiliate link redirects into your htaccess file for faster redirecting, meaning WordPress & even PHP isn’t loaded
* Link Event Notification Emails - get notified about significant events with your affiliate links like when they reach a certain amount of clicks total or a certain amount of clicks in a period of time
* Automatic Link Health Checker - automatically explores your affiliate links for 404’s or broken links and will notify you when it detects problems

[Check out all the ThirstyAffiliates PRO features here](https://thirstyaffiliates.com/pricing/?utm_source=WordPressorg&utm_medium=Free%20Plugin%20Listing&utm_content=PRO)

== Installation ==

1. Upload the `thirstyaffiliates/` folder to the `/wp-content/plugins/` directory
1. Activate the plugin through the “Plugins” menu in WordPress
1. Visit the new “ThirstyAffiliates” menu and click 'Add New' to add an affiliate link.
1. Use the new “TA” button on the Visual editor to link up an affiliate link when writing content.
1. Visit [http://thirstyaffiliates.com/](https://thirstyaffiliates.com/?utm_source=WordPressorg&utm_medium=Free%20Plugin%20Listing&utm_content=Home) for more information, info about the PRO version and support.

== Frequently asked questions ==

Here are some common questions/problems.

For more resources please see our [Knowledge Base](https://thirstyaffiliates.com/knowledge-base/?utm_source=WordPressorg&utm_medium=Free%20Plugin%20Listing&utm_content=KB).

= Help, my links aren't redirecting! It just brings up a 404 error. =

This is a common issue usually caused by another plugin or theme not flushing redirect rules correctly after setting up another custom post type.

To resolve the problem follow these steps:

1. Deactivate ThirstyAffiliates, don't worry your links are safely stored in the database.
1. Reactivate ThirstyAffiliates
1. Visit the Settings->Permalinks page and click save.
1. Go back to ThirstyAffiliates->All Affiliate Links and view one of the links, it should be redirecting properly.

= Are there any known conflicts? =

WordPress supports a very vibrant ecosystem of themes and plugins so from time to time it's expected that there will be some minor conflicts with other products.

See our [Knowledge Base](https://thirstyaffiliates.com/knowledge-base/?utm_source=WordPressorg&utm_medium=Free%20Plugin%20Listing&utm_content=KB) for an up to date list of known conflicts.

== Screenshots ==

1. Affiliate link listing

2. Edit screen for a single affiliate link

3. The affiliate link picker dialog, shows up when you press the “TA” icon on any editor box

4. Advances link picker options, shows up when you press the cog icon on the affiliate link picker tool

5. Settings page

== Changelog ==

= 3.10.11 =
* Bug Fix: Security fixes

= 3.10.10 =
* Bug Fix: Security fixes

= 3.10.9 =
* Bug Fix: Security fixes

= 3.10.8 =
* Bug Fix: Security fixes

= 3.10.7 =
* Bug Fix: Fatal error on PHP versions lower than 7.3

= 3.10.6 =
* Bug Fix: Security fixes

= 3.10.5 =
* Bug Fix: Security fixes

= 3.10.4 =
* Bug Fix: Inserting links not working for non-admins
* Bug Fix: Allow uppercase extensions in external image links
* Bug Fix: Fatal error in the stats trimmer on PHP8

= 3.10.3 =
* Bug Fix: User-specific language setting having no effect on plugin translations

= 3.10.2 =
* Bug Fix: TA Link buttons missing in the block editor in WP <5.6

= 3.10.1 =
* Bug Fix: Error with the classic editor in Firefox
* Bug Fix: Duplicate scheduled events queuing up
* Bug Fix: jQuery Migrate warnings
* Bug Fix: The inline link editor jumping around the page on WP 5.6
* Bug Fix: Review notice still showing after leaving review or dismissing

= 3.10.0 =
* Changed: Admin UI tweaks
* Bug Fix: Remove styles affecting WP core image block
* Bug Fix: Notice errors when Elementor is installed

= 3.9.4 =
* Bug Fix: Conflict with the SmartCrawl Pro plugin

= 3.9.3 =
* Improvement: Add an action hook before the enhanced JavaScript redirect
* Bug Fix: Security fix on the link attachment title

= 3.9.2 =
* Feature: Add X-Robots-Tag header to nofollow links
* Improvement: Add indexes to the plugin database columns
* Bug Fix: Fatal error activating the plugin on some WP timezones
* Bug Fix: Reports only showing results for 10 links

= 3.9.1 =
* Bug Fix: Incorrect client IP retrieved from HTTP_X_FORWARDED_FOR header
* Bug Fix: External images not working in TA Image block

= 3.9 =
* Bug Fix: Gutenberg Input affiliate link as shortcode should show the error to admin only
* Bug Fix: Convert to blocks converts images on posts as ThirstyAffiliates Image block
* Bug Fix: UTC-2 and UTC+11 Timezone produces Fatal Error when activating the plugin
* Bug Fix: TA button style for block editor changes in WP 5.2.1

= 3.8 =
* Bug Fix: The "convert to blocks" button is not working with Gutenberg

= 3.7 =
* Feature: ThirstyAffiliates "Affiliate Link Images" Gutenburg block
* Bug Fix: Editor/Author unable to access "Edit Post" when plugin visibility is set to enabled & plugin visibility settings are set to same role or higher (roles below it will be affected)

= 3.6 =
* Feature: Gutenberg integration with core blocks
* Bug Fix: Affiliate links with "Open In New Tab" not working correctly in Instgram's in-app browser
* Bug Fix: Module settings still able to be accessed even if the module was disabled
* Bug Fix: Import/Export settings page could be accessed by non-administrator Dashboard users

= 3.5 =
* Improvement: Gutenberg compatibility: TA Buttons are not showing up anymore on Gutenberg classic editor
* Improvement: Gutenberg compatibility: TA buttons in wp editors present in metaboxes are not working properly.

= 3.4.0 =
* Feature: Support remotely hosted images attached to affiliate links
* Feature: Add Global value for the Redirect type setting in affiliate link editor
* Feature: Click Tracking: track device used
* Feature: Allow adding additional CSS classes
* Feature: Integration with Beaver Builder
* Feature: Integration with Elementor
* Feature: Post edit screen: When using Shortcode link insertion method show link with a special link formatting clickable to an edit screen
* Feature: Add category filter in Add Affiliate Link popup
* Improvement: Add a setting to allow people to turn off the robots.txt blocking
* Bug Fix: Link Fixer issue with query strings
* Bug Fix: Error: Cannot read property 'replace' of undefined
* Bug Fix: Query String issue with Enhanced JS redirect

= 3.3.7 =
* Bug Fix: Make htaccess bots blocker script optional for customers. turn off by default
* Bug Fix: noscript element is sent to ta_click_data_redirect AJAX as the keyword

= 3.3.6 =
* Bug Fix: Disable open new tab as a special case with Facebook Messenger browser which doesn't support it

= 3.3.5 =
* Improvement: Show warning on slug edit to inform users about consequences of editing slug in regards to already inserted links
* Bug Fix: When Statistics module is disabled hide the Enhanced JS Redirect option
* Bug Fix: Uncaught type error on URL splitting in Link Fixer
* Bug Fix: Add jQuery to script dependency list for front end TA script

= 3.3.4 =
* Bug Fix: Saved report shows wrong graph lines placement

= 3.3.3 =
* Improvement: Block bots on stats recording process for non-apache servers
* Improvement: Remove report data query on page first load
* Improvement: Add settings for blocking bots
* Improvement: Ability to turn off IP address collection on stats (GDPR compliance)
* Improvement: Move "Enable Enhanced Javascript Redirect on Frontend" setting to Link Appearance tab
* Improvement: Code improvements
* Bug Fix: Improve reliability of link scanner
* Bug Fix: attachment page can be viewed with link prefix
* Bug Fix: Improve accuracy of link performance report

= 3.3.2 =
* Bug Fix: WP 4.9.6: The post editor won't show TA buttons and shows a JS error

= 3.3.1 =
* Improvement: Add render function for URL input type on settings
* Improvement: Remove Save Changes button on Import/Export setting page
* Bug Fix: Can only click normal links once
* Bug Fix: Exporting CSV produces PHP notice: Undefined index: link_health_issue
* Bug Fix: Fix settings html markup wrapper

= 3.3.0 =
* Feature: Introduce Enhanced JS Redirect Feature
* Bug Fix: Link Fixer: When a link has been inserted with category in url, and it is removed in the backend, link won't be detected
* Bug Fix: Link Fixer: make sure the fetched ID via url_to_postid function for a given link is of "thirstylink" post type

= 3.2.4 =
* Bug Fix: Issues with link fixer for sub-directory installs and with WPML translation

= 3.2.3 =
* Bug Fix: Uncloaker module sometimes stripping away query strings
* Bug Fix: Notice: Undefined variable error

= 3.2.2 =
* Improvement: Allow Force no-cache headers on 301 redirects
* Improvement: Minor codebase improvements
* Bug Fix: Affiliate link can redirect even with invalid category slug
* Bug Fix: Allow valid characters on the slug box pattern match

= 3.2.1 =
* Improvement: Set post type and taxonomy to non-public facing
* Improvement: Rename the Link Performance report to Link Overview
* Improvement: Improve codebase
* Bug Fix: Shortcode issue with WPML
* Bug Fix: Issue with inserting thirsty affiliate link into an existing image and hitting enter key right after
* Bug Fix: Affiliate link category pages are accessible on the front end

= 3.2.0 =
* Feature: Feature to determine what pages the current affiliate link is added to
* Feature: Hide currently attached images from the media box to avoid inserting duplicate image to a thirsty link
* Feature: Ability to set some link appearance settings on a per category level
* Feature: Add ta link picker on Text Editor Widget
* Feature: Ability to add link categories from the Quick Add form of the TA link picker
* Feature: Polylang Support
* Feature: WPML Support
* Improvement: Allow sorting of thirsty links on cpt listing by link category and other headers
* Improvement: Make settings page into a vertical orientation
* Improvement: Set default redirect type to 302
* Improvement: Tidy up code
* Bug Fix: Console errors on inserting image into a thirsty link
* Bug Fix: When editing the cloaked url, the final "/" character is not added back
* Bug Fix: Last 7 days link performance report graph is not accurate
* Bug Fix: Fix php notices on the log

= 3.1.3 =
* Improvement: Add a small "Edit" link on read only fields on the List view
* Bug Fix: When migrated, geolocation URLs still have the &amp;. It needs to be changed to &

= 3.1.2 =
* Bug Fix: Fix link fixer script to detect links with either http or https protocol
* Bug Fix: If all modules requiring ta.js are off dequeue it
* Bug Fix: isThirstyLink should recognize root relative URLs and others
* Bug Fix: Thirstylink CPT publish status is translatable

= 3.1.1 =
* Bug Fix: Change reports content display method to use callback function instead
* Bug Fix: Update migration for new tracking script option for GCT module

= 3.1.0 =
* Feature: Add REST API support
* Feature: Automatically add link prefix in the robots.txt to prevent indexing
* Feature: Exclude known search engine bots from stats
* Feature: Trim stats table on a regular cron
* Improvement: Make sure the insert buttons in link picker popup stay in place
* Improvement: Readd the social links on the settings Help tab
* Improvement: Improve the save click data function
* Bug Fix: Link picker popup starts searching with only 1 character
* Bug Fix: Uncloaker should not HTML encode & ampersand characters
* Bug Fix: Authors and Editors cannot see the ThirstyAffiliates link picker button
* Bug Fix: Htaccess module removes the wrong .htaccess section
* Bug Fix: Various error messages for different user roles

= 3.0.3 =
* Bug Fix: Visual editor breaks on text widgets
* Bug Fix: Conflict with Shortcoder plugin
* Bug Fix: Tour keeps popping up

= 3.0.2 =
* Bug Fix: Link Fixer overrides existing CSS classes on the link
* Bug Fix: Link Fixer removes any query strings from the cloaked link
* Bug Fix: Properly handle special characters on the text in which the link is attached
* Bug Fix: Disabling link CSS and title globally won't work with Link Fixer
* Bug Fix: Fix typo on search placeholder on editor
* Bug Fix: Conflict with OptimizePress theme

= 3.0.1 =
* Bug Fix: Link Fixer overrides existing CSS classes on the link
* Bug Fix: Delete all stats data of a link when its permanently deleted
* Bug Fix: Minor code fixes on data migration ( from V2 to V3 )
* Bug Fix: Properly escape destination urls

= 3.0.0 =

***NOTE: 3.0.0 IS A MAJOR VERSION FULL REWRITE OF THE PLUGIN. WHILE WE HAVE DONE OUR BEST TO ENSURE A SMOOTH MIGRATION, WE HIGHLY RECOMMEND YOU TEST ON A STAGING AREA IF POSSIBLE.***

* Migration Assistant: Migrates your affiliate links to the new 3.0.0 standard on update
* Migration Assistant: You can also downgrade your affiliate links back to the old format if you downgrade back to version 2.
* Feature: Rewrote the entire plugin for massive improvements
* Feature: Implemented new data storage model
* Feature: Introduced modularization so parts of ThirstyAffiliates can be turned on/off
* Feature: New link picker that looks and works exactly like the standard link tool in WordPress
* Feature: New advanced link picker (press the cog icon on the link picker) for advanced searching and insertion modes (like image insertion)
* Feature: Choose your default link insertion mode (standard link or shortcode)
* Feature: Reworked the affiliate link edit screen for clarity
* Feature: Reworked the entire settings area for clarity
* Feature: Added additional link information on list view
* Feature: Introduced Link Fixer - a tool that automatically corrects old/outdated affiliate links on the front end
* Feature: Introduced uncloaking - lets you smartly uncloak links individually or based on their category, great for compatibility with stricter affiliate program terms (such as Amazon Associates Terms of Service)
* Feature: Introduced click tracking & basic reports
* Feature: Introduced keyboard shortcut commands
* Feature: Reworked the quick add button feature
* Feature: Added a plugin tour on activation
* ... plus many other small improvements, tweaks and bug fixes. We hope you love it!

= 2.7.0 =
* Feature: Wildcard replace segments of links based on query string parameters
* Feature: Show the link category name on the link picker search box
* Improvement: Auto remove Yoast SEO meta box on link edit screen
* Bug Fix: 307 global redirect option doesn't seem to be working properly
* Bug Fix: On brand new installs the permalinks sometimes need flushing again
* Bug Fix: Link categories dropdown on Quick Add form not working
* Bug Fix: Description of imported images from amazon is not positioned properly

= 2.6.4 =
* Bug Fix: Make constant names non-case insensitive to support HipHop in HHVM environment
* Bug Fix: Notices relating to newwindow and nofollow showing everywhere
* Bug Fix: Custom prefix setting doesn't display or save when using language other than english

= 2.6.3 =
* Bug Fix: Fix critical issue with ajax permission check on function also used by Autolinker.

= 2.6.2 =
* Bug Fix: Notices on settings page, add-on page and on shortcodes
* Bug Fix: Security problem where non-admin account holders can access AJAX functions (thanks [James Golovich](http://www.pritect.net/))

= 2.6.1 =
* Translation: Russian (thanks to [Roman Sobol](http://ultimum.ru))
* Bug Fix: Squiggly brackets are being html encoded and not html decoded for display and redirection
* Bug Fix: Notice on link edit screens
* Bug Fix: URLs entered into the destination URL box are not being HTML decoded on redirect
* Bug Fix: Notices on saving
* Bug Fix: In the settings area when you set custom link prefix, the input box showing the custom prefix isn't shown properly after saving
* Bug Fix: linkclass backwards compatibility on shortcodes causing notices on some installs

= 2.6.0 =
* Feature: Added internationalisation and ability to add translations
* Translation: Indonesian (thanks [Mulyadi Subali](https://mulyadi.suba.li/))
* Translation: Brazilian Portugeuse (thanks [Gabriel Galvão](http://www.canalwp.com/))
* Translation: Italian (thanks [Marco Famà of Time Lapse Network](http://timelapsenetwork.com/))
* Translation: Spanish (thanks [Javier Marcilla of NinjaSEO](http://ninjaseo.es/))
* Translation: German (thanks to [Andre Wilimzig-Scholz of Brand and Heist](http://www.brandheist.de/))

= 2.5.0 =
* Feature: Allow user to specify link categories during Quick Add if category in slug preference is enabled. Enhanced the UI with a multi-select box.
* Feature: Add Link ID to the list view columns as the first column for easy reference
* Feature: Added import/export ability of Global settings to make it easy to copy pre-set settings from one site to another

= 2.4.12 =
* Bugfix: Rollback of link data merging bugfix from 2.4.10, caused some issues in data persistence in add-ons, will revisit this later
* Feature: Introduced an optional debug flag on edit screens to assist in debugging link data on sites in the wild

= 2.4.11 =
* Bugfix: Fixed a nasty character escaping bug that was wiping data on save in some instances.

= 2.4.10 =
* Bugfix: Additional data on thirsty data not appearing in fields on the edit page was accidentally being blown away, needed to merge data with existing on save
* Bugfix: Use the absolute path during media metadata creation when cloning an image from the media library (thanks Olaf)
* Bugfix: Moved the rewrite rule flushing into the activation functions as best practices have changed since

= 2.4.9 =
* Bugfix: Fix compatibility issue with some page builders
* Bugfix: Corrected bug with legacy media uploader script loading in the background when it shouldn't be
* Feature: Add new global setting for appending additional rel attributes to links during link insertion
* Bugfix: Fixed image attaching problem where URL would be malformed when duplicating an existing attachment

= 2.4.8 =
* Bugfix: Removed add-on notices from sidebar of edit screens. Causing too many issues, we'll revisit this later.

= 2.4.7 =
* Feature: Add ability to upload multiple images in one hit to affiliate links (thanks Mozie)
* Bugfix: Added mechanism to only download RSS feed of add-ons at most once per day instead of during each page load
* Other: Improved the look of the add-ons page and added meta box to link edit screens for add-on notices

= 2.4.6 =
* Feature: Add option to turn of auto selection of category during save process
* Feature: Show message to user if they have default permalinks selected (we require pretty permalinks)
* Feature: Added an admin function for showing global notices when there is a critical configuration problem
* Bugfix: Links without categories selected should still resolve even if the "show categories in URLs" option is enabled (thanks Olaf)

= 2.4.5 =
* Feature: Add 307 temporary redirection type
* Bugfix: Adding additional info to before redirect action to support upcoming new features in Stats add-on

= 2.4.4 =
* Bugfix: Notify the plain text editor of change event after link is returned
* Bugfix: Hardening up checks for when editor is not properly defined
* Bugfix: Added check to see if debug index is present before using it to prevent outputting notices when wp_debug is set to true, on the settings page
* Feature: Add switches for turning off editor buttons on Visual or Text/Quicktags editors

= 2.4.3 =
* Bugfix: Add html character encoding on link name field on edit screen so link names with quotes are displayed properly

= 2.4.2 =
* Bugfix: Had to retire data filtering with mysql_ escape functions in favour of using esc_sql as provided by WordPress core. Some servers now don't support mysql_ functions at all (thanks Daniel)
* Bugfix: If the post isn't an affiliate link, skip slug shortening
* Feature: Added disable slug shortening option to turn off removing stop words from affiliate link urls

= 2.4.1 =
* IMPORTANT BUG FIX: Default post status is no longer set to 'publish' when left empty in 3.8.2 so we need to set in our custom post save box otherwise you can't save new links.

= 2.4 =
* New Feature: Quick Add button on TinyMCE editor lets you add new affiliate links on the fly without leaving the edit screen
* Fixed admin site debug warning on non-ThirstyAffiliates pages

= 2.3.1 =
* IMPORTANT BUG FIX: Fixed issue with special char filtering causing invalid redirects on some merchants, advise people who are on 2.3 to update to this version immediately.

= 2.3 =
* New Feature: Added the option to choose a global redirect type (301 or 302 at this stage) and also the option to override this per link
* Admin layout compatibility with WordPress 3.8 specifically responsiveness
* Changed menu name to Affiliate Links as 3.8 made ThirstyAffiliates word wrap to the next line
* Inserting images using the link picker stopped working due to imageID not being passed properly
* Moving some core styles for the settings page to the core stylesheet
* Improved data filtering function to selectively strip html on input data
* Filtered data wasn't being passed to array elements properly and hence was unfiltered

= 2.2.6 =
* Tweaked add-on page layout

= 2.2.5 =
* Bug fix title attribute not showing on shortcodes
* Make shortcodes obey the global flags properly
* Output shortcode defaults properly when no attributes specified (backwards compatibility)

= 2.2.4 =
* Fixing regression in shortcode functionality (thanks Roshan)

= 2.2.3 =
* Fixed link of categories a link belongs to in list view to show a list of links from that category
* Fixed warning on settings page and added sanity checks for link prefix option
* Added debug flag to settings page for support and testing
* Deprecated PHP function split() replaced with preg_split(), was throwing a warning on PHP 5.3.0+ servers.

= 2.2.2 =
* During link insertion check if copied text contains HTML and handle appropriately
* Add global switch to turn off title attribute on inserted links
* Add global switch to turn off thirstylink and thirstylinkimg link classes
* Strip slashes from apostrophes in copied text during link insertion
* Remove ajax url from front end (no longer used)

= 2.2.1 =
* Fixing add-ons page (thanks Hesham)
* Adding javascript layout tweak

= 2.2 =
* Adding API hooks for future development
* Cleaning up code structure
* Fixing ajax calls to be fully documentation compliant
* Fixes for the image adding including support for new media loader
* Added better object handling for image attachments
* Moved off some add-on specific settings to their own plugin code bases
* Lots of other small bug fixes and improvements
* Adding plugin to the WordPress.org directory!

= 2.1.3 =
* Removing unneccesary data from allagents.xml
* Adding no listing directive to plugin directory to prevent indexing

= 2.1.2 =
* Bug fix for link names with quotes in them

= 2.1.1 =
* Remove superfluous words from auto generated slugs on link creation

= 2.1 =
* Allow categories in link slugs
* Add option to force rebuild links (re-saves all existing links)
* Fix saving bug on nofollow/new window options when not using global setting
* Fix compatibility issue with Thesis theme
* Other various small bug fixes

= 2.0.3 =
* Fix for curly braces in links

= 2.0.2 =
* Fixing incompatibilities with some premium themes

= 2.0.1 =
* Fixed menu disappearing bug due to WP update

= 2.0 =
* Introduced automatic updating
* Improved user interface
* Added web crawler robot blocking
* Other various small bug fixes

= Prior to 2.0 =
* Initial version

== Upgrade notice ==

There is a new version of ThirstyAffiliates available.
