[wp-trac] [WordPress Trac] #21864: PHPDoc incorrect with the return value of add_*_meta functions

WordPress Trac noreply at wordpress.org
Sun Feb 9 21:37:14 UTC 2014


#21864: PHPDoc incorrect with the return value of add_*_meta functions
--------------------------------------------------+---------------------
 Reporter:  mark8barnes                           |       Owner:
     Type:  defect (bug)                          |      Status:  closed
 Priority:  normal                                |   Milestone:  3.6
Component:  Options, Meta APIs                    |     Version:  3.4.2
 Severity:  normal                                |  Resolution:  fixed
 Keywords:  has-patch needs-testing dev-feedback  |     Focuses:  docs
--------------------------------------------------+---------------------
Changes (by DrewAPicture):

 * status:  new => closed
 * resolution:   => fixed
 * milestone:  Awaiting Review => 3.6


Comment:

 Looks like the `@returns` were changed/fixed in [24490], excluding the
 suggested return change for `update_metadata()`.

 Feel free to open a separate ticket proposing the return change on
 `update_metadata()`, and that's more than just documentation.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/21864#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list