#50502 closed defect (bug) (fixed)
Parameter description in update_post_meta()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.5 | Priority: | normal |
Severity: | minor | Version: | |
Component: | Posts, Post Types | Keywords: | has-patch |
Focuses: | Cc: |
Description
Parameter descriptions should be updated/migrated from Codex.
Codex:
https://codex.wordpress.org/Function_Reference/update_post_meta
DevHub:
https://developer.wordpress.org/reference/functions/update_post_meta/
Attachments (1)
Change History (5)
#3
@
5 years ago
- Owner set to SergeyBiryukov
- Resolution set to fixed
- Status changed from assigned to closed
#4
@
5 years ago
Thanks for the patch! The $prev_value
and @return
improvements are now in.
I'm less inclined to add that the meta key and value should be raw and not sanitized, as it's not mentioned in other similar functions and doesn't seem to come up often. If someone feels strongly about that, feel free to reopen.
Note: See
TracTickets for help on using
tickets.
In 48214: