[wp-hackers] Trailing Slash on Template Tags

Michał Gawroński dinth at dinth.pl
Thu May 29 13:01:44 GMT 2008


Michał Gawroński wrote:
> Alexander Beutl wrote:
>> Template Creators would expect the / to be there cause it will be needed
>> allways. So I really don't understand your point. Additional /es do 
>> not harm
>> anyone - left out /es will make templates break...
>>   
> i think that writing "<?php path_to_styles(); ?>screen.css" or "<?php 
> path_to_images(); ?>image1.jpg" is a bit silly and non-intuitive.
Sorry for double-posting. As i'm professional template-maker, i must add 
that trailing slash in paths generated by php is one of most annoying 
things in Drupal for me.

Best regards,
Dinth < www.dinth.pl >


More information about the wp-hackers mailing list