Inconsistency between WP_PLUGIN_DIR and plugin_dir_path(), etc.
|Reported by:||Denis-de-Bernardy||Owned by:||markjaquith|
|Severity:||minor||Keywords:||has-patch tested commit dev-feedback|
It's rather minor, if it this is to get fixed, it's now or never.
The various path and url constants in WP don't add a trailing slash (except ABSPATH), and neither do the various content_url() et al functions. But plugin_dir_path() and plugin_dir_url() do.
Shouldn't it be consistent across the board?
Change History (8)
- Summary changed from Inconsistency between WP_PLUGIN_DIR and plugin_dir_path() to Inconsistency between WP_PLUGIN_DIR and plugin_dir_path(), etc.
- Component changed from General to Plugins
- Owner anonymous deleted
- Keywords tested commit added
- Priority changed from low to high