[wp-trac] [WordPress Trac] #21864: PHPDoc incorrect with the return value of add_*_meta functions
WordPress Trac
wp-trac at lists.automattic.com
Mon Sep 10 21:03:50 UTC 2012
#21864: PHPDoc incorrect with the return value of add_*_meta functions
-------------------------------------+------------------------------
Reporter: mark8barnes | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Inline Docs | Version: 3.4.2
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+------------------------------
Comment (by nacin):
The documentation changes definitely make sense. The return value for
add_metadata() came in [18445] specifically so add_meta() could return the
meta ID. Not sure if there's any need though for update_metadata() to
bother to return the meta ID. Even more so, not sure if there's any need
for the add_*_meta() functions to return the meta ID, though that's
probably been out in the wild long enough to be considered functionality.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21864#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list