From fb14119f084a936cb41b394f456ed3d3778a9071 Mon Sep 17 00:00:00 2001 From: jcvignoli Date: Sat, 21 Dec 2024 20:17:00 -0300 Subject: [PATCH] version 4.2.3.1 => fix fatal error on update --- dist/CHANGELOG.md | 4 ++-- dist/README.txt | 2 +- dist/class/class-updates.php | 2 +- dist/lumiere-movies.php | 2 +- src/CHANGELOG.md | 4 ++-- src/README.txt | 2 +- src/class/class-updates.php | 2 +- src/lumiere-movies.php | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/dist/CHANGELOG.md b/dist/CHANGELOG.md index cb371802..baf8dfb9 100644 --- a/dist/CHANGELOG.md +++ b/dist/CHANGELOG.md @@ -1,7 +1,7 @@ **Changelog** -v.4.2.4 -* [bug] Uncaught Error: Call to undefined function Lumiere\lum_check_display() in wp-content/plugins/lumiere-movies/class/class-updates.php:17 (added functions.php inclusing in Updates class) +v.4.2.3.1 +* [bug] WordPress Update process was broken (Uncaught Error: Call to undefined function Lumiere\lum_check_display() in wp-content/plugins/lumiere-movies/class/class-updates.php:17 => added functions.php inclusing in Updates class) v.4.2.3 * [technical] Increased security: added $_GET validation for popups (new Validate_Get class in tools) diff --git a/dist/README.txt b/dist/README.txt index 3d9b93f9..b6d2ac9b 100644 --- a/dist/README.txt +++ b/dist/README.txt @@ -3,7 +3,7 @@ Contributors: psykonevro Tags: cinema, film, imdb, movie, actor Requires at least: 5.6 Tested up to: 6.7 -Stable tag: 4.2.4 +Stable tag: 4.2.3.1 Requires PHP: 8.0 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.en.html diff --git a/dist/class/class-updates.php b/dist/class/class-updates.php index 1df21ac5..952b992e 100644 --- a/dist/class/class-updates.php +++ b/dist/class/class-updates.php @@ -15,7 +15,7 @@ // If this file is called directly, abort. if ( ! function_exists( 'lum_check_display' ) ) { - require_once plugin_dir_path( dirname( __DIR__ ) ) . 'functions.php'; + require_once plugin_dir_path( __DIR__ ) . 'functions.php'; } lum_check_display(); diff --git a/dist/lumiere-movies.php b/dist/lumiere-movies.php index 3bf23c7c..4b28b8d2 100644 --- a/dist/lumiere-movies.php +++ b/dist/lumiere-movies.php @@ -11,7 +11,7 @@ * Plugin Name: Lumière Movies * Plugin URI: https://www.wordpress.org/plugins/lumiere-movies/ * Description: Add informative popups about movies with information extracted from the IMDb. Display data related to movies in a widget and inside your post. - * Version: 4.2.4 + * Version: 4.2.3.1 * Requires at least: 5.6 * Requires PHP: 8.0 * Author: psykonevro diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md index cb371802..baf8dfb9 100644 --- a/src/CHANGELOG.md +++ b/src/CHANGELOG.md @@ -1,7 +1,7 @@ **Changelog** -v.4.2.4 -* [bug] Uncaught Error: Call to undefined function Lumiere\lum_check_display() in wp-content/plugins/lumiere-movies/class/class-updates.php:17 (added functions.php inclusing in Updates class) +v.4.2.3.1 +* [bug] WordPress Update process was broken (Uncaught Error: Call to undefined function Lumiere\lum_check_display() in wp-content/plugins/lumiere-movies/class/class-updates.php:17 => added functions.php inclusing in Updates class) v.4.2.3 * [technical] Increased security: added $_GET validation for popups (new Validate_Get class in tools) diff --git a/src/README.txt b/src/README.txt index 3d9b93f9..b6d2ac9b 100644 --- a/src/README.txt +++ b/src/README.txt @@ -3,7 +3,7 @@ Contributors: psykonevro Tags: cinema, film, imdb, movie, actor Requires at least: 5.6 Tested up to: 6.7 -Stable tag: 4.2.4 +Stable tag: 4.2.3.1 Requires PHP: 8.0 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.en.html diff --git a/src/class/class-updates.php b/src/class/class-updates.php index 1df21ac5..952b992e 100644 --- a/src/class/class-updates.php +++ b/src/class/class-updates.php @@ -15,7 +15,7 @@ // If this file is called directly, abort. if ( ! function_exists( 'lum_check_display' ) ) { - require_once plugin_dir_path( dirname( __DIR__ ) ) . 'functions.php'; + require_once plugin_dir_path( __DIR__ ) . 'functions.php'; } lum_check_display(); diff --git a/src/lumiere-movies.php b/src/lumiere-movies.php index 3bf23c7c..4b28b8d2 100644 --- a/src/lumiere-movies.php +++ b/src/lumiere-movies.php @@ -11,7 +11,7 @@ * Plugin Name: Lumière Movies * Plugin URI: https://www.wordpress.org/plugins/lumiere-movies/ * Description: Add informative popups about movies with information extracted from the IMDb. Display data related to movies in a widget and inside your post. - * Version: 4.2.4 + * Version: 4.2.3.1 * Requires at least: 5.6 * Requires PHP: 8.0 * Author: psykonevro