[wp-trac] [WordPress Trac] #29654: A bug in get_post_meta

WordPress Trac noreply at wordpress.org
Sat Sep 13 08:59:31 UTC 2014


#29654: A bug in get_post_meta
--------------------------------+-----------------------------
 Reporter:  muhammadfarhanatif  |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Options, Meta APIs  |    Version:  4.0
 Severity:  normal              |   Keywords:
  Focuses:                      |
--------------------------------+-----------------------------
 Respected Sir,
 I hope you are fine & doing great!
 First of all congratulation for given us wordpress 4.0 with great new
 features.
 Currently I am facing issue due to wordpress 4.0 get_post_meta function.
 It is not working fine at my end like this
 $meta_values = get_post_meta( $post_id, $key, $single );
 But it is working fine after this bit of changing in code
 $meta_values = get_post_meta( "$post_id", $key, $single );
 So please let me know where are the issue.I mean issue in wordpress 4.0 or
 in codex documentation.
 I hope you will understand my point.
 Thanks & best Regards
 Muhammad Farhan Atif

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29654>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list