Changeset 3214501
- Timestamp:
- 12/29/2024 05:11:55 PM (15 months ago)
- Location:
- customize-external-links-and-add-icon/trunk
- Files:
-
- 2 edited
-
customize-external-links.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
customize-external-links-and-add-icon/trunk/customize-external-links.php
r3208667 r3214501 5 5 * Description: Add nofollow and remove noreferrer attributes in external links. Choose between different icons to show users which link is an external one. 6 6 * Author: blapps 7 * Version: 2.3. 17 * Version: 2.3.2 8 8 * Tested up to: 6.7 9 9 * Text Domain: customize-external-links … … 161 161 function cuexlinks_add_rel_nofollow($url, $tag) 162 162 { 163 // Überprüfen, ob die Domain in der Ausschlussliste enthalten ist 164 if (!cuexlinks_is_domain_not_excluded($url)) { 165 // Wenn die Domain ausgeschlossen ist, einfach den Tag zurückgeben, ohne Änderungen vorzunehmen 166 return $tag; 167 } 168 163 169 $no_follow = ''; 164 // $pattern = '/rel\s*=\s*"\s*[n|d]ofollow\s*"/';165 // $pattern = '/rel\s*=\s*\"[a-zA-Z0-9_\s]*[n|d]ofollow[a-zA-Z0-9_\s]*\"/';166 170 $pattern = '/rel\s*=\s*\"[a-zA-Z0-9_\s]*\"/'; 167 171 -
customize-external-links-and-add-icon/trunk/readme.txt
r3208667 r3214501 5 5 Requires at least: 4 6 6 Tested up to: 6.7 7 Stable tag: 2.3. 17 Stable tag: 2.3.2 8 8 License: GPL2 9 9 … … 55 55 56 56 == Changelog == 57 58 59 = 2.3.2 = 60 - minor bugfixes 61 57 62 58 63 = 2.3.1 =
Note: See TracChangeset
for help on using the changeset viewer.