Show
Ignore:
Timestamp:
05/20/08 19:22:05 (19 months ago)
Author:
bchoate
Message:

Use default of 'Anonymous' for CommentAuthor tag unless a default attribute is explicitly given. BugId:79842

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-38/php/lib/function.mtcommentauthor.php

    r2395 r2400  
    2020    if (isset($args['default'])) 
    2121        $a or $a = $args['default']; 
     22    else { 
     23        global $mt; 
     24        $a or $a = $mt->translate("Anonymous"); 
     25    } 
    2226    $a or $a = ''; 
    2327    return strip_tags($a);