[wp-trac] [WordPress Trac] #27726: Get Shortlink button isn't shown on draft posts

WordPress Trac noreply at wordpress.org
Fri Sep 4 16:29:40 UTC 2015


#27726: Get Shortlink button isn't shown on draft posts
----------------------------+--------------------
 Reporter:  tomdxw          |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  4.4
Component:  Administration  |     Version:  3.8.1
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+--------------------

Comment (by kraftbj):

 > One of our clients was using that button to place links from draft pages
 to other draft pages (apparently using the full permalink didn't work for
 them, I assume they changed the titles before hitting the publish button).
 >

 They're using the "dirty"/default permalink, it sounds like (e.g.
 https://example.com/?p=123456 ) since no matter what the actual pretty
 permalink ends up being or changed in the future, it'll properly redirect
 to it (as opposed to traditional "shortlink" usage to have a smaller URL
 for a permanent permalink).

 The removal of the shortlink when the permalink matches makes sense
 generally—sites using the default permalinks don't need the shortlink
 button since it is the same—but does trip up folks using it as a permalink
 for a to-be-published post.

 As a middle ground, if the post is unpublished, revert to the old
 behavior. If the post is published and the site is using default
 permalink, retain the new behavior?

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


More information about the wp-trac mailing list