[wp-hackers] Widget Weirdness - Doesn't like the file name widgets.php

Alex Andrews awgandrews at gmail.com
Tue Jun 28 09:06:43 UTC 2011


Thanks for all this folks, learnt my lesson and may also submit a
patch to the Roots theme on this account.

Alex

On 28 June 2011 09:38, Ryan McCue <lists at rotorised.com> wrote:
> Andrew Nacin wrote:
>>
>> For plugins, there's plugin_dir_path(), which is just an alias for
>> dirname(__FILE__), my personal preference in general.
>>
>
> Worth noting that plugin_dir_path() will trailingslashit() though, so it's
> personal preference as to which of those you'd prefer.
>
> --
> Ryan McCue
> <http://ryanmccue.info/>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list