Revision 14121
Added by Aaron Marcuse-Kubitza over 10 years ago
username_prefix.php | ||
---|---|---|
9 | 9 |
{ |
10 | 10 |
$path = $user; |
11 | 11 |
|
12 |
# remove padding used to visually separate elements:__x__@y__@url -> x@y@url |
|
12 |
# remove padding used to visually separate elements: x__@y__@url -> x@y@url |
|
13 |
# also remove leading __ that indicates internal field: __x@url -> x@url |
|
13 | 14 |
$path = preg_replace('/\b__|__\b/', '', $path); |
14 | 15 |
|
15 | 16 |
# remove insertion comments: [c]x[d]@url -> x@url |
Also available in: Unified diff
web/username_prefix.php: remove padding used to visually separate elements: documented that this also removes a leading __ that indicates an internal field