Plugin Directory

Changeset 3411355


Ignore:
Timestamp:
12/04/2025 07:52:47 PM (4 months ago)
Author:
grocerslist
Message:

Release v1.15.0

Location:
grocerslist
Files:
208 added
4 edited

Legend:

Unmodified
Added
Removed
  • grocerslist/trunk/README.md

    r3411328 r3411355  
    44Author: Grocers List, Engineering
    55Tested up to: 6.8
    6 Stable tag: 1.14.0
     6Stable tag: 1.15.0
    77Requires PHP: 7.0
    88License: GPLv3
     
    7676#### - 12/4/2-25 - 1.14.0 - Ability to gate category pages and pages in wordpress admin. TopBar/Drawer can now use theme fonts.
    7777
     78#### - 12/4/2-25 - 1.15.0 - TopBar/Drawer can now use theme fonts.
     79
    7880### Resources:
    7981
  • grocerslist/trunk/grocerslist.php

    r3411328 r3411355  
    77Requires PHP: 7.0
    88Tested up to: 6.8
    9 Version: 1.14.0
    10 Stable tag: 1.14.0
     9Version: 1.15.0
     10Stable tag: 1.15.0
    1111Author: Grocers List Engineering
    1212License: GPLv3
     
    1818if (!defined('ABSPATH')) exit;
    1919
    20 define('GROCERS_LIST_VERSION', '1.14.0');
     20define('GROCERS_LIST_VERSION', '1.15.0');
    2121define('GROCERS_LIST_PLUGIN_FILE', __FILE__);
    2222define('GROCERS_LIST_PLUGIN_DIR', __DIR__);
  • grocerslist/trunk/includes/Frontend/ClientScripts.php

    r3411328 r3411355  
    4141
    4242        $creatorSettings = $this->creatorSettingsFetcher->getCreatorSettings();
     43        $theme_root = get_stylesheet_directory();
     44        $theme_json_path = trailingslashit( $theme_root ) . 'theme.json';
     45
     46        if ( file_exists( $theme_json_path ) ) {
     47            $theme_json_content = file_get_contents( $theme_json_path );
     48            $theme_data = json_decode( $theme_json_content, true );
     49        }
    4350
    4451        $window_grocersList = [
    4552            'ajaxUrl' => admin_url('admin-ajax.php'),
     53            'theme' => $theme_data ?? null,
    4654            'nonces' => [
    4755                'grocers_list_get_init_memberships' => wp_create_nonce('grocers_list_get_init_memberships'),
  • grocerslist/trunk/vendor/composer/installed.php

    r3411328 r3411355  
    22    'root' => array(
    33        'name' => '__root__',
    4         'pretty_version' => '1.14.0.x-dev',
    5         'version' => '1.14.0.9999999-dev',
    6         'reference' => '7a32d2ca4ec83416c6109de30736c202d5c45e11',
     4        'pretty_version' => 'dev-master',
     5        'version' => 'dev-master',
     6        'reference' => '40d887c0051b5ce3c63b2fc68b9b8db23a859736',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        '__root__' => array(
    14             'pretty_version' => '1.14.0.x-dev',
    15             'version' => '1.14.0.9999999-dev',
    16             'reference' => '7a32d2ca4ec83416c6109de30736c202d5c45e11',
     14            'pretty_version' => 'dev-master',
     15            'version' => 'dev-master',
     16            'reference' => '40d887c0051b5ce3c63b2fc68b9b8db23a859736',
    1717            'type' => 'library',
    1818            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.