[wp-trac] [WordPress Trac] #60422: We created a button and the website does not work and we cant log into wp admin for the website

WordPress Trac noreply at wordpress.org
Thu Apr 18 18:08:28 UTC 2024


#60422: We created a button and the website does not work and we cant log into wp
admin for the website
--------------------------+------------------------------
 Reporter:  cdawg029      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by nazarov24):

 Hey Tkama!
 You're correct! WordPress already has functionality to handle situations
 where a post slug (post_name) conflicts with an existing one. When you
 attempt to save a post with a slug that already exists, WordPress
 automatically appends a suffix (e.g., -2, -3, etc.) to make it unique.
 This behavior helps prevent conflicts and ensures that each post has a
 unique slug within its post type.

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


More information about the wp-trac mailing list