[wp-trac] [WordPress Trac] #38928: Default theme content - problem with slugs

WordPress Trac noreply at wordpress.org
Wed Nov 30 23:17:23 UTC 2016


#38928: Default theme content - problem with slugs
-------------------------------------------------+-------------------------
 Reporter:  pavelevap                            |       Owner:
     Type:  defect (bug)                         |  westonruter
 Priority:  normal                               |      Status:  accepted
Component:  Customize                            |   Milestone:  4.7
 Severity:  normal                               |     Version:  trunk
 Keywords:  has-patch needs-testing has-unit-    |  Resolution:
  tests                                          |     Focuses:
-------------------------------------------------+-------------------------
Changes (by westonruter):

 * keywords:  has-patch needs-unit-tests needs-testing => has-patch needs-
     testing has-unit-tests


Comment:

 In writing more unit tests, as always happens, I found some gaps in
 starter content. Namely, it was not possible to set starter content for
 custom logo, background, or header. The latest patch ensures these are
 supported via unit tests and also it adds tests for this ticket's original
 issue, which was re-using non-auto-draft posts and attachments that have
 matching slugs.

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


More information about the wp-trac mailing list