WordPress.org

Plugin Directory

Changeset 1041519


Ignore:
Timestamp:
12/09/14 21:44:59 (2 years ago)
Author:
ozh
Message:

2.0.4
fixed: correctly detect "updated" Google asyn code (thanks Tobi @jaegerschnitzel)

Location:
ozh-who-sees-ads/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ozh-who-sees-ads/trunk/readme.txt

    r290912 r1041519  
    1919For a more detailed documentation, demo of the interface, and examples of advanced usages of the plugin, please visit its official page: [Who Sees Ads](http://planetozh.com/blog/my-projects/wordpress-plugin-who-sees-ads-control-adsense-display/ "Who Sees Ads") 
    2020 
     21Plugin doc: http://planetozh.com/blog/my-projects/wordpress-plugin-who-sees-ads-control-adsense-display/ 
     22Plugin dev: https://github.com/ozh/ozh-who-sees-ads 
     23Features and pull requests: https://github.com/ozh/ozh-who-sees-ads 
     24 
    2125**Tip:** To keep track of this plugin's evolution and features, you are advised to subscribe to the [author's feed](http://planetozh.com/exit/feed) 
    2226 
  • ozh-who-sees-ads/trunk/wp_ozh_whoseesads.php

    r211929 r1041519  
    33Plugin Name: Ozh' Who Sees Ads 
    44Plugin URI: http://planetozh.com/blog/my-projects/wordpress-plugin-who-sees-ads-control-adsense-display/ 
    5 Description: Manage your Ads. Decide under when circumstances to display them. Make more money. <strong>For WordPress 2.5</strong> 
    6 Version: 2.0.3 
     5Description: Manage your Ads. Decide under when circumstances to display them. Make more money. 
     6Version: 2.0.4 
    77Author: Ozh 
    88Author URI: http://planetozh.com/ 
     
    3939   2.0.2 added: "add_action('widget_text', 'wp_ozh_wsa_filter')" to be compatible with the Wordpress standard Text widget (thanks to Jacob Brunson) 
    4040   2.0.3 fixed: pattern to detect Google in referrers 
     41   2.0.4 fixed: correctly detect "updated" Google asyn code (thanks Tobi @jaegerschnitzel) 
    4142*/ 
    4243 
     
    650651    // regular javascript ad code 
    651652    if (strpos($code,'google_ad_client')!==false) return true; 
     653    // new async ad code 
     654    if (strpos($code,'adsbygoogle')!==false) return true; 
    652655    // regular javascript google search code 
    653656    if (strpos($code,'<!-- SiteSearch Google -->')!==false) return true; 
Note: See TracChangeset for help on using the changeset viewer.