tollmanz/ostrichcize — pull request #12 by bradyvercher (2013-09-19 16:45:44+00:00)
Title: Normalize slashes in absolute paths

When originally trying this out, I couldn't get it working and after a little digging, narrowed it down to a couple of things. The version on WordPress.org isn't up to date, so it doesn't have the action for initializing on `muplugins_loaded`. No big deal once I realized what was going on.

The other issue is that the directory separators in WordPress are mixed on Windows, but errors are thrown with the Windows slash, so the strings never match when adding slugs via `ostrichcized_plugins`. The ID3 library in core uses the method in this PR for normalizing paths.

Thanks for the plugin! It really does help.