[wp-trac] [WordPress Trac] #44723: The user ID in a `WP_User_Request` is not an integer as stated
WordPress Trac
noreply at wordpress.org
Mon Aug 20 15:21:40 UTC 2018
#44723: The user ID in a `WP_User_Request` is not an integer as stated
----------------------------------------+---------------------
Reporter: desrosj | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.9.9
Component: Privacy | Version: 4.9.6
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+---------------------
Comment (by TZ Media):
Taking the other tickets mentioned into account, I believe changing the
documentations is more in alighment with how such issues were handled in
the past. And as long as WP does not use PHP7 strict type hinting, return
value types can't be trusted anyway and must be checked/sanitized.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44723#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list