[wp-trac] [WordPress Trac] #39603: The more posts with similar names you have, the slower you save the next one

WordPress Trac noreply at wordpress.org
Mon Jan 16 21:49:18 UTC 2017


#39603: The more posts with similar names you have, the slower you save the next
one
-------------------------------------------------+-------------------------
 Reporter:  bisyarin                             |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Posts, Post Types                    |  Review
 Severity:  normal                               |     Version:
 Keywords:  has-patch needs-testing needs-unit-  |  Resolution:
  tests                                          |     Focuses:
                                                 |  performance
-------------------------------------------------+-------------------------

Comment (by pento):

 Another edge case to test - when a slug on an older post has been edited.
 Ie:

 * Create post with slug `foo`
 * Create post with slug `bar`
 * Edit `foo` to have the slug `bar`, which should be changed to `bar-2`.

 After that, create another post with slug `bar` - it should be changed to
 `bar-3`, but I think [attachment:constant-time-slug-generation.diff] will
 return `bar-2`.

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


More information about the wp-trac mailing list