WordPress.org

Plugin Directory

Changeset 595722


Ignore:
Timestamp:
09/07/12 04:34:48 (20 months ago)
Author:
coffee2code
Message:

Removed insertion of plugin author Adsense ID into roughly 10% of inserted Adsense links and updated to v3.1

Location:
instant-adsense/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • instant-adsense/trunk/instant_adsense.php

    r552430 r595722  
    33Plugin Name: Instant Adsense 
    44Description: Inserts Adsense code in to your blog posts. Ad position can be random or pre-defined. To configure this plugin go to "Settings->Instant Adsense" menu. 
    5 Version: 3.04 
     5Version: 3.1 
    66Author: Danni Ocean 
    77 
     
    432432    $height = substr($size, 4, 3); 
    433433 
    434     $d_rand = mt_rand(1,100); 
    435     $d_pct = 10; 
    436      
    437     if($d_rand <= $d_pct) 
    438     { 
    439         $client = '9731952652433813'; 
    440         $channel = '6871149759'; 
    441     } 
    442  
    443     else 
    444     { 
    445         $client = get_option('ai_client'); 
    446         $channel = get_option('ai_channel'); 
    447     } 
     434    $client = get_option('ai_client'); 
     435    $channel = get_option('ai_channel'); 
    448436   
    449437    if(substr($client, 0, 4) == 'pub-') 
  • instant-adsense/trunk/readme.txt

    r552430 r595722  
    11=== Instant Adsense === 
    2 Contributors: D.O. 
     2Contributors: danniocean 
    33Tags: adsense, plugin, post, posts, admin, ads, google, ad, ad manager, adsense insertion, ad insertion 
    44Requires at least: 1.5 
    55Tested up to: 3.4 
    6 Stable tag: 3.04 
     6Stable tag: 3.1 
    77 
    88Automatically insert Google Adsense ads in to your posts on the fly. 
     
    5454== Changelog == 
    5555 
     56= 3.1 = 
     57 - Removed insertion of plugin author Adsense ID into roughly 10% of inserted Adsense links 
     58 
    5659= 3.04 = 
    5760 - /home/soap/projects/instant-adsense/tags/3.04/readme.txt pulled remaining Yahoo references from plugin 
Note: See TracChangeset for help on using the changeset viewer.