[wp-trac] [WordPress Trac] #9779: Inconsistency between
WP_PLUGIN_DIR and plugin_dir_path()
WordPress Trac
wp-trac at lists.automattic.com
Sun May 10 07:12:40 GMT 2009
#9779: Inconsistency between WP_PLUGIN_DIR and plugin_dir_path()
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner: anonymous
Type: enhancement | Status: new
Priority: low | Milestone: 2.8
Component: General | Version: 2.8
Severity: minor | Keywords:
-------------------------------+--------------------------------------------
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?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9779>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list