Plugin Directory

Changeset 3443643


Ignore:
Timestamp:
01/20/2026 11:54:35 PM (4 weeks ago)
Author:
enricocapston
Message:

Update to version 1.2.14: Fix Dashboard UX

Location:
capstonai-freemium/trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • capstonai-freemium/trunk/capstonai-freemium.php

    r3443204 r3443643  
    33 * Plugin Name: CapstonAI
    44 * Description: Boost your SEO and GEO performance in one click. CapstonAI analyzes, optimizes, and enhances every page of your site — from meta tags to structured data — using advanced AI to maximize visibility across search engines and generative platforms.
    5  * Version: 1.2.13
     5 * Version: 1.2.14
    66 * Author: Bourbon Tech
    77 * Author URI: https://capston.ai/
    8  * Text Domain: capstonai
     8 * Text Domain: capstonai-freemium
    99 * Domain Path: /languages
    1010 * License: GPL-3.0-or-later
     
    2222if ( ! defined( 'ABSPATH' ) ) exit;
    2323
    24 define('CAPSTONAI_VERSION', '1.2.13');
     24define('CAPSTONAI_VERSION', '1.2.14');
    2525define('CAIFR_URL', plugins_url('', __FILE__));
    2626define('CAIFR_DIR', plugin_dir_path(__FILE__));
  • capstonai-freemium/trunk/classes/setting.php

    r3417171 r3443643  
    7272        include_once CAIFR_DIR . '/helpers/titleHelpers.php';
    7373        include_once CAIFR_DIR . '/helpers/topicsHelpers.php';
     74        include_once CAIFR_DIR . '/helpers/imageHelpers.php';
    7475        include_once CAIFR_DIR . '/classes/hooks.php';
    7576        include_once CAIFR_DIR . '/classes/activationHooks.php';
  • capstonai-freemium/trunk/helpers/helpers.php

    r3443107 r3443643  
    746746        }
    747747
    748         $images_data = CAPSAI_ImageHelpers::getAllPostsWithImages();
     748        $images_data = CAIFR_ImageHelpers::getAllPostsWithImages();
    749749
    750750        foreach ($images_data as $image_data) {
     
    915915        if ($customer_id === false) $data;
    916916
    917         $response = wp_remote_get(CAPSAI_ADMIN_API_URL . '/image/alt-images/customer?pluginId=' . $customer_id);
     917        $response = wp_remote_get(CAIFR_ADMIN_API_URL . '/image/alt-images/customer?pluginId=' . $customer_id);
    918918        if (is_wp_error($response)) {
    919919            return $data;
     
    930930        return [];
    931931    }
     932   
     933    public static function convertPathToUrl2($file_path)
     934    {
     935        $normalized_path = str_replace('\\', '/', $file_path);
     936
     937        $wp_content_pos = strpos($normalized_path, 'wp-content');
     938
     939        if ($wp_content_pos === false) {
     940            return '';
     941        }
     942
     943        $relative_path = substr($normalized_path, $wp_content_pos);
     944
     945        $full_url = site_url('/') . $relative_path;
     946
     947        return $full_url;
     948    }
    932949}
  • capstonai-freemium/trunk/readme.txt

    r3443204 r3443643  
    66Tested up to: 6.9
    77Requires PHP: 7.4
    8 Stable tag: 1.2.13
     8Stable tag: 1.2.14
    99License: GPL-3.0-or-later
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    105105== Changelog ==
    106106
     107= 1.2.14 = 
     108* Fix Dashboard UX
     109
    107110= 1.2.13 = 
    108111* Fix Dashboard UI
Note: See TracChangeset for help on using the changeset viewer.