[wp-trac] [WordPress Trac] #18501: plugin_dir_path() returns unsanitized path on Windows installs
WordPress Trac
wp-trac at lists.automattic.com
Tue Aug 23 19:03:09 UTC 2011
#18501: plugin_dir_path() returns unsanitized path on Windows installs
-------------------------------------+------------------------------
Reporter: johnjamesjacoby | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: needs-testing has-patch |
-------------------------------------+------------------------------
Comment (by nacin):
Doubt there's a need to fix plugin_dir_path() -- more likely, the issue is
this code in search_theme_directories():
`$theme_loc = str_replace(WP_CONTENT_DIR, '', $theme_root);`
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18501#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list