Plugin Directory

Changeset 560903


Ignore:
Timestamp:
06/20/2012 02:34:37 AM (14 years ago)
Author:
dwc
Message:

Match error message with http://core.trac.wordpress.org/changeset/20441

Location:
network-username-restrictions-override/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • network-username-restrictions-override/trunk/network-username-restrictions-override.php

    r552750 r560903  
    103103                        }
    104104                    }
    105                     elseif ($message == __('Username must be at least 4 characters')) {
     105                    elseif ($message == __('Username must be at least 4 characters.')) {
    106106                        // Check the username length
    107107
     
    129129         */
    130130        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'])));
    132132        }
    133133
  • network-username-restrictions-override/trunk/readme.txt

    r552755 r560903  
    22Contributors: dwc
    33Tags: admin, authentication, network, wpmu, multisite
    4 Requires at least: 3.0
    5 Tested up to: 3.2.1
    6 Stable tag: 1.1
     4Requires at least: 3.4
     5Tested up to: 3.4
     6Stable tag: 1.2
    77
    88Override restrictions on WordPress network usernames.
     
    5151* Remove use of call-time pass by reference to avoid warnings on PHP 5.3 and newer
    5252* 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
    5354* Add support for periods in usernames
    5455
Note: See TracChangeset for help on using the changeset viewer.