|
@@ -272,7 +272,7 @@ discard block |
|
|
block discarded – undo |
|
272
|
272
|
/** |
|
273
|
273
|
* Verifies the signature of the current request. |
|
274
|
274
|
* |
|
275
|
|
- * @return false|array |
|
|
275
|
+ * @return boolean |
|
276
|
276
|
*/ |
|
277
|
277
|
public function verify_xml_rpc_signature() { |
|
278
|
278
|
if ( is_null( $this->xmlrpc_verification ) ) { |
|
@@ -1134,6 +1134,7 @@ discard block |
|
|
block discarded – undo |
|
1134
|
1134
|
* @param String $action The action name. |
|
1135
|
1135
|
* @param Integer $user_id The user identifier. |
|
1136
|
1136
|
* @param Integer $exp Expiration time in seconds. |
|
|
1137
|
+ * @return string |
|
1137
|
1138
|
*/ |
|
1138
|
1139
|
public function generate_secrets( $action, $user_id = false, $exp = 600 ) { |
|
1139
|
1140
|
if ( false === $user_id ) { |
|
@@ -1549,7 +1550,7 @@ discard block |
|
|
block discarded – undo |
|
1549
|
1550
|
* |
|
1550
|
1551
|
* @param int|false $user_id false: Return the Blog Token. int: Return that user's User Token. |
|
1551
|
1552
|
* @param string|false $token_key If provided, check that the token matches the provided input. |
|
1552
|
|
- * @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. |
|
|
1553
|
+ * @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. |
|
1553
|
1554
|
* |
|
1554
|
1555
|
* @return object|false |
|
1555
|
1556
|
*/ |
Please login to merge, or discard this patch.