I tried to hack WPMU so that it would be possible to create blos with address like: my-blog.domain.com, I mean with characters "-" or "_" etc. which is normally forbidden
I managed to do so by editing regular expression from
[a-zA-Z0-9]
to
[a-zA-Z0-9.-]
, It works fine.
I ask if there is any reason why it is not allowed? I mean will this make any problems in the future, or something like that?
thanks for your advices, I am new with WPMU..
silicon
Member
Posted 16 years ago #
Which file did you edit to allow this. I would like to do the same.
Thanks,
it's wp-include/wpmu-function.php
Not sure why it's not in there.
yes, I have edited file: wp-include/wpmu-function.php line 1011 for blog name, line 910 to allow same with usernames.
I think it would be nice to include it in official release of WPMU ;)
Did you open up a trac ticket and explain your reasoning?
no, not yet. As I am new here, I am just looking around here. ok, I will look at "trac" and try to open up ticket
I have opened ticket #363 solving this issue here:
http://trac.mu.wordpress.org/ticket/363