Plugin Directory

Changeset 3000536


Ignore:
Timestamp:
11/23/2023 08:47:09 AM (2 years ago)
Author:
kinggmobb
Message:

Fixed shortcode bug, moved assets to correct location

Location:
ai-shield/trunk
Files:
5 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • ai-shield/trunk/ai-shield.php

    r3000031 r3000536  
    44 * Plugin URI:        https://github.com/KingMob/ai-shield
    55 * Description:       AI Shield helps protect your content from being used to train AI models, by inserting whitespace that's invisible to humans, but awkward for AIs.
    6  * Version:           1.0.2
     6 * Version:           1.0.3
    77 * Author:            Matthew Davidson
    88 * Author URI:        https://github.com/KingMob
  • ai-shield/trunk/includes/class-ai-shield.php

    r3000031 r3000536  
    283283        // $this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts' );
    284284
    285         $this->loader->add_filter('the_title', $this, 'obscure_content');
    286         $this->loader->add_filter('the_preview', $this, 'obscure_content');
    287         $this->loader->add_filter('the_content', $this, 'obscure_content');
     285        $this->loader->add_filter( 'the_title', $this, 'obscure_content', PHP_INT_MAX );
     286        $this->loader->add_filter( 'the_preview', $this, 'obscure_content', PHP_INT_MAX );
     287        $this->loader->add_filter( 'the_content', $this, 'obscure_content', PHP_INT_MAX );
    288288    }
    289289
  • ai-shield/trunk/readme.txt

    r3000031 r3000536  
    22Contributors: kinggmobb
    33Donate link: https://github.com/sponsors/KingMob
    4 Stable tag: 1.0.2
     4Stable tag: 1.0.3
    55Tags: AI, chatGPT, gpt, openai
    66Requires at least: 5.6.10
     
    5454== Changelog ==
    5555
     56= 1.0.3 =
     57* Fixed priority bug that interfered with some shortcodes
     58
    5659= 1.0.2 =
    5760* Fixed minor admin bug
Note: See TracChangeset for help on using the changeset viewer.