[wp-trac] [WordPress Trac] #38203: Remove `absint` on object IDs in `delete_metadata`, etc
WordPress Trac
noreply at wordpress.org
Sat Oct 1 06:40:15 UTC 2016
#38203: Remove `absint` on object IDs in `delete_metadata`, etc
--------------------------------+-----------------------------
Reporter: peterwilsoncc | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Options, Meta APIs | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------------+-----------------------------
Absint is run on the object ID in the functions called with a meta key:
`delete_metadata()`, `get_metadata()`, `add_metadata()`,
`update_metadata()` and `metadata_exists()`.
This leads to unexpected behavior in the event a negative or floating
object ID is passed.
Related #37746, #37738, #33372.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38203>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list