diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-12-22 09:04:34 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-12-22 09:04:34 +0000 |
| commit | 7b4d8e6aed1cdf72fc2ee40c3c916377deb0955b (patch) | |
| tree | 58fccc47a5e0143adae8e399072337e81319277e /wp-inst/wp-includes/functions.php | |
| parent | 615f78060a57a8c1ae602b6192f1b93ba612b3fe (diff) | |
| download | wordpress-mu-7b4d8e6aed1cdf72fc2ee40c3c916377deb0955b.tar.gz wordpress-mu-7b4d8e6aed1cdf72fc2ee40c3c916377deb0955b.tar.xz wordpress-mu-7b4d8e6aed1cdf72fc2ee40c3c916377deb0955b.zip | |
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@482 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-includes/functions.php')
| -rw-r--r-- | wp-inst/wp-includes/functions.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wp-inst/wp-includes/functions.php b/wp-inst/wp-includes/functions.php index 8cd8503..74b8c56 100644 --- a/wp-inst/wp-includes/functions.php +++ b/wp-inst/wp-includes/functions.php @@ -2259,6 +2259,7 @@ function register_deactivation_hook($file, $function) { } function plugin_basename($file) { + $file = preg_replace('|\\\\+|', '\\\\', $file); $file = preg_replace('/^.*wp-content[\\\\\/]plugins[\\\\\/]/', '', $file); return $file; } |
