[wp-trac] [WordPress Trac] #37746: Replace `absint( $meta_id)` check in `delete_metadata_by_mid`, etc
WordPress Trac
noreply at wordpress.org
Fri Sep 30 05:11:59 UTC 2016
#37746: Replace `absint( $meta_id)` check in `delete_metadata_by_mid`, etc
--------------------------------------+------------------
Reporter: peterwilsoncc | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7
Component: Options, Meta APIs | Version: 4.0
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------
Comment (by peterwilsoncc):
In [attachment:37746.2.diff]:
* fail on negative numbers
* fail on floats
* `get_metadata_by_mid( "1.0" )` is accepted
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37746#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list