Plugin Directory

Changeset 3291026


Ignore:
Timestamp:
05/10/2025 09:19:23 PM (11 months ago)
Author:
slimndap
Message:

1.31

Location:
jeero/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • jeero/trunk/Jeero.php

    r3268763 r3291026  
    66 * Author:          Slim & Dapper
    77 * Author URI:      https://slimndap.com
    8  * Version:         1.30.5
     8 * Version:         1.31
    99 * Text Domain:     jeero
    1010 *
     
    1919}
    2020
    21 define( 'Jeero\VERSION', '1.30.5' );
     21define( 'Jeero\VERSION', '1.31' );
    2222define( 'Jeero\PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
    2323define( 'Jeero\PLUGIN_URI', plugin_dir_url( __FILE__ ) );
  • jeero/trunk/includes/Jeero.php

    r3170160 r3291026  
    7575include_once PLUGIN_PATH.'includes/Footprint/Footprint.php';
    7676
    77 
    78 require_once PLUGIN_PATH.'vendor/autoload.php';
  • jeero/trunk/includes/Templates/Templates.php

    r2530728 r3291026  
    1818function render( $template, $data ) {
    1919
     20    // Ensure Twig is loaded before first use to prevent redeclaration of global helpers.
     21    if ( ! class_exists(\Twig\Environment::class) ) {
     22        require_once \Jeero\PLUGIN_PATH . '/vendor/autoload.php';
     23    }
    2024    $loader = new \Twig\Loader\ArrayLoader( array(
    2125        'jeero.html' => $template,
  • jeero/trunk/readme.txt

    r3268764 r3291026  
    9696== Changelog ==
    9797
     98= 1.31 =
     99* Avoid conflicts with plugins and themes that use older versions of Twig.
     100
    98101= 1.30 =
    99102* Added support for imports to custom post types.
     
    263266== Upgrade Notice ==
    264267
     268= 1.31 =
     269* Avoids conflicts with plugins and themes that use older versions of Twig.
     270
    265271= 1.30.5 =
    266272Fixes a problem with non-existing javascript sourcemaps.
Note: See TracChangeset for help on using the changeset viewer.