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

WordPress Trac noreply at wordpress.org
Thu Aug 25 22:02:37 UTC 2016


#37423: Permalink for pending post - get_sample_permalink_html bug
------------------------------------+---------------------------------
 Reporter:  knutsp                  |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  4.7
Component:  Permalinks              |     Version:  4.4
 Severity:  major                   |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  ui, administration
------------------------------------+---------------------------------
Changes (by enshrined):

 * keywords:  has-patch dev-feedback needs-unit-tests => has-patch dev-
     feedback


Comment:

 I've attached a test for posts that contain no post_name to make sure they
 instead use the preview link rather than a broken permalink. This test
 passes with the previous patch (`37423.diff`) but fails without.

 Also realised my message for the test had the wrong ticket number in it,
 apologies.

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


More information about the wp-trac mailing list