Permalinks are appended a “-2” when title is empty


I’ve set up my permalinks as “Postname” option. In other words and that works perfectly.
However, I also want to support posts without titles. So I had the impression that WP defaults to post ID’s, right?

So a new post should have a permalink of for example:

However, instead of that url, the new title-less posts are appended a “-2” to them. So actual urls are

I’ve tried disabling all plugins, clearing up Cloudflare’s cache, re-saving my permalinks and of course editing that particular permalink by hand, as well ass creating new posts.

Also, I could reproduce this in two other fairly barebone WP instances, both on a server and running Local. So this might either be something I’m not familiar with or maybe a bug?

WP version: 5.5.1

Thanks for your help!

PS: If this is really a bug I’d like to start contributing, at least with bug reporting, so let me know if you could reproduce and I’ll try to submit it.

  • This topic was modified 1 day ago by Ignacio.

The page I need help with: [log in to see the link]

Source link