We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e9c057 commit 9156d87Copy full SHA for 9156d87
inc/tokens/class-access-token.php
@@ -75,7 +75,7 @@ public static function create( Client $client, WP_User $user ) {
75
}
76
77
$data = array(
78
- 'user' => $user->ID,
+ 'user' => (int) $user->ID,
79
);
80
$key = wp_generate_password( static::KEY_LENGTH, false );
81
$meta_key = static::META_PREFIX . $key;
0 commit comments