[wp-trac] [WordPress Trac] #50502: Parameter description in update_post_meta()
WordPress Trac
noreply at wordpress.org
Mon Jun 29 21:22:17 UTC 2020
#50502: Parameter description in update_post_meta()
-------------------------------+-----------------------------
Reporter: stevenlinx | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.5
Component: Posts, Post Types | Version:
Severity: minor | Resolution: fixed
Keywords: has-patch | Focuses:
-------------------------------+-----------------------------
Comment (by SergeyBiryukov):
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50502#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list