Skip to content

Commit 0419cb2

Browse files
committed
style: fix some precision alignments
1 parent 4cde4c9 commit 0419cb2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

inc/class-spcl.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ final class SPCL {
2323
public static function init() {
2424
// Skip DOING_X.
2525
if ( ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE )
26-
|| ( defined( 'DOING_CRON' ) && DOING_CRON )
27-
|| ( defined( 'DOING_AJAX' ) && DOING_AJAX )
28-
|| ( defined( 'XMLRPC_REQUEST' ) && XMLRPC_REQUEST ) ) {
26+
|| ( defined( 'DOING_CRON' ) && DOING_CRON )
27+
|| ( defined( 'DOING_AJAX' ) && DOING_AJAX )
28+
|| ( defined( 'XMLRPC_REQUEST' ) && XMLRPC_REQUEST ) ) {
2929
return;
3030
}
3131

@@ -215,8 +215,8 @@ public static function validate_links( $id ) {
215215
if ( is_wp_error( $response ) ) {
216216
// Response code.
217217
$found[] = array(
218-
'url' => $url,
219-
'error' => $response->get_error_message(),
218+
'url' => $url,
219+
'error' => $response->get_error_message(),
220220
'error_text' => sprintf(
221221
/* translators: 1: URL 2: error message, ending with a period already */
222222
esc_html__( 'Check for URL %1$s failed with error: %2$s', 'spcl' ),
@@ -229,8 +229,8 @@ public static function validate_links( $id ) {
229229
$code = (int) wp_remote_retrieve_response_code( $response );
230230
if ( $code >= 400 && 405 !== $code ) {
231231
$found[] = array(
232-
'url' => $url,
233-
'code' => $code,
232+
'url' => $url,
233+
'code' => $code,
234234
'error_text' => sprintf(
235235
/* translators: 1: URL 2: HTTP status code */
236236
esc_html__( 'Check for URL %1$s failed with status code %2$s.', 'spcl' ),

0 commit comments

Comments
 (0)