Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#19457 closed defect (bug) (duplicate)

Removal of slug meta box prevents slug changes

Reported by: nacin Owned by:
Priority: normal Milestone:
Component: Permalinks Version: 3.2.1
Severity: major Keywords: needs-patch
Cc: Focuses:

Description

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');
    } );
    
  1. Create a post or page. Save.
  1. Attempt to change the slug via the live edit. Save.
  1. Notice that the slug did not change.

Change History (3)

#1 @nacin
15 years ago

  • Component GeneralPermalinks
  • Version3.3

#2 @nacin
15 years ago

  • Priority highest omg bbqnormal
  • Severity blockermajor
  • Version 3.33.2.1

Wait a second, confirmed on 3.2.1. Very odd. I'd think I would have seen a bug report for this one before.

#3 @nacin
15 years ago

  • Milestone 3.3
  • Resolutionduplicate
  • Status newclosed

Apparently there was one report: #18523.

Note: See TracTickets for help on using tickets.