Plugin Directory

Changeset 1817844


Ignore:
Timestamp:
02/08/2018 05:18:20 AM (8 years ago)
Author:
adsenseforamp
Message:

bug fixes and testing for 4.9.4

Location:
setup-adsense-for-amp/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • setup-adsense-for-amp/trunk/adsense-for-amp.php

    r1798866 r1817844  
    55Plugin URI: https://creativebrains.co.in
    66Description: Setup Google Adsense on AMP pages
    7 Version: 2.0.0
     7Version: 2.0.1
    88Author: Creative Brains
    99*/
  • setup-adsense-for-amp/trunk/includes/adsense.php

    r1732573 r1817844  
    1313function adsense_for_amp_above_the_content($content) {
    1414
    15     if (empty(get_option('afa-above-the-content-ad-type'))) {
     15    $afa_above_the_content_ad_type_option = get_option('afa-above-the-content-ad-type');
     16
     17    if (empty($afa_above_the_content_ad_type_option)) {
    1618        return $content;
    1719    }
     
    5254function adsense_for_amp_below_the_content($content) {
    5355
    54     if (empty(get_option('afa-below-the-content-ad-type'))) {
     56
     57    $afa_below_the_content_ad_type_option = get_option('afa-below-the-content-ad-type');
     58    if (empty($afa_below_the_content_ad_type_option)) {
    5559        return $content;
    5660    }
  • setup-adsense-for-amp/trunk/readme.txt

    r1798866 r1817844  
    55Tags: google adsense, AMP, Accelerated Mobile Pages
    66Contributors: adsenseforamp
    7 Version: 2.0.0
    8 Tested up to: 4.9
     7Version: 2.0.1
     8Tested up to: 4.9.4
    99Author: Creative Brains
    1010License: GPLv2 or later
     
    9292== Changelog ==
    9393
     94= 2.0.1 =
     95* bug fixes
     96* tested for wordpress 4.9.4
     97
    9498= 2.0.0 =
    9599* Bug fixes
Note: See TracChangeset for help on using the changeset viewer.