Make WordPress Core


Ignore:
Timestamp:
11/09/2005 08:58:58 PM (19 years ago)
Author:
matt
Message:

Should fix #1599 for IIS blogs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r3023 r3024  
    21352135
    21362136function 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;
    21382140}
    21392141
Note: See TracChangeset for help on using the changeset viewer.