From b56beb24710dbf561b56824aa8e128bb3ed25b33 Mon Sep 17 00:00:00 2001 From: donncha Date: Mon, 15 Oct 2007 14:39:25 +0000 Subject: Remove mu-plugins from plugin path git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1074 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-includes/plugin.php | 1 + 1 file changed, 1 insertion(+) (limited to 'wp-includes') diff --git a/wp-includes/plugin.php b/wp-includes/plugin.php index 2c04c1c..385c569 100644 --- a/wp-includes/plugin.php +++ b/wp-includes/plugin.php @@ -242,6 +242,7 @@ function plugin_basename($file) { $file = str_replace('\\','/',$file); // sanitize for Win32 installs $file = preg_replace('|/+|','/', $file); // remove any duplicate slash $file = preg_replace('|^.*/wp-content/plugins/|','',$file); // get relative path from plugins dir + $file = preg_replace('|^.*/wp-content/mu-plugins/|','',$file); // get relative path from plugins dir return $file; } -- cgit