From b5f0b6132de37355766cc02636b4ad8b06611aea Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Sun, 25 Apr 2021 15:06:03 +0100 Subject: [PATCH] fix: urgent 2.7.3 release to fix fatal error --- CHANGELOG.md | 4 ++++ src/class/wysiwyg.php | 2 +- src/footnotes.php | 4 ++-- src/js/wysiwyg-editor.js | 2 +- src/readme.txt | 12 ++++++------ 5 files changed, 14 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e46ecf9..662d255 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog += 2.7.3 = + +- Bugfix: fix WYSIWYG editor error message, thanks to @ogbcashdown bug report. + = 2.7.2 = - Reissue of 2.7.1. diff --git a/src/class/wysiwyg.php b/src/class/wysiwyg.php index d472225..f68ea8c 100644 --- a/src/class/wysiwyg.php +++ b/src/class/wysiwyg.php @@ -74,7 +74,7 @@ class Footnotes_WYSIWYG { * @return array */ public static function include_scripts( $p_arr_plugins ) { - $p_arr_plugins[ Footnotes_Config::C_STR_PLUGIN_NAME ] = plugins_url( '/../js/wysiwyg-editor ' . ( ( Footnotes::PRODUCTION_ENV ) ? '.min' : '' ) . '.js', __FILE__ ); + $p_arr_plugins[ Footnotes_Config::C_STR_PLUGIN_NAME ] = plugins_url( '/../js/wysiwyg-editor' . ( ( PRODUCTION_ENV ) ? '.min' : '' ) . '.js', __FILE__ ); return $p_arr_plugins; } diff --git a/src/footnotes.php b/src/footnotes.php index f61cafa..26b7367 100755 --- a/src/footnotes.php +++ b/src/footnotes.php @@ -5,7 +5,7 @@ * Description: footnotes lets you easily add highly-customisable footnotes on your WordPress Pages and Posts. * Author: Mark Cheret * Author URI: https://cheret.org/footnotes - * Version: 2.7.2 + * Version: 2.7.3 * Text Domain: footnotes * Domain Path: /languages * Requires at least: 3.9 @@ -25,7 +25,7 @@ * @since 2.5.3 (Hungarian) * @var str */ -define( 'C_STR_FOOTNOTES_VERSION', '2.7.2' ); +define( 'C_STR_FOOTNOTES_VERSION', '2.7.3' ); /** * Defines the current environment ('development' or 'production'). diff --git a/src/js/wysiwyg-editor.js b/src/js/wysiwyg-editor.js index 7e845c0..5371271 100644 --- a/src/js/wysiwyg-editor.js +++ b/src/js/wysiwyg-editor.js @@ -68,7 +68,7 @@ author: 'Mark Cheret', authorurl: 'https://cheret.org/footnotes/', infourl: 'https://wordpress.org/plugins/footnotes/', - version: '2.7.3d', + version: '2.7.4d', }; }, }); diff --git a/src/readme.txt b/src/readme.txt index e016040..7119741 100644 --- a/src/readme.txt +++ b/src/readme.txt @@ -5,7 +5,7 @@ Tags: footnote, footnotes, bibliography, formatting, notes, Post, posts, referen Requires at least: 3.9 Tested up to: 5.7.1 Requires PHP: 7.0 -Stable Tag: 2.7.2 +Stable Tag: 2.7.3 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -60,6 +60,10 @@ No, this Plugin has been written from scratch. Of course some inspirations on ho == Changelog == += 2.7.3 = + +- Bugfix: fix WYSIWYG editor error message, thanks to @ogbcashdown bug report. + = 2.7.2 = - Reissue of 2.7.1. @@ -78,13 +82,9 @@ No, this Plugin has been written from scratch. Of course some inspirations on ho - Bugfix: Excerpts: make excerpt handling backward compatible, thanks to @mfessler bug report. - Bugfix: Dashboard: debug the 'Quick start guide' tab, thanks to @rumperuu bug report. -= 2.6.6 = - -- Bugfix: Process: fix issue that caused some footnotes to not be processed, thanks to @docteurfitness @rkupadhya @offpeakdesign bug reports. - == Upgrade Notice == -= 2.7.2 = += 2.7.3 = This release resolves a CSS class conflict with the commonly-used `.collapsed` class.