Changeset 3355376
- Timestamp:
- 09/03/2025 11:36:44 AM (6 months ago)
- Location:
- mon-laboratoire/trunk
- Files:
-
- 7 edited
-
Admin/class-admin-init.php (modified) (1 diff)
-
Frontend/class-contact-webservices.php (modified) (1 diff)
-
Lib/class-db.php (modified) (2 diffs)
-
Lib/class-first-config.php (modified) (1 diff)
-
class-mon-laboratoire.php (modified) (2 diffs)
-
mon-laboratoire.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mon-laboratoire/trunk/Admin/class-admin-init.php
r3355231 r3355376 49 49 // Set up the settings for this plugin 50 50 //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 ); 52 52 wp_enqueue_style( 'Select2', plugin_dir_url( __FILE__ ) . 'css/select2.min.css', array(), '4.0.13' ); 53 53 -
mon-laboratoire/trunk/Frontend/class-contact-webservices.php
r3355231 r3355376 81 81 $args = array( 82 82 'timeout' => 20, 83 'user-agent' => 'mon-laboratoire Extension Wordpress ' . MONLABO_VERSION,83 'user-agent' => 'mon-laboratoire Extension Wordpress ' . \MONLABO_VERSION, 84 84 'headers' => array( 85 85 'Content-type' => 'application/json', -
mon-laboratoire/trunk/Lib/class-db.php
r3355231 r3355376 424 424 Options::unsetInstance(); 425 425 $options = Options::getInstance(); 426 if ( $options->activated_version != MONLABO_VERSION ) {426 if ( $options->activated_version != \MONLABO_VERSION ) { 427 427 if ( '0' === $options->activated_version ) { 428 428 //Enter here only if MonLabo_activated_version does not exist => new db 429 $plugin_version = MONLABO_VERSION;429 $plugin_version = \MONLABO_VERSION; 430 430 $options->set( 'activated_version', $plugin_version ); 431 431 } else { … … 448 448 $this->migrate_to_version_4_8(); 449 449 } 450 $options->set( 'activated_version', MONLABO_VERSION );450 $options->set( 'activated_version', \MONLABO_VERSION ); 451 451 } 452 452 return $this; -
mon-laboratoire/trunk/Lib/class-first-config.php
r3355231 r3355376 80 80 81 81 // Update plugin version. 82 $options->set( 'activated_version', MONLABO_VERSION );82 $options->set( 'activated_version', \MONLABO_VERSION ); 83 83 84 84 // Clear first-time configuration flag. -
mon-laboratoire/trunk/class-mon-laboratoire.php
r3355231 r3355376 114 114 $img_arrondi = $options['MonLabo_img_arrondi'] ?? ''; 115 115 $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 ); 117 117 //TODO: Retirer les commentaires et voir pourquoi cela plante 118 118 /* … … 271 271 public static function MonLabo_update_db_check() { //@phan-suppress-current-line PhanUnreferencedFunction 272 272 $options = Options::getInstance(); 273 if ($options->activated_version != MONLABO_VERSION ) {273 if ($options->activated_version != \MONLABO_VERSION ) { 274 274 self::activate_MonLabo(); 275 275 } -
mon-laboratoire/trunk/mon-laboratoire.php
r3355231 r3355376 16 16 * Plugin URI: http://www.monlabo.org 17 17 * Description: Simplify the management of a research unit's website 18 * Version: 5.0 18 * Version: 5.0.1 19 19 * Requires at least: 5.6 20 20 * Requires PHP: 7.2 … … 42 42 43 43 defined( 'ABSPATH' ) or die( 'No direct script access allowed' ); 44 define( 'MONLABO_VERSION', '5.0 ' ); //Currently plugin version, use SemVer - https://semver.org44 define( 'MONLABO_VERSION', '5.0.1' ); //Currently plugin version, use SemVer - https://semver.org 45 45 46 46 require_once ( __DIR__ . '/polyfill.php' ); -
mon-laboratoire/trunk/readme.txt
r3355248 r3355376 5 5 Requires at least: 5.6 6 6 Tested up to: 6.7 7 Stable tag: 5.0 7 Stable tag: 5.0.1 8 8 Requires PHP: 7.2 9 9 License: GPLv3 or later … … 45 45 46 46 == 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) 47 52 48 53 = 5.0 =
Note: See TracChangeset
for help on using the changeset viewer.