[wp-trac] [WordPress Trac] #37423: Permalink for pending post - editor bug

WordPress Trac noreply at wordpress.org
Wed Jul 20 18:25:44 UTC 2016


#37423: Permalink for pending post - editor bug
----------------------------+-----------------------------
 Reporter:  knutsp          |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Editor          |    Version:
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 Steps to reproduce:

 * Create a new post, edit Status to `Pending Review` and press `Save as
 Pending`
 * After saved, observe the `Permalink` field

 Expected, either:

 * No permalink yet (but a draft displays a working preview link)
 * A working link for preview post, and that the displayed URL and the
 actual `href` value on it is ''equal''

 Actual:

 * Permalink is displayed as `https://example.com/2016/my-post/` (gives
 status 404)
 * Permalink href is actually: `https://example.com/2016//` (shows the
 yearly archive)

 (Permalink settings: `/%year%/%postname%/`)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37423>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list