Book creation url inconsistency with "-"

Now, the books/Site creation can be done from two different places.

If you do the book creation as administrator, “-” are allowed.

if you do the book creation as user, “-” are not allowed

the same as if you clone the book

37

I know is a wordpress core issue, but Is not possible to allow all the time to use the “-”, at least in the clone tool??

thanks

We could, but that would make the inconsistent behaviour visible to regular users rather than just network admins. Right now network admins can create sites from /wp-admin/network/ using hyphens. Regular users can’t use hyphens when registering or cloning, so their experience is consistent. The real solution would be to get the WordPress Core bug fixed.

https://core.trac.wordpress.org/ticket/44575

1 Like

https://core.trac.wordpress.org/attachment/ticket/44575/44575.diff

https://github.com/pressbooks/ideas/issues/41