Plugin Directory

Changeset 3491191


Ignore:
Timestamp:
03/25/2026 07:46:38 PM (3 days ago)
Author:
WebFactory
Message:

Minor fixes

Location:
wp-external-links/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • wp-external-links/trunk/includes/admin/class-wpel-network-page.php

    r3168060 r3491191  
    5656
    5757        // set default tab
    58         if ( ! key_exists( $this->current_tab, $this->tabs ) ) {
     58        if ( !isset($this->current_tab) || ! key_exists( $this->current_tab, $this->tabs ) ) {
    5959            reset( $this->tabs );
    6060            $this->current_tab = key( $this->tabs );
  • wp-external-links/trunk/includes/admin/class-wpel-settings-page.php

    r3168060 r3491191  
    9797
    9898        // set default tab
    99         if (!key_exists($this->current_tab, $this->tabs)) {
     99        if ( !isset($this->current_tab) || !key_exists($this->current_tab, $this->tabs)) {
    100100            reset($this->tabs);
    101101            $this->current_tab = key($this->tabs);
  • wp-external-links/trunk/includes/class-wpel-front.php

    r3168060 r3491191  
    296296            $title = $link->get_attr( 'title' );
    297297            $text = $link->get_content();
    298             $new_title = str_replace( array( '{title}', '{text}', '{text_clean}' ), array( esc_attr( $title ), esc_attr( $text ), esc_attr( $text ) ), $title_format );
    299 
     298            $new_title = str_replace( array( '{title}', '{text}', '{text_clean}' ), array( wp_strip_all_tags( $title ), wp_strip_all_tags( $text ), wp_strip_all_tags( $text ) ), $title_format );
    300299            if ( $new_title ) {
    301300                $link->set_attr( 'title', $new_title );
  • wp-external-links/trunk/readme.txt

    r3326614 r3491191  
    33Tags: new window, new tab, external links, nofollow, noopener
    44Requires at least: 4.2
    5 Tested up to: 6.8
     5Tested up to: 6.9
    66Requires PHP: 7.2
    7 Stable tag: 2.63
     7Stable tag: 2.64
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    244244
    245245== Changelog ==
     246= 2.64 =
     247 * 2026-03-21
     248 * PHP 8.5 compatibility
     249 * bug fixes
     250
    246251= 2.63 =
    247252 * 2025-07-12
  • wp-external-links/trunk/wp-external-links.php

    r3326614 r3491191  
    33/**
    44 * Plugin Name:    WP External Links
    5  * Version:        2.63
     5 * Version:        2.64
    66 * Plugin URI:     https://getwplinks.com/
    77 * Description:    Open external links in a new tab or window, control "nofollow" and "noopener", set font icon; SEO friendly.
     
    1111 * Text Domain:    wp-external-links
    1212
    13  * Copyright 2019 - 2025  WebFactory Ltd  (email: [email protected])
     13 * Copyright 2019 - 2026  WebFactory Ltd  (email: [email protected])
    1414 * Copyright 2011 - 2019  @freelancephp
    1515
Note: See TracChangeset for help on using the changeset viewer.