WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#19457 closed defect (bug) (duplicate)

Removal of slug meta box prevents slug changes

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

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)

comment:1 @nacin4 years ago

  • Component changed from General to Permalinks
  • Version set to 3.3

comment:2 @nacin4 years ago

  • Priority changed from highest omg bbq to normal
  • Severity changed from blocker to major
  • Version changed from 3.3 to 3.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.

comment:3 @nacin4 years ago

  • Milestone 3.3 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Apparently there was one report: #18523.

Note: See TracTickets for help on using tickets.