[wp-trac] [WordPress Trac] #42687: get_post_meta() is returning arrays even when the $single value is true

WordPress Trac noreply at wordpress.org
Sat Nov 25 06:35:58 UTC 2017


#42687: get_post_meta() is returning arrays even when the $single value is true
-------------------------------------------------+------------------
 Reporter:  titodevera                           |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  5.0
Component:  Posts, Post Types                    |     Version:  4.9
 Severity:  normal                               |  Resolution:
 Keywords:  needs-docs good-first-bug has-patch  |     Focuses:
-------------------------------------------------+------------------
Changes (by chetan200891):

 * keywords:  needs-patch needs-docs good-first-bug => needs-docs good-
     first-bug has-patch


Comment:

 @dd32

 I have created 42687.patch to change documentation for $single in
 get_post_meta() function. I hope that will be helpful.

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


More information about the wp-trac mailing list