Plugin Directory

Changeset 2024389


Ignore:
Timestamp:
02/04/2019 06:04:14 AM (7 years ago)
Author:
mojofywp
Message:

prevent statement filter from being call in admin dashboard

Location:
wp-affiliate-disclosure/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wp-affiliate-disclosure/trunk/README.txt

    r2023608 r2024389  
    55Requires PHP: 5.6
    66Tested up to: 5.0.3
    7 Stable tag: 1.1.2
     7Stable tag: 1.1.3
    88Tags: affiliate, disclosure, affiliate disclosure, affiliate disclosure statement, disclosure statement, FTC-compliant disclosure, affiliate disclaimer, affiliate disclaimer statement, FTC, FTC disclosure statement
    99License: GPLv2 or later
  • wp-affiliate-disclosure/trunk/builder/builder/controller.php

    r2023608 r2024389  
    113113     */
    114114    public function add_statement_before_post( $content ) {
    115         if ( ! ( is_home() || is_archive() ) ) {
     115        if ( ! ( is_home() || is_archive() || is_admin() ) ) {
    116116            $component = new WPADC_Disclosure_Statement();
    117117            $statement = $component->render( 'before-content' );
     
    127127     */
    128128    public function add_statement_after_post( $content ) {
    129         if ( ! ( is_home() || is_archive() ) ) {
     129        if ( ! ( is_home() || is_archive() || is_admin() ) ) {
    130130            $component = new WPADC_Disclosure_Statement();
    131131            $statement = $component->render( 'after-content' );
  • wp-affiliate-disclosure/trunk/functions.php

    r2023608 r2024389  
    11<?php /*
    22Plugin Name: WP Affiliate Disclosure
    3 Version: 1.1.2
     3Version: 1.1.3
    44Plugin URI: https://www.mojofywp.com/wp-affiliate-disclosure
    55Description: Automatically add a customizable, FTC-compliant disclosure statement across your WordPress website based on the rule(s) you define.
     
    1010Requires at least: 4.9.8
    1111Tested up to: 5.0.3
    12 Stable tag: 1.1.2
     12Stable tag: 1.1.3
    1313
    1414Text Domain: wp-affiliate-disclosure
     
    5353 * Plugin version
    5454 **/
    55 if(!defined('WPADC_VERSION')) define( 'WPADC_VERSION', '1.1.2' );
     55if(!defined('WPADC_VERSION')) define( 'WPADC_VERSION', '1.1.3' );
    5656
    5757/**
  • wp-affiliate-disclosure/trunk/package.json

    r2023234 r2024389  
    11{
    22  "name": "wpaffiliatedisclosure",
    3   "version": "1.1.1",
     3  "version": "1.1.3",
    44  "scripts": {
    55    "start": "cross-env webpack --watch",
Note: See TracChangeset for help on using the changeset viewer.