Plugin Directory

Changeset 3355376


Ignore:
Timestamp:
09/03/2025 11:36:44 AM (6 months ago)
Author:
suaudeau
Message:

5.0.1

*Release Date - 3 September 2025*

  • BUG : removes a non-blocking error in PHP8+ (stricter on constant resolution)
Location:
mon-laboratoire/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • mon-laboratoire/trunk/Admin/class-admin-init.php

    r3355231 r3355376  
    4949        // Set up the settings for this plugin
    5050        //Uses specific CSS for this admin
    51         wp_enqueue_style( 'MonLaboAdmin', plugin_dir_url( __FILE__ ) . 'css/MonLabo-admin.css', array(), MONLABO_VERSION );
     51        wp_enqueue_style( 'MonLaboAdmin', plugin_dir_url( __FILE__ ) . 'css/MonLabo-admin.css', array(), \MONLABO_VERSION );
    5252        wp_enqueue_style( 'Select2', plugin_dir_url( __FILE__ ) . 'css/select2.min.css', array(), '4.0.13' );
    5353
  • mon-laboratoire/trunk/Frontend/class-contact-webservices.php

    r3355231 r3355376  
    8181        $args = array(
    8282            'timeout'       => 20,
    83             'user-agent'    => 'mon-laboratoire Extension Wordpress ' . MONLABO_VERSION,
     83            'user-agent'    => 'mon-laboratoire Extension Wordpress ' . \MONLABO_VERSION,
    8484            'headers'       => array(
    8585            'Content-type'  => 'application/json',
  • mon-laboratoire/trunk/Lib/class-db.php

    r3355231 r3355376  
    424424        Options::unsetInstance();
    425425        $options = Options::getInstance();
    426         if ( $options->activated_version != MONLABO_VERSION ) {
     426        if ( $options->activated_version != \MONLABO_VERSION ) {
    427427            if  (  '0' === $options->activated_version ) {
    428428                //Enter here only if MonLabo_activated_version does not exist => new db
    429                 $plugin_version = MONLABO_VERSION;
     429                $plugin_version = \MONLABO_VERSION;
    430430                $options->set( 'activated_version', $plugin_version );
    431431            } else {
     
    448448                $this->migrate_to_version_4_8();
    449449            }   
    450             $options->set( 'activated_version', MONLABO_VERSION );
     450            $options->set( 'activated_version', \MONLABO_VERSION );
    451451        }
    452452        return $this;
  • mon-laboratoire/trunk/Lib/class-first-config.php

    r3355231 r3355376  
    8080
    8181        // Update plugin version.
    82         $options->set( 'activated_version', MONLABO_VERSION );
     82        $options->set( 'activated_version', \MONLABO_VERSION );
    8383
    8484        // Clear first-time configuration flag.
  • mon-laboratoire/trunk/class-mon-laboratoire.php

    r3355231 r3355376  
    114114        $img_arrondi            = $options['MonLabo_img_arrondi'] ?? '';
    115115        $name_size              = $options['MonLabo_name_size'] ?? '';
    116         wp_enqueue_style( 'MonLabo', plugin_dir_url( __FILE__ ) . 'Frontend/css/mon-laboratoire.css', array(), MONLABO_VERSION );
     116        wp_enqueue_style( 'MonLabo', plugin_dir_url( __FILE__ ) . 'Frontend/css/mon-laboratoire.css', array(), \MONLABO_VERSION );
    117117        //TODO: Retirer les commentaires et voir pourquoi cela plante
    118118        /*
     
    271271    public static function MonLabo_update_db_check() {  //@phan-suppress-current-line PhanUnreferencedFunction
    272272        $options = Options::getInstance();
    273         if ($options->activated_version != MONLABO_VERSION ) {
     273        if ($options->activated_version != \MONLABO_VERSION ) {
    274274            self::activate_MonLabo();
    275275        }
  • mon-laboratoire/trunk/mon-laboratoire.php

    r3355231 r3355376  
    1616 * Plugin URI:        http://www.monlabo.org
    1717 * Description:       Simplify the management of a research unit's website
    18  * Version:           5.0
     18 * Version:           5.0.1
    1919 * Requires at least: 5.6
    2020 * Requires PHP:      7.2
     
    4242
    4343defined( 'ABSPATH' ) or die( 'No direct script access allowed' );
    44 define( 'MONLABO_VERSION', '5.0' ); //Currently plugin version, use SemVer - https://semver.org
     44define( 'MONLABO_VERSION', '5.0.1' ); //Currently plugin version, use SemVer - https://semver.org
    4545
    4646require_once ( __DIR__ . '/polyfill.php' );
  • mon-laboratoire/trunk/readme.txt

    r3355248 r3355376  
    55Requires at least: 5.6
    66Tested up to: 6.7
    7 Stable tag: 5.0
     7Stable tag: 5.0.1
    88Requires PHP: 7.2
    99License: GPLv3 or later
     
    4545
    4646== Changelog ==
     47
     48= 5.0.1 =
     49*Release Date - 3 September 2025*
     50
     51* BUG : removes a non-blocking error in PHP8+ (stricter on constant resolution)
    4752
    4853= 5.0 =
Note: See TracChangeset for help on using the changeset viewer.