Plugin Directory

Changeset 1507629

Timestamp:
10/03/2016 06:12:06 PM (8 years ago)
Author:
derekspringer
Message:

Added CloudFlare detection for widget.

Location:
radcontrol/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • radcontrol/trunk/adcontrol.php

    r1503924 r1507629  
    66Description: Harness WordPress.com's advertising partners for your own website. Requires <a href="http://jetpack.me/" target="_blank">Jetpack</a> to be installed and connected.
    77Author: Automattic
    8 Version: 1.1.1
     8Version: 1.1.
    99Author URI: http://automattic.com
    1010Text Domain: adcontrol
     
    2828*/
    2929
    30 define( 'ADCONTROL_VERSION', '1.1.1' );
     30define( 'ADCONTROL_VERSION', '1.1.' );
    3131define( 'ADCONTROL_ROOT', dirname( __FILE__ ) );
    3232define( 'ADCONTROL_BASENAME', plugin_basename( __FILE__ ) );
  • radcontrol/trunk/php/widgets.php

    r1312024 r1507629  
    5050        $width = AdControl::$ad_tag_ids[$instance['unit']]['width'];
    5151        $height = AdControl::$ad_tag_ids[$instance['unit']]['height'];
     52
    5253        echo <<< HTML
    5354        <div class="wpcnt">
     
    5556                <a class="wpa-about" href="http://en.wordpress.com/about-these-ads/" rel="nofollow">$about</a>
    5657                <div class="u {$instance['unit']}">
    57                     <script type='text/javascript'>
     58                    <script type='text/javascript'>
    5859                        (function(g){g.__ATA.initAd({sectionId:$section_id, width:$width, height:$height});})(window);
    5960                    </script>
  • radcontrol/trunk/readme.txt

    r1503936 r1507629  
    44Requires at least: 3.4
    55Tested up to: 4.6.1
    6 Stable tag: 1.1.1
     6Stable tag: 1.1.
    77
    88Harness WordPress.com's advertising partners for your own website.
     
    3737
    3838== Changelog ==
     39
     40
     41
     42
    3943
    4044= 1.1.1 =
Note: See TracChangeset for help on using the changeset viewer.