[wp-trac] [WordPress Trac] #30339: Infinite loop while checking for post slug uniqueness

WordPress Trac noreply at wordpress.org
Mon Nov 17 02:29:35 UTC 2014


#30339: Infinite loop while checking for post slug uniqueness
----------------------------------------+--------------------
 Reporter:  julien731                   |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  4.1
Component:  Posts, Post Types           |     Version:  trunk
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+--------------------
Changes (by johnbillion):

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


Comment:

 We need a unit test which covers the situation where `some-slug` and
 `some-slug-2` already exist, so the code steps into the `while` loop.

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


More information about the wp-trac mailing list