Plugin Directory

Changeset 3422995


Ignore:
Timestamp:
12/18/2025 02:34:31 PM (3 months ago)
Author:
chromesque
Message:

Version 1.0.1 - Fixed constant redefinition warnings and menu icon display issues

Location:
atchr-messaging
Files:
3 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • atchr-messaging/trunk/assets/php/atchr-messaging-functions.php

    r3301507 r3422995  
    66function atchr_messaging_menu()
    77{
     8  $icon_svg = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 95 95"><path d="M48.4 84.8c0 1.8 1.8 1.8 3.7 1.8 5.5-1.8 11.1-11.1 14.7-14.7 1.8-1.8 9.2-11.1 9.2-11.1.5-.8.9-1.5 1.2-2 1.5-3-1.5-1.7-3-1.7L48.4 71.9v12.9z" fill="#a7aaad"/><circle cx="46.6" cy="43.2" r="1.8" fill="#a7aaad" stroke="#a7aaad" stroke-width="8" stroke-miterlimit="10"/><circle cx="46.6" cy="43.2" r="28.4" fill="none" stroke="#a7aaad" stroke-width="12" stroke-miterlimit="10"/></svg>';
     9  $icon_base64 = 'data:image/svg+xml;base64,' . base64_encode($icon_svg);
     10
    811  add_menu_page(
    912    'Atchr Messaging Settings',
     
    1215    'atchr-messaging',
    1316    'atchr_messaging_settings_page',
    14     esc_url(ATCHR_MESSAGING_PLUGIN_URL . 'assets/images/menu-icon.svg'),
     17    $icon_base64,
    1518    100
    1619  );
     
    5962    <table>
    6063      <tr>
    61         <td style="width: 90px">
    62   <?php echo wp_kses_post(atchr_get_plugin_image('logo-dark.png', 'Atchr Logo', [
    63             'width' => '90',
    64             'height' => '60',
    65             'class' => 'atchr-logo'
    66           ])); ?>
    67         </td>
    6864        <td><h1 class="title">Widget Settings</h1></td>
    6965      </tr>
  • atchr-messaging/trunk/atchr-messaging.php

    r3301507 r3422995  
    44 * Plugin URI: https://atchr.com
    55 * Description: Atchr by Chromesque is a secure AI Chatbot, Instant messaging & Analytics platform for organizations, businesses, teams and individuals. Atchr provides a secure communications platform that bridges the divide between you, your customers and your team.
    6  * Version: 1.0.0
     6 * Version: 1.0.1
    77 * Author: Chromesque, LLC
    88 * Author URI: https://chromesque.com
     
    3232}
    3333
    34 define('ATCHR_MESSAGING_VERSION', '1.0.0');
    35 define('ATCHR_MESSAGING_PLUGIN_DIR', plugin_dir_path(__FILE__));
    36 define('ATCHR_MESSAGING_PLUGIN_URL', plugin_dir_url(__FILE__));
     34if (!defined('ATCHR_MESSAGING_VERSION')) {
     35  define('ATCHR_MESSAGING_VERSION', '1.0.1');
     36}
     37if (!defined('ATCHR_MESSAGING_PLUGIN_DIR')) {
     38  define('ATCHR_MESSAGING_PLUGIN_DIR', plugin_dir_path(__FILE__));
     39}
     40if (!defined('ATCHR_MESSAGING_PLUGIN_URL')) {
     41  define('ATCHR_MESSAGING_PLUGIN_URL', plugin_dir_url(__FILE__));
     42}
    3743
    3844include_once(ATCHR_MESSAGING_PLUGIN_DIR . 'assets/php/atchr-messaging-functions.php');
  • atchr-messaging/trunk/readme.txt

    r3301507 r3422995  
    11=== Atchr Messaging ===
    2 Contributors: Chromesque, LLC
     2Contributors: Chromesque LLC
    33Tags: atchr, webchat, chat, widget, bubble
    44Requires at least: 5.0
    55Tested up to: 6.8
    6 Stable tag: 1.0.0
     6Stable tag: 1.0.1
    77Requires PHP: 7.2
    88License: GPLv2 or later
     
    5656== Changelog ==
    5757
     58= 1.0.1 =
     59* Fixed menu icon display issues across all admin pages
     60* Resolved PHP constant redefinition warnings
     61* Improved SVG icon rendering with base64 encoding
     62
    5863= 1.0.0 =
    5964* Initial release
Note: See TracChangeset for help on using the changeset viewer.