[wp-hackers] Upload directory constant

Joost de Valk joost at yoast.com
Fri Mar 20 15:43:48 GMT 2009


Have you tried http://xref.yoast.com/simple-search.html ? It has  
suggest functionality which is faster for me then grepping...

On 20 mrt 2009, at 16:32, Otto <otto at ottodestruct.com> wrote:

> It's the php xref in general that just bugs me.. Lots of links, no
> idea what any of them do without practice.. It's just unintuitive as
> hell and hard to use and learn.
>
> xref has just always been seemingly totally useless to me, unless you
> know what you're looking for already, in which case you really
> wouldn't need the xref, would you?
>
> It's a poor substitute for documentation, and more often than not, a
> simple grep through files is faster and more useful than trying to
> figure out the xref, which makes me wonder wtf the point of it is.
> What can you do with xref that's faster than doing it without xref?
> Where's the benefit?
>
>
> -Otto
> Sent from: Memphis Tennessee United States.
>
>
> On Fri, Mar 20, 2009 at 10:26 AM, Joost de Valk <joost at yoast.com>  
> wrote:
>> It gives you the complete code, what more do you need? :) We're  
>> working on
>> an integration of wplookup and my xref, so you can choose to go to  
>> either
>> the phpdoc or the xref :)
>>
>> Otto wrote:
>>>
>>> Ugh. Is it just me, or does anybody else find xref to be bloody
>>> useless? I mean, it gives you almost no useful information about the
>>> function other than its name and where it's called from.
>>>
>>> Here you go:
>>>
>>> http://phpdoc.wordpress.org/trunk/WordPress/_wp-includes---functions.php.html#functionwp_upload_dir
>>>
>>> -Otto
>>>
>>>
>>>
>>> On Wed, Mar 18, 2009 at 4:49 PM, Joost de Valk<joost at yoast.com>   
>>> wrote:
>>>
>>>>
>>>> Did a quick search on http://xref.yoast.com/simple-search.html for
>>>> constants
>>>> and can't find any, but this might be helpful:
>>>>
>>>> http://xref.yoast.com/2.7.1/nav.html?_functions/wp_upload_dir.html
>>>>
>>>> Best,
>>>> Joost
>>>>
>>>> Dan Coulter wrote:
>>>>
>>>>>
>>>>> Is there a constant or another proper way to get the path of the  
>>>>> uploads
>>>>> directory besides "WP_CONTENT_DIR . '/uploads'"?  I couldn't  
>>>>> spot one in
>>>>> my
>>>>> brief search, but if anyone knows off the top of your head, I'd
>>>>> appreciate
>>>>> the pointer.
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> me *Joost de Valk*
>>>> Online Marketing, WordPress, SEO&  Social Media Strategy
>>>> OrangeValley<http://www.orangevalley.nl>  &  Yoast<http:// 
>>>> yoast.com>
>>>> E: joost at orangevalley.nl<mailto:joost at orangevalley.nl>  - joost at yoast.com
>>>> <mailto:joost at yoast.com>
>>>> T: +316-24-555-808 | @jdevalk<http://twitter.com/jdevalk>  on  
>>>> Twitter
>>>> _______________________________________________
>>>> wp-hackers mailing list
>>>> wp-hackers at lists.automattic.com
>>>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>>>
>>>>
>>>
>>> _______________________________________________
>>> wp-hackers mailing list
>>> wp-hackers at lists.automattic.com
>>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>>
>>
>> --
>> me *Joost de Valk*
>> Online Marketing, WordPress, SEO & Social Media Strategy
>> OrangeValley <http://www.orangevalley.nl> & Yoast <http://yoast.com>
>> E: joost at orangevalley.nl <mailto:joost at orangevalley.nl> - joost at yoast.com
>> <mailto:joost at yoast.com>
>> T: +316-24-555-808 | @jdevalk <http://twitter.com/jdevalk> on Twitter
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
> _______________________________________________
> 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