Plugin Directory

Changeset 1987350


Ignore:
Timestamp:
12/07/2018 12:58:34 AM (7 years ago)
Author:
Content.ad
Message:

Updated for WordPress 5.0, Resolved conflict with plugins that append notices containing h1 or h2 tags to the plugin

Location:
contentad
Files:
53 added
4 edited

Legend:

Unmodified
Added
Removed
  • contentad/trunk/contentad.php

    r1983456 r1987350  
    55 * Plugin URI: https://wordpress.org/plugins/contentad/
    66 * Description: Content.ad enables blog owners to display ads or related blog posts (from their own blog) in a "lead me to more content" section. The ads are sourced dynamically from the Content.ad system and can be a source of revenue for the blog owner.
    7  * Version: 1.3.3
     7 * Version: 1.3.4
    88 * Author: Content.ad
    99 * Author URI: https://www.content.ad
     
    4242}
    4343
    44 define( 'CONTENTAD_VERSION', '1.3.3' );
     44define( 'CONTENTAD_VERSION', '1.3.4' );
    4545define( 'CONTENTAD_FILE', get_contentad_file() );
    4646define( 'CONTENTAD_PATH', plugin_dir_path( CONTENTAD_FILE ) );
  • contentad/trunk/js/admin.js

    r1777920 r1987350  
    33   
    44    /* Add controls to top of Widget Edit page */
    5     var headingPosition = '.wrap ' + ( $('h1').length ) ? 'h1' : 'h2' ; // get first tag name inside .wrap div
     5    var headingPosition = '.wrap ' + ( ( $('h1').length ) ? 'h1' : 'h2' ) + ':first-child' ; // get first tag name inside .wrap div
    66    var buttonPosition = ( $( headingPosition + ' a' ).length ) ? headingPosition + ' a' : ( ( $( headingPosition + '+span' ).length ) ? headingPosition + '+span' : headingPosition + '+a' ) ;
    77    var buttonSelector = ( $( buttonPosition ).attr('class') == 'split-page-title-action' ) ? 'page-title-action' : $( buttonPosition ).attr('class') ; // get "Add New Widget" button selector class
  • contentad/trunk/readme.txt

    r1983456 r1987350  
    33Tags: related content, engagement, ads, advertising, revenue, posts, montize, monetization, affiliate, contextual ads, contextual advertising, pay per click, ppc, ad networks, relevent ads, text ads, content ads, income, related posts, widgets, related, similar posts, related post thumbnails, popular posts
    44Requires at least: 3.0.6
    5 Tested up to: 4.9.8
    6 Stable tag: 1.3.3
     5Tested up to: 5.0
     6Stable tag: 1.3.4
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8888
    8989== Changelog ==
     90
     91= 1.3.4 =
     92* Updated for WordPress 5.0
     93* Resolved conflict with plugins that append notices containing h1 or h2 tags to the plugin
    9094
    9195= 1.3.3 =
  • contentad/trunk/wp-package.json

    r1983456 r1987350  
    55  "readme_description": "Display popular content to your users from your own site and/or from our sponsored partners, increasing visitor engagement and earning revenue at the same time.",
    66  "plugin_description": "Content.ad enables blog owners to display ads or related blog posts (from their own blog) in a \"lead me to more content\" section. The ads are sourced dynamically from the Content.ad system and can be a source of revenue for the blog owner.",
    7   "version": "1.3.3",
     7  "version": "1.3.4",
    88  "url": "https://wordpress.org/plugins/contentad/",
    99  "copyright": "Copyright 2014 Content.ad (info@content.ad)",
    1010  "requires_wp": "3.0.6",
    11   "tested_with": "4.9.8",
     11  "tested_with": "5.0",
    1212  "requires_php": "5.2.4",
    1313  "text_domain": "contentad",
Note: See TracChangeset for help on using the changeset viewer.