Changeset 3287920
- Timestamp:
- 05/05/2025 04:00:49 PM (11 months ago)
- Location:
- ai-color-palette-generator/trunk
- Files:
-
- 2 edited
-
ai-color-palette.php (modified) (5 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ai-color-palette-generator/trunk/ai-color-palette.php
r3108812 r3287920 1 1 <?php 2 2 3 /** 3 4 * Plugin Name: Red8 - AI Color Palette Generator … … 7 8 * Text Domain: ai-color-palette 8 9 * Domain Path: /languages 9 * Version: 0.1. 210 * Version: 0.1.3 10 11 * License: GPLv2 or later 11 12 * … … 15 16 namespace Red8; 16 17 17 define( 'RED8_PATH', plugins_url( '', __FILE__ ));18 define('RED8_PATH', plugins_url('', __FILE__)); 18 19 require_once 'vendor/autoload.php'; 19 20 require_once 'includes/class-ai-color-palette.php'; … … 22 23 23 24 24 add_action( 'plugins_loaded', function () {25 add_action('plugins_loaded', function () { 25 26 new Settings_Page(); 26 27 new Key_Expiration_Handler(); … … 33 34 34 35 // 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()) { 36 37 $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')); 38 39 } 39 40 } -
ai-color-palette-generator/trunk/readme.txt
r3108812 r3287920 3 3 Tags: comments, spam 4 4 Requires at least: 4.5 5 Tested up to: 6. 5.55 Tested up to: 6.8.1 6 6 Requires PHP: 5.6 7 Stable tag: 0.1. 27 Stable tag: 0.1.3 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.