Replace Anchor Target

Replaces target="_blank" attribute for XHTML Strict compliance.

Author:iThemes (profile at wordpress.org)
WordPress version required:3.0
WordPress version tested:3.7.33
Plugin version:3.1.2
Added to WordPress repository:04-03-2010
Last updated:11-02-2014
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://wordpress.org/support/plugin/replace-a...
Total downloads:2 172
Active installs:10+
plugin download
Click to start download

Selecting “Open link in a new window” in the builtin WordPress WYSIWYG editor breack XHTML strict compliance by adding the attribute target=”_blank” to anchor tags. This plugin fixes the problem by replacing the target attribute with a common class attribute and then using a simple jquery script to open the link in a new window. This method allows for correct validation using XHTML 1.0 Strict.

License

Released under the terms of the GNU General Public License.