[wp-trac] [WordPress Trac] #24992: phpDoc patch for wp-admin/includes/user.php

WordPress Trac noreply at wordpress.org
Thu Aug 8 17:53:08 UTC 2013


#24992: phpDoc patch for wp-admin/includes/user.php
--------------------------+-----------------------
 Reporter:  tivnet        |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  3.7
Component:  Inline Docs   |     Version:  3.6
 Severity:  trivial       |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------
Changes (by DrewAPicture):

 * version:   => 3.6


Comment:

 Replying to [comment:2 tivnet]:
 > Replying to [comment:1 DrewAPicture]:
 > > It's core style to delineate the return type as `object`, and use the
 description to specify the kind of object.
 >
 > First of all, if that's a "core style" then it's time to change this
 style, because modern IDE's use phpDoc to validate code and provide
 prompts. "Object" won't help.

 I was mistaken, in terms of using named class objects in the phpdoc return
 tags. This section of the phpdoc standard for WordPress hasn't been
 written yet ;) I'll add it to my list.

 +1 for [attachment:user.php.patch]

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24992#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list