Changeset 11566 for branches/2.8/wp-includes/plugin.php
- Timestamp:
- 06/15/2009 12:23:13 AM (16 years ago)
- File:
-
- 1 edited
-
branches/2.8/wp-includes/plugin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.8/wp-includes/plugin.php
r11409 r11566 496 496 $mu_plugin_dir = preg_replace('|/+|','/', $mu_plugin_dir); // remove any duplicate slash 497 497 $file = preg_replace('#^' . preg_quote($plugin_dir, '#') . '/|^' . preg_quote($mu_plugin_dir, '#') . '/#','',$file); // get relative path from plugins dir 498 $file = trim($file, '/'); 498 499 return $file; 499 500 }
Note: See TracChangeset
for help on using the changeset viewer.