[wp-trac] [WordPress Trac] #18523: Can't change page permalink if slug metabox is removed

WordPress Trac noreply at wordpress.org
Sun Aug 11 21:43:15 UTC 2013


#18523: Can't change page permalink if slug metabox is removed
--------------------------+------------------------------
 Reporter:  dankod        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Permalinks    |     Version:  3.0
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------

Comment (by iamfriendly):

 My take is a little different - I've deprecated the slugdiv function and
 stopped the registration of that metabox.

 With js enabled we have a hidden field which is used whenever someone
 edits the slug in the fancy UI. For no-js we actually show the field along
 with the Permalink:... etc. preamble.

 Seems to work fairly well for both no-js and with-js. Maintains a little
 bit of backwards compatibility by simply not registering the 'slug'
 metabox any more and deprecating the function which outputs the content.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/18523#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list