Changeset 1987367 for classic-editor
- Timestamp:
- 12/07/2018 02:19:30 AM (7 years ago)
- Location:
- classic-editor/trunk
- Files:
-
- 2 edited
-
classic-editor.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
classic-editor/trunk/classic-editor.php
r1986885 r1987367 450 450 $editors = self::get_enabled_editors_for_post( $post ); 451 451 452 // If no editor is supported, pass through `$use_block_editor`. 453 if ( ! $editors['block_editor'] && ! $editors['classic_editor'] ) { 454 return $use_block_editor; 455 } 456 452 457 // Open the default editor when no $post and for "Add New" links. 453 458 if ( empty( $post->ID ) || $post->post_status === 'auto-draft' ) { -
classic-editor/trunk/readme.txt
r1987007 r1987367 17 17 18 18 At a glance, this plugin adds the following: 19 19 20 * Administrators can select the default editor for all users. 20 21 * Administrators can allow users to change their default editor. … … 29 30 30 31 == Changelog == 32 33 = 1.1 = 34 Fixed a bug where it may attempt to load the Block Editor for post types that do not support editor when users are allowed to switch editors. 31 35 32 36 = 1.0 =
Note: See TracChangeset
for help on using the changeset viewer.