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

WordPress Trac noreply at wordpress.org
Tue Oct 6 18:57:56 UTC 2015


#18523: Can't change page permalink if slug metabox is removed
--------------------------+-----------------------------
 Reporter:  dankod        |       Owner:  helen
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  4.4
Component:  Permalinks    |     Version:  3.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  administration
--------------------------+-----------------------------

Comment (by helen):

 Still thinking through this; these are the things that strike me:

 * For situations now where there's no slug field in the permalink area
 (permalinks without the post name, non-public post types), does this
 really need to show all the time? Or should the UI still be controlled in
 some way, maybe via `post_type_supports()` (not sure how that would work
 with non-post-name permalinks) or keeping the screen option? I don't think
 it's a good idea for it to show all the time because fields indicate what
 you're supposed to be doing just as much as what you could be doing, and I
 don't think that any large majority of people need this field to be
 showing all the time.
 * For cases where a permalink is shown but doesn't have the post name in
 it, where would this field be displayed? Beside the permalink, below,
 other?
 * If we change what `get_sample_permalink_html()` returns, what side
 effects would this have? A quick plugin repo search brings up a few
 results.
 * If we don't change it in that function, where do we make the alteration?
 Can't be in JS because the input is also a no-JS fallback.

 I definitely think this metabox still needs to go because it's very heavy
 UI for something so small, but I'm still not sure what exactly the right
 replacement is. Would love some thoughts here.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/18523#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list