WordPress: WPMU Functions/wpmu validate user signup:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
(新页面: Make some verifications about Username and Email.<br /> '''''Localize : '''''''wp-includes\wpmu-functions.php'' ===Username validation=== *If not empty *If not illegal names like :<br /><...)
 
(没有差异)

2008年9月27日 (六) 10:55的最新版本

Make some verifications about Username and Email.
Localize : ''wp-includes\wpmu-functions.php

Username validation[ ]

  • If not empty
  • If not illegal names like :
    "www", "web", "root", "admin", "main", "invite", "administrator"
  • Number of letters, at least 4 characters
  • If is not contain "underscore", the _ character
  • If is not only contain number
  • If the username already exists in DB

Email validation[ ]

  • If not listed like bad/unsafe email adress
  • If is a valid email : x@x.xx
  • If is the validation done
  • If the email already exists in DB