Code Duplication    Length = 4-4 lines in 2 locations

src/wp-includes/class-wp-http-ixr-client.php 1 location

@@ 116-119 (lines=4) @@
113
		}
114
115
		// Is the message a fault?
116
		if ( $this->message->messageType == 'fault' ) {
117
			$this->error = new IXR_Error($this->message->faultCode, $this->message->faultString);
118
			return false;
119
		}
120
121
		// Message must be OK
122
		return true;

src/wp-includes/IXR/class-IXR-client.php 1 location

@@ 137-140 (lines=4) @@
134
        }
135
136
        // Is the message a fault?
137
        if ($this->message->messageType == 'fault') {
138
            $this->error = new IXR_Error($this->message->faultCode, $this->message->faultString);
139
            return false;
140
        }
141
142
        // Message must be OK
143
        return true;