Plugin Directory

Changeset 3388312


Ignore:
Timestamp:
11/02/2025 10:00:21 AM (5 months ago)
Author:
ashleyjackson
Message:

Update to version 4.1.0 from GitHub

Location:
aitrackerstats
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • aitrackerstats/tags/4.1.0/aitrackerstats.php

    r3386154 r3388312  
    33/**
    44 * @package AiTrackerStats
    5  * @version 4.0.0
     5 * @version 4.1.0
    66 */
    77/*
     
    99Slug: aitrackerstats
    1010Description: This plugin tracks how many times A.I. references your website and posts.
    11 Version: 4.0.0
     11Version: 4.1.0
    1212Requires at least: 6.0
    1313Author: Ashley Jackson
     
    1919
    2020global $PLUGIN_VERSION;
    21 $PLUGIN_VERSION = "4.0.0";
     21$PLUGIN_VERSION = "4.1.0";
    2222if (! defined('ABSPATH')) exit; // Exit if accessed directly
    2323
     
    175175  $site_url = home_url();
    176176  $hostname = wp_parse_url($site_url, PHP_URL_HOST);
     177  $base = base64_encode($hostname);
    177178
    178179  $response = wp_remote_post('https://analytics.ashleyjackson.net/api/register', [
    179     'body' => wp_json_encode(['hostname' => $hostname]),
     180    'body' => wp_json_encode(
     181      [
     182        'hostname' => $hostname,
     183        'version' => $GLOBALS['PLUGIN_VERSION'],
     184        'base' => $base,
     185      ]
     186    ),
    180187    'headers' => [
    181188      'Content-Type' => 'application/json',
    182189      'version' => $GLOBALS['PLUGIN_VERSION'],
    183 
    184190    ],
    185191    'data_format' => 'body',
  • aitrackerstats/tags/4.1.0/readme.md

    r3386154 r3388312  
    44Requires at least: 6.0
    55Tested up to: 6.8
    6 Stable tag: 4.0.0
     6Stable tag: 4.1.0
    77Requires PHP: 7.4
    88License: GPLv2 or later
  • aitrackerstats/trunk/aitrackerstats.php

    r3386154 r3388312  
    33/**
    44 * @package AiTrackerStats
    5  * @version 4.0.0
     5 * @version 4.1.0
    66 */
    77/*
     
    99Slug: aitrackerstats
    1010Description: This plugin tracks how many times A.I. references your website and posts.
    11 Version: 4.0.0
     11Version: 4.1.0
    1212Requires at least: 6.0
    1313Author: Ashley Jackson
     
    1919
    2020global $PLUGIN_VERSION;
    21 $PLUGIN_VERSION = "4.0.0";
     21$PLUGIN_VERSION = "4.1.0";
    2222if (! defined('ABSPATH')) exit; // Exit if accessed directly
    2323
     
    175175  $site_url = home_url();
    176176  $hostname = wp_parse_url($site_url, PHP_URL_HOST);
     177  $base = base64_encode($hostname);
    177178
    178179  $response = wp_remote_post('https://analytics.ashleyjackson.net/api/register', [
    179     'body' => wp_json_encode(['hostname' => $hostname]),
     180    'body' => wp_json_encode(
     181      [
     182        'hostname' => $hostname,
     183        'version' => $GLOBALS['PLUGIN_VERSION'],
     184        'base' => $base,
     185      ]
     186    ),
    180187    'headers' => [
    181188      'Content-Type' => 'application/json',
    182189      'version' => $GLOBALS['PLUGIN_VERSION'],
    183 
    184190    ],
    185191    'data_format' => 'body',
  • aitrackerstats/trunk/readme.md

    r3386154 r3388312  
    44Requires at least: 6.0
    55Tested up to: 6.8
    6 Stable tag: 4.0.0
     6Stable tag: 4.1.0
    77Requires PHP: 7.4
    88License: GPLv2 or later
Note: See TracChangeset for help on using the changeset viewer.