Opened 8 years ago
Closed 7 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 |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.2.3 |
| Component: | Editor | Version: | 5.0 |
| Severity: | normal | Keywords: | has-patch needs-testing fixed-major |
| Cc: | Focuses: |
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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
@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.