Make WordPress Core

Changeset 16575


Ignore:
Timestamp:
11/24/2010 08:25:26 PM (14 years ago)
Author:
markjaquith
Message:

Revert [15829] for now, consider better solution for 3.2. see #13550

File:
1 edited

Legend:

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

    r16339 r16575  
    556556    $file = preg_replace('#^' . preg_quote($plugin_dir, '#') . '/|^' . preg_quote($mu_plugin_dir, '#') . '/#','',$file); // get relative path from plugins dir
    557557    $file = trim($file, '/');
    558     return apply_filters('plugin_basename', $file);
     558    return $file;
    559559}
    560560
Note: See TracChangeset for help on using the changeset viewer.