[wp-hackers] Proposal for a function commenting convention

Jared Bangs jared at pacific22.com
Sat Oct 13 20:25:44 GMT 2007


On 10/13/07, Ozh <ozh at planetozh.com> wrote:
>
> On 10/13/07, Robin Adrianse <robin.adr at gmail.com> wrote:
> > PHPDoc has a @since variable, which was made specifically for this
> purpose.
>
> But I'd really like at least a simple "// added in WP 2.4" even for
> basic non phpdoc'ed stuff :)


+1 for using PHPDoc as a standard way of doing this. If we're going to go
back through and add comments to the existing code, it should definitely be
in a consistent format.


More information about the wp-hackers mailing list