Plugin Directory


Ignore:
Timestamp:
10/24/2024 12:53:31 AM (17 months ago)
Author:
GregRoss
Message:

Update to version 1.9 from GitHub

File:
1 edited

Legend:

Unmodified
Added
Removed
  • auto-iframe/trunk/auto-iframe.php

    r3164574 r3174673  
    120120    if( array_key_exists( 'link', $atts ) ) { $link = htmlentities( trim( $atts['link'] ), ENT_QUOTES ); }
    121121
     122    // Check to see if this is a javascript link, if so, don't process it.
     123    if( preg_match('/^javascript:/i', $link ) ) { return ''; }
     124
    122125    // If no link has been passed in, there's nothing to do so just return a blank string.
    123126    if( $link == '' ) { return ''; }
Note: See TracChangeset for help on using the changeset viewer.