[wp-trac] [WordPress Trac] #36157: Permalink UI shown without typing a title

WordPress Trac noreply at wordpress.org
Mon Mar 7 15:11:17 UTC 2016


#36157: Permalink UI shown without typing a title
--------------------------+-----------------------------
 Reporter:  atimmer       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Autosave      |    Version:  4.4.2
 Severity:  normal        |   Keywords:
  Focuses:  javascript    |
--------------------------+-----------------------------
 When creating a new post and jumping straight to the content to write a
 post the permalink UI will still be shown.

 '''Steps to reproduce:'''

 * 'Add New' post in the admin
 * Type content inside the post content field.
 * Wait until an autosave triggers and finishes. This step can also be
 achieved by putting `wp.autosave.server.triggerSave();` inside the
 console.

 '''Expected behaviour:'''
 The permalink UI isn't shown because no title has been set yet.

 '''Actual behaviour:'''
 The permalink UI is shown with a post ID as the slug.

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


More information about the wp-trac mailing list