[wp-trac] [WordPress Trac] #64486: Deactivating plugin removes native wp metabox from page editor
WordPress Trac
noreply at wordpress.org
Fri Jan 9 16:25:17 UTC 2026
#64486: Deactivating plugin removes native wp metabox from page editor
--------------------------+------------------------------
Reporter: mrDollar4444 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: close | Focuses:
--------------------------+------------------------------
Changes (by sabernhardt):
* keywords: => close
* version: 6.9 =>
Comment:
I was able to reproduce this behavior in 6.9, 6.8.3, and 5.0. (I used the
Plugins screen interface to activate and deactivate instead of CLI.)
However, this unpleasant experience seems to be correct. The sample third-
party plugin **adds** the functionality of //any// meta boxes in the
'edit_form_after_title' hook with `do_meta_boxes()`. If you create another
plugin with only that part, and activate it, the second plugin will
reinstate the missing Featured image meta box in the special area.
{{{
add_action( 'edit_form_after_title', 'set_meta_box_in_special_area2' );
function set_meta_box_in_special_area2() {
global $post;
do_meta_boxes( get_current_screen(), 'test_do_meta_boxes', $post
);
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64486#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list