pathauto_cleanstring already removes forward slashes, with the (in this case) more efficient str_replace function.
This patch removes the two calls to preg_replace in the function pathauto_token_values when generating values for the taxonomy tokens [catpath] and [catpath-raw].
| Comment | File | Size | Author |
|---|---|---|---|
| pathauto-remove-preg_replace.patch | 983 bytes | Hugo Wetterberg |
Comments
Comment #1
dave reidConfirmed, this is unnecessary as the cleanstring() function does this automatically.
Comment #2
gregglesNow committed http://drupal.org/cvs?commit=326992 http://drupal.org/cvs?commit=326988 and http://drupal.org/cvs?commit=326986
Thanks, guys!