[wp-trac] [WordPress Trac] #11863: Trashed items interfere with page/post slug generation

WordPress Trac noreply at wordpress.org
Sat Feb 20 23:52:14 UTC 2016


#11863: Trashed items interfere with page/post slug generation
-------------------------------------------------+-------------------------
 Reporter:  Denis-de-Bernardy                    |       Owner:  ericlewis
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  4.5
Component:  Posts, Post Types                    |     Version:  2.9
 Severity:  normal                               |  Resolution:
 Keywords:  make-flow has-patch has-unit-tests   |     Focuses:
  needs-testing                                  |
-------------------------------------------------+-------------------------

Comment (by ocean90):

 [attachment:11863.8.diff]: Added
 `test_trashed_post_slugs_that_were_moved_should_not_be_reassigned_after_untrashing_if_post_with_the_same_slug_exists()`
 and moved the `delete_post_meta()` call into the condition.

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


More information about the wp-trac mailing list