[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
Fri Aug 3 21:01:41 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:
----------------------------------------+---------------------
Changes (by desrosj):

 * keywords:  has-patch => has-patch needs-unit-tests


Comment:

 [attachment:"44723.diff"] type casts the property as an integer. But, this
 could be a potentially breaking change. It may be better to change the
 documentation to indicate the value is a string.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44723#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list