@@ -273,7 +273,7 @@ discard block |
||
273 | 273 | /** |
274 | 274 | * Verifies the signature of the current request. |
275 | 275 | * |
276 | - * @return false|array |
|
276 | + * @return boolean |
|
277 | 277 | */ |
278 | 278 | public function verify_xml_rpc_signature() { |
279 | 279 | if ( is_null( $this->xmlrpc_verification ) ) { |
@@ -1029,6 +1029,7 @@ discard block |
||
1029 | 1029 | * @param String $action The action name. |
1030 | 1030 | * @param Integer $user_id The user identifier. |
1031 | 1031 | * @param Integer $exp Expiration time in seconds. |
1032 | + * @return string |
|
1032 | 1033 | */ |
1033 | 1034 | public function generate_secrets( $action, $user_id = false, $exp = 600 ) { |
1034 | 1035 | $callable = $this->get_secret_callable(); |
@@ -1419,7 +1420,7 @@ discard block |
||
1419 | 1420 | * |
1420 | 1421 | * @param int|false $user_id false: Return the Blog Token. int: Return that user's User Token. |
1421 | 1422 | * @param string|false $token_key If provided, check that the token matches the provided input. |
1422 | - * @param bool|true $suppress_errors If true, return a falsy value when the token isn't found; When false, return a descriptive WP_Error when the token isn't found. |
|
1423 | + * @param boolean $suppress_errors If true, return a falsy value when the token isn't found; When false, return a descriptive WP_Error when the token isn't found. |
|
1423 | 1424 | * |
1424 | 1425 | * @return object|false |
1425 | 1426 | */ |