[wp-trac] [WordPress Trac] #17013: Make $key argument optional in get_*_meta()

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 2 12:03:34 UTC 2011


#17013: Make $key argument optional in get_*_meta()
------------------------------+------------------
 Reporter:  scribu            |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  3.2
Component:  General           |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------

Comment (by hakre):

 Take care with renaming `@param string $meta_key` while not renaming
 `$key` in the functions' signatures. Looks like a copy&paste glitch.

 `$meta_key` says more btw, so I wouldn't mind if you even rename the
 parameter names in the signature.

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


More information about the wp-trac mailing list