Plugin Directory

Changeset 3287920


Ignore:
Timestamp:
05/05/2025 04:00:49 PM (11 months ago)
Author:
red8developers
Message:

Testing WP 6.8.1

Location:
ai-color-palette-generator/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ai-color-palette-generator/trunk/ai-color-palette.php

    r3108812 r3287920  
    11<?php
     2
    23/**
    34 * Plugin Name:     Red8 - AI Color Palette Generator
     
    78 * Text Domain:     ai-color-palette
    89 * Domain Path:     /languages
    9  * Version:         0.1.2
     10 * Version:         0.1.3
    1011 * License: GPLv2 or later
    1112 *
     
    1516namespace Red8;
    1617
    17 define( 'RED8_PATH', plugins_url( '', __FILE__ ) );
     18define('RED8_PATH', plugins_url('', __FILE__));
    1819require_once 'vendor/autoload.php';
    1920require_once 'includes/class-ai-color-palette.php';
     
    2223
    2324
    24 add_action( 'plugins_loaded', function () {
     25add_action('plugins_loaded', function () {
    2526    new Settings_Page();
    2627    new Key_Expiration_Handler();
     
    3334
    3435        // Check to make sure the theme has a theme.json file.
    35         if ( wp_theme_has_theme_json() ) {
     36        if (wp_theme_has_theme_json()) {
    3637            $color_palette = new AI_Color_Palette();
    37             add_filter( 'wp_theme_json_data_theme', array( $color_palette, 'add_color_palette' ) );
     38            add_filter('wp_theme_json_data_theme', array($color_palette, 'add_color_palette'));
    3839        }
    3940    }
  • ai-color-palette-generator/trunk/readme.txt

    r3108812 r3287920  
    33Tags: comments, spam
    44Requires at least: 4.5
    5 Tested up to: 6.5.5
     5Tested up to: 6.8.1
    66Requires PHP: 5.6
    7 Stable tag: 0.1.2
     7Stable tag: 0.1.3
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.