Skip to content

Commit

Permalink
Update for Classic Editor checking and bump dates
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyrob committed Jan 15, 2019
1 parent d7a4699 commit afc5c38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion classes/class-s2-core.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion subscribe2.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ([email protected])
Expand Down

0 comments on commit afc5c38

Please sign in to comment.