Changeset 560903
- Timestamp:
- 06/20/2012 02:34:37 AM (14 years ago)
- Location:
- network-username-restrictions-override/trunk
- Files:
-
- 2 edited
-
network-username-restrictions-override.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
network-username-restrictions-override/trunk/network-username-restrictions-override.php
r552750 r560903 103 103 } 104 104 } 105 elseif ($message == __('Username must be at least 4 characters ')) {105 elseif ($message == __('Username must be at least 4 characters.')) { 106 106 // Check the username length 107 107 … … 129 129 */ 130 130 if (strlen($username) < $this->options['min_length']) { 131 $new_errors->add('user_name', __(sprintf('Username must be at least %d characters ', $this->options['min_length'])));131 $new_errors->add('user_name', __(sprintf('Username must be at least %d characters.', $this->options['min_length']))); 132 132 } 133 133 -
network-username-restrictions-override/trunk/readme.txt
r552755 r560903 2 2 Contributors: dwc 3 3 Tags: admin, authentication, network, wpmu, multisite 4 Requires at least: 3. 05 Tested up to: 3. 2.16 Stable tag: 1. 14 Requires at least: 3.4 5 Tested up to: 3.4 6 Stable tag: 1.2 7 7 8 8 Override restrictions on WordPress network usernames. … … 51 51 * Remove use of call-time pass by reference to avoid warnings on PHP 5.3 and newer 52 52 * Secondary username length check no longer causes an error when adding a username longer than the configured minimum 53 * Match error message with http://core.trac.wordpress.org/changeset/20441 53 54 * Add support for periods in usernames 54 55
Note: See TracChangeset
for help on using the changeset viewer.