[wp-trac] [WordPress Trac] #60646: Docs: Incorrect return type specified for get_post_custom with negative post ID value

WordPress Trac noreply at wordpress.org
Mon Feb 23 06:29:19 UTC 2026


#60646: Docs: Incorrect return type specified for get_post_custom with negative
post ID value
--------------------------------------+--------------------------
 Reporter:  roytanck                  |       Owner:  westonruter
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  7.0
Component:  Posts, Post Types         |     Version:  5.8
 Severity:  trivial                   |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |     Focuses:  docs
--------------------------------------+--------------------------
Changes (by westonruter):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"61718" 61718]:
 {{{
 #!CommitTicketReference repository="" revision="61718"
 Docs: Improve accuracy of `@return` type and description for
 `get_post_custom()`.

 Developed in https://github.com/WordPress/wordpress-develop/pull/10996

 Follow-up to [52795].

 Props ravikhadka, westonruter, swissspidy, roytanck.
 See #64224, #55249.
 Fixes #60646.
 }}}

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


More information about the wp-trac mailing list