From 0c24050505e71d3fb8482d5bc1d992888dcb3e26 Mon Sep 17 00:00:00 2001 From: girishpanchal30 Date: Tue, 21 Jul 2026 15:52:03 +0530 Subject: [PATCH] fix: define NEVE_VERSION only when undefined --- functions.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 7875563a38..a7503ffedb 100644 --- a/functions.php +++ b/functions.php @@ -8,7 +8,9 @@ * @package Neve */ -define( 'NEVE_VERSION', '4.2.8' ); +if ( ! defined( 'NEVE_VERSION' ) ) { + define( 'NEVE_VERSION', '4.2.8' ); +} define( 'NEVE_INC_DIR', trailingslashit( get_template_directory() ) . 'inc/' ); define( 'NEVE_ASSETS_URL', trailingslashit( get_template_directory_uri() ) . 'assets/' ); define( 'NEVE_MAIN_DIR', get_template_directory() . '/' );