WordPress.org

Plugin Directory

Changeset 532012


Ignore:
Timestamp:
04/16/12 20:48:24 (2 years ago)
Author:
GregLone
Message:

SF Author Url Control : v1.0.1 Minor bug fix

Location:
sf-author-url-control
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • sf-author-url-control/trunk/admin/sf-auc-admin.inc.php

    r531843 r532012  
    224224    $user_nicename      = $userdata->user_nicename; 
    225225    $def_user_nicename  = sanitize_title( $userdata->user_login ); 
    226     if ( !$_POST['user_nicename'] || ( $_POST['user_nicename'] == $def_user_nicename && $user_nicename != $def_user_nicename ) ) 
    227         $new_nicename = $def_user_nicename; 
    228     elseif ( $_POST['user_nicename'] != $user_nicename ) 
     226 
     227    if ( sanitize_title($_POST['user_nicename'], $def_user_nicename) != $user_nicename ) 
    229228        $new_nicename = sanitize_title($_POST['user_nicename'], $def_user_nicename); 
     229    else 
     230        return; 
    230231 
    231232    if ( !get_user_by('slug', $new_nicename) ) { 
  • sf-author-url-control/trunk/readme.txt

    r531858 r532012  
    5555== Changelog == 
    5656 
     57= 1.0.1 = 
     58* 2012/04/16 
     59* Minor bug fix 
     60 
    5761= 1.0 = 
    5862* 2012/04/16 
  • sf-author-url-control/trunk/sf-author-url-control.php

    r531843 r532012  
    44Plugin URI: http://www.screenfeed.fr/auturl/ 
    55Description: Customize the url of your registered users profile. 
    6 Version: 1.0 
     6Version: 1.0.1 
    77Author: Grégory Viguier 
    88Author URI: http://www.screenfeed.fr/greg/ 
Note: See TracChangeset for help on using the changeset viewer.