[wp-hackers] Proposal for a function commenting convention

Marcos Sader | marcosmedia m at marcosmedia.com
Tue Oct 16 18:17:58 GMT 2007


I still think that there should be a "WP" indicator in case of functions
shared between the regular and multiuser version.

So WP will get,
/**
* @since WP 1.5
* @deprecated WP 2.1
*/

and WPmu,
/**
* @since WPmu 1.5
* @deprecated WPmu 2.1
*/


On 10/15/07, Ryan Boren <ryan at boren.nu> wrote:
>
> On 10/15/07, Robin Adrianse <robin.adr at gmail.com> wrote:
> > +1.
> >
> > On 10/15/07, Otto <otto at ottodestruct.com> wrote:
> > >
> > > On 10/14/07, Jacob <wordpress at santosj.name> wrote:
> > > > /**
> > > >  * @since 1.5
> > > >  * @deprecated since 2.1
> > > >  */
> > >
> > > I suggest using the same scheme for version numbers on both of these.
> > > In other words, do this instead:
> > > /**
> > > * @since 1.5
> > > * @deprecated 2.1
> > > */
>
> +1 here too.
>
> Also, we have some old phpdoc patches around if anyone wants to update
> them.
>
>
> http://trac.wordpress.org/query?status=new&status=assigned&status=reopened&status=closed&keywords=%7Ephpdoc&order=priority
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
Marcos Sader
m at marcosmedia.com
http://defmay.com | http://marcosmedia.com


More information about the wp-hackers mailing list