[wp-hackers] Trailing Slash on Template Tags

Ozh ozh at planetozh.com
Thu May 29 15:52:52 GMT 2008


>For what it's worth, I agree with this reasoning.  <path>/file.php is 
>easier to understand, and if not  more _intuitive_, then more 
>_ingrained_.

>Putting it another way:  When reading code, function().'string' could 
>be anything.  function().'/string' strongly suggests "this is a path" 
>before I look any farther.

And anyway we've already discussed that function().'/file.php' could, on 
worst case scenario, result in "path//file.php".

OK. So... Time to close this discussion ? :)






More information about the wp-hackers mailing list