From afc5c38bb49f013a15dadd8722031cd4b464339a Mon Sep 17 00:00:00 2001 From: mattyrob Date: Tue, 15 Jan 2019 18:25:42 +0000 Subject: [PATCH] Update for Classic Editor checking and bump dates --- classes/class-s2-core.php | 2 +- subscribe2.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/class-s2-core.php b/classes/class-s2-core.php index 6e629b2..d00d04a 100644 --- a/classes/class-s2-core.php +++ b/classes/class-s2-core.php @@ -1882,7 +1882,7 @@ public function s2init() { } // Check if Block Editor is in use - if ( function_exists( 'register_block_type' ) && ! function_exists( 'classic_editor_init_actions' ) && false === has_filter( 'use_block_editor_for_post', '__return_false' ) ) { + if ( function_exists( 'register_block_type' ) && ! class_exists( 'Classic_Editor' ) && false === has_filter( 'use_block_editor_for_post', '__return_false' ) ) { $this->block_editor = true; } diff --git a/subscribe2.php b/subscribe2.php index 926084c..a0899dc 100644 --- a/subscribe2.php +++ b/subscribe2.php @@ -11,7 +11,7 @@ */ /* -Copyright (C) 2006-18 Matthew Robinson +Copyright (C) 2006-19 Matthew Robinson Based on the Original Subscribe2 plugin by Copyright (C) 2005 Scott Merrill (skippy@skippy.net)