Changes between Initial Version and Version 1 of Ticket #22630, comment 1
- 11/29/12 06:13:52 (2 years ago)
initial v1 2 2 > The `plugin_basename()` function uses a `preg_replace` statement to find path to the plugin relative from `WP_PLUGIN_DIR`. If the actual path to the plugin directory does not match case to `WP_PLUGIN_DIR`, the preg_replace will fail. This is because preg_replace is not case sensitive. 3 3 4 I think you mean it *is*case sensitive. This makes sense, since on every platform except Windows, paths are case sensitive. 4 I think you mean it case sensitive. This makes sense, since on every platform except Windows, paths are case sensitive. 5 5 6 6 Maybe this could be changed to be insensitive on Windows, but for most platforms, this is the correct behaviour.