[wp-trac] [WordPress Trac] #56662: WP_REST_Users_Controller::update_item(): 'rest_user_invalid_id ' error will never be thrown as `$user` will never be falsey.
WordPress Trac
noreply at wordpress.org
Tue Sep 27 18:17:15 UTC 2022
#56662: WP_REST_Users_Controller::update_item(): 'rest_user_invalid_id ' error will
never be thrown as `$user` will never be falsey.
------------------------------+-----------------------------
Reporter: jrf | Owner: hellofromTonya
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.2
Component: REST API | Version: 4.7
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses:
------------------------------+-----------------------------
Changes (by hellofromTonya):
* keywords: has-patch => has-patch commit
Comment:
I'm adding `commit` for the [https://github.com/WordPress/wordpress-
develop/pull/3344/commits/4d9abf9941a2ce9c79a9661488616fd55a0b6a31 2nd PR
option] that removes the dead code (ie the code that will never run).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56662#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list