Plugin Directory

Changeset 3214501


Ignore:
Timestamp:
12/29/2024 05:11:55 PM (15 months ago)
Author:
blapps
Message:

Bug fix

Location:
customize-external-links-and-add-icon/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • customize-external-links-and-add-icon/trunk/customize-external-links.php

    r3208667 r3214501  
    55 * Description: Add nofollow and remove noreferrer attributes in external links. Choose between different icons to show users which link is an external one.
    66 * Author: blapps
    7  * Version: 2.3.1
     7 * Version: 2.3.2
    88 * Tested up to: 6.7
    99 * Text Domain: customize-external-links
     
    161161function cuexlinks_add_rel_nofollow($url, $tag)
    162162{
     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
    163169    $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]*\"/';
    166170    $pattern = '/rel\s*=\s*\"[a-zA-Z0-9_\s]*\"/';
    167171
  • customize-external-links-and-add-icon/trunk/readme.txt

    r3208667 r3214501  
    55Requires at least: 4
    66Tested up to: 6.7
    7 Stable tag: 2.3.1
     7Stable tag: 2.3.2
    88License: GPL2
    99
     
    5555
    5656== Changelog ==
     57
     58
     59= 2.3.2 =
     60- minor bugfixes
     61
    5762
    5863= 2.3.1 =
Note: See TracChangeset for help on using the changeset viewer.