Opened 6 years ago
Closed 5 years ago
#45935 closed defect (bug) (fixed)
A URL in do_block_editor_incompatible_meta_box function does not have classic-editor__forget parameter
Reported by: | tmatsuur | Owned by: | pento |
---|---|---|---|
Milestone: | 5.2.3 | Priority: | normal |
Severity: | normal | Version: | 5.0 |
Component: | Editor | Keywords: | has-patch needs-testing fixed-major |
Focuses: | Cc: |
Description
If there is an incompatible meta box in the block editor, a link to switch to the classic editor will be displayed.
Clicking this link does not switch to the classic editor depending on the post data.
do_block_editor_incompatible_meta_box function(/wp-admin/includes/template.php)
$edit_url = add_query_arg( 'classic-editor', '', get_edit_post_link( $object ) );
In this part, I think that you need the classic-editorforget parameter as shown below.
$edit_url = add_query_arg( array( 'classic-editor'=>'', 'classic-editor__forget'=>'' ), get_edit_post_link( $object ) );
Attachments (1)
Change History (8)
#4
@
5 years ago
- Milestone changed from Awaiting Review to 5.3
- Owner set to pento
- Status changed from new to assigned
Note: See
TracTickets for help on using
tickets.
@tmatsuur that issue is already fixed in Classic Editor plugin https://wordpress.org/support/topic/switching-to-classic-editor-from-block-editor-doesnt-work/ but not resolve in core software.