Changeset 3024 for trunk/wp-includes/functions.php
- Timestamp:
- 11/09/2005 08:58:58 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r3023 r3024 2135 2135 2136 2136 function plugin_basename($file) { 2137 return preg_replace('/^.*wp-content[\\\\\/]plugins[\\\\\/]/', '', $file); 2137 $file = preg_replace('/^.*wp-content[\\\\\/]plugins[\\\\\/]/', '', $file) 2138 $file = stripslashes($file); 2139 return $file; 2138 2140 } 2139 2141
Note: See TracChangeset
for help on using the changeset viewer.