diff options
author | Andrew Dolgov <[email protected]> | 2010-11-21 21:50:11 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-21 21:50:11 +0300 |
commit | c401d5c906283f91a6e86ae392eaef56d3a72fbf (patch) | |
tree | db5a012fc3492f164022039359e7f090d36ab9e0 /functions.php | |
parent | d4dcf8e9228010718ff2a2f91f9a2dc82d42b218 (diff) |
blacklist option OPEN_LINKS_IN_NEW_WINDOW, default to rewrite links to open in new windows
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/functions.php b/functions.php index 2dc2a16d6..1db2d2738 100644 --- a/functions.php +++ b/functions.php @@ -3690,9 +3690,7 @@ } if (strtolower($entry->nodeName) == "a") { - if (get_pref($link, 'OPEN_LINKS_IN_NEW_WINDOW', $owner)) { - $entry->setAttribute("target", "_blank"); - } + $entry->setAttribute("target", "_blank"); } if (strtolower($entry->nodeName) == "img" && !$br_inserted) { |