[wp-trac] [WordPress Trac] #19457: Removal of slug meta box prevents slug changes
WordPress Trac
wp-trac at lists.automattic.com
Tue Dec 6 11:03:49 UTC 2011
#19457: Removal of slug meta box prevents slug changes
-----------------------------+-------------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: highest omg bbq | Milestone: 3.3
Component: General | Version:
Severity: blocker | Keywords: needs-patch
-----------------------------+-------------------------
The changes in [19444] (#19292) seem to require that the slug metabox
remains registered for the page. This is typically the first thing to be
de-registered when someone is trying to clean up the boxes on this admin
page. We need to make this JS independent of that input box.
Steps to reproduce:
1. Add this code to a mu-plugin:
{{{
add_action( 'add_meta_boxes', function() {
remove_meta_box('slugdiv', get_current_screen(), 'normal');
} );
}}}
2. Create a post or page. Save.
3. Attempt to change the slug via the live edit. Save.
4. Notice that the slug did not change.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19457>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list