[wp-trac] [WordPress Trac] #45505: get_post_custom() doesn't pull values

WordPress Trac noreply at wordpress.org
Tue Dec 17 06:36:23 UTC 2024


#45505: get_post_custom() doesn't pull values
-------------------------------------+------------------------------
 Reporter:  dryane                   |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Options, Meta APIs       |     Version:  5.0
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------------
Changes (by vishalpadhariya):

 * keywords:  needs-patch => has-patch needs-testing


Comment:

 I've replaced the default `get_post_custom()` with `get_post_meta()` since
 `get_post_custom()` was not functioning as expected.

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


More information about the wp-trac mailing list