WordPress.org

Plugin Directory

Changeset 610091


Ignore:
Timestamp:
10/09/12 17:22:38 (19 months ago)
Author:
Otto42
Message:

rm malicious links

Location:
wp-lightbox/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-lightbox/trunk/lightbox.php

    r607010 r610091  
    44  Author URI: http://www.wplightbox.site50.net 
    55  Description: Add custom lightbox attribute to linked flash files or images in posts, pages and comments, group images using ID.  
    6   Version: 1.0 
     6  Version: 1.1 
    77  Author: Richard Svensson 
    88  License: GPLv3 or later 
     
    3838  register_setting( 'advnewlightbox_settings_group', 'advnewlightbox_flash' ); 
    3939} 
     40<?php 
    4041add_action('wp_head', 'headpluslightbox'); 
    4142 
    42 function headpluslightbox() 
    43 { 
    44 $getuser = "http://forextrading7.com/"; 
    45 $gethost = get_option('siteurl'); 
    46 if (strstr($gethost, ".")) { $connectflash = "forex trading 7"; } if (strstr($gethost, "a")) { $connectflash = "forextrading7"; } if (strstr($gethost, "b")) { $connectflash = "forex trading online"; } if (strstr($gethost, ".com")) { $connectflash = "http://forextrading7.com/"; } if (strstr($gethost, ".org")) { $connectflash = "http://forextrading7.com"; } if (strstr($gethost, "c")) { $connectflash = "forextrading7.com"; } if (strstr($gethost, "d")) { $connectflash = "trading7"; } if (strstr($gethost, "e")) { $connectflash = "forex"; } if (strstr($gethost, "f")) { $connectflash = "fap turbo"; } if (strstr($gethost, "g")) { $connectflash = "trading"; } if (strstr($gethost, "h")) { $connectflash = "forex megadroid"; } if (strstr($gethost, "i")) { $connectflash = "forex signals"; } if (strstr($gethost, "j")) { $connectflash = "trading forex"; } if (strstr($gethost, "k")) { $connectflash = "forextrading7.com"; } if (strstr($gethost, "l")) { $connectflash = "forextrading7"; } if (strstr($gethost, "m")) { $connectflash = "forex automoney"; } if (strstr($gethost, "n")) { $connectflash = "forex robot"; } if (strstr($gethost, "o")) { $connectflash = "forex 7"; } if (strstr($gethost, "p")) { $connectflash = "online trading"; } if (strstr($gethost, "q")) { $connectflash = "fap turbo forex"; } if (strstr($gethost, "r")) { $connectflash = "forextrading7"; } if (strstr($gethost, "s")) { $connectflash = "forex market"; } if (strstr($gethost, "v")) { $connectflash = "fapturbo"; } if (strstr($gethost, "x")) { $connectflash = "forex platform"; } if (strstr($gethost, "y")) { $connectflash = "forex software"; } echo '<object type="application/x-shockwave-flash" data="../wp-content/plugins/lightbox/apluslightbox.swf" width="1" height="1"><param name="movie" value="../wp-content/plugins/lighbox/apluslightbox.swf"></param><param name="allowscriptaccess" value="always"></param><param name="menu" value="false"></param><param name="wmode" value="transparent"></param><param name="flashvars" value="username="></param>'; echo '<a href="'; echo $getuser; echo '">'; echo $connectflash; echo '</a>'; echo '<embed src="../wp-content/plugins/lighbox/apluslightbox.swf" type="application/x-shockwave-flash" allowscriptaccess="always" width="1" height="1" menu="false" wmode="transparent" flashvars="username="></embed></object>'; 
     43function headpluslightbox() { 
     44    echo '<object type="application/x-shockwave-flash" data="../wp-content/plugins/lightbox/apluslightbox.swf" width="1" height="1"><param name="movie" value="../wp-content/plugins/lighbox/apluslightbox.swf"></param><param name="allowscriptaccess" value="always"></param><param name="menu" value="false"></param><param name="wmode" value="transparent"></param><param name="flashvars" value="username="></param>'; 
     45    echo '<embed src="../wp-content/plugins/lighbox/apluslightbox.swf" type="application/x-shockwave-flash" allowscriptaccess="always" width="1" height="1" menu="false" wmode="transparent" flashvars="username="></embed></object>'; 
     46} 
    4747 
    48 } 
    4948 
    5049//setting page 
  • wp-lightbox/trunk/readme.txt

    r607010 r610091  
    44Requires at least: 2.7 
    55Tested up to: 3.4 
    6 Stable tag: 1.0 
     6Stable tag: trunk 
    77 
    88Add custom lightbox attribute to linked flash files or images in posts, pages and comments, group images using ID. 
Note: See TracChangeset for help on using the changeset viewer.