summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php')
-rw-r--r--plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php
index 5349506c..b1b8a362 100644
--- a/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php
+++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php
@@ -120,11 +120,11 @@ class Jetpack_IXR_Client extends IXR_Client {
* @return WP_Error Error object.
*/
public function get_jetpack_error( $fault_code = null, $fault_string = null ) {
- if ( is_null( $fault_code ) ) {
+ if ( $fault_code === null ) {
$fault_code = $this->error->code;
}
- if ( is_null( $fault_string ) ) {
+ if ( $fault_string === null ) {
$fault_string = $this->error->message;
}