[wp-hackers] May the discussion on phpdoc never happen again

Jacob wordpress at santosj.name
Sun Oct 21 19:39:09 GMT 2007


Matt wrote:
> On 10/21/07, Jacob <wordpress at santosj.name> wrote:
>   
>> An aside @deprecated should be (WP Version) and not description as such
>> noted. I do not think that it would make since to tell the person that
>> the function is deprecated, just when it was. The discussion has already
>> passed at that point.
>>
>>     
>
> Maybe we should put the function you should use instead of the deprecated
> one. Like @deprecated 2.1 - use blah_blah_blah(). I know this won't work for
> all the deprecated functions, but it will for some of them.
>
>   
Well, for one, it was easy since the one you should be using was being 
used by the deprecated function. Actually, the deprecated reference is a 
global, which is to say that I wrote that you shouldn't be using it and 
what you should be using instead.

-- 

Jacob Santos

http://www.santosj.name - blog
http://wordpress.svn.dragonu.net/unittest/ - unofficial WP unit test suite.



More information about the wp-hackers mailing list