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

WordPress Trac noreply at wordpress.org
Sun Feb 8 01:45:35 UTC 2015


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

Comment (by tyxla):

 I was just dealing with CSS enhancements on the slug field, when @helen
 pointed me here (thanks for that).

 I'm a little doubtful for removing the slug meta box. The Permalink
 section is not shown for non-public post types. So removing that meta box
 would prevent the user to manage the slug in non-public post types. And
 I've dealt with such cases in my experience - using non-public post types
 that are using the slug (and need a field to manage it).

 Example use case from my experience: manage custom galleries (galleries
 are a post type), and being able to display a gallery by a shortcode by
 either ID or slug (as slug is more readable for the client). So both
 options would work in this case: `[fancy_gallery id="111"]` and
 `[fancy_gallery name="test-gallery"]`. But in that case, since the gallery
 post type is non-public, the client would still want to manage the Slug by
 using the Slug meta box.

 Am I missing something here?

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


More information about the wp-trac mailing list