Passed
Branch master (51607c)
by Paul
05:13
created
views/editor/search-result.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,2 +1,2 @@
 block discarded – undo
1
-<?php defined( 'WPINC' ) || die; ?>
1
+<?php defined('WPINC') || die; ?>
2 2
 <span tabindex="0" data-id="<?= $ID; ?>" data-url="<?= $permalink; ?>"><?= $title; ?></span>
Please login to merge, or discard this patch.
views/editor/metabox-response.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1
-<?php defined( 'WPINC' ) || die; ?>
1
+<?php defined('WPINC') || die; ?>
2 2
 
3
-<label class="screen-reader-text" for="response"><?= __( 'Respond Publicly', 'site-reviews' ); ?></label>
3
+<label class="screen-reader-text" for="response"><?= __('Respond Publicly', 'site-reviews'); ?></label>
4 4
 <textarea class="glsr-response" name="response" id="response" rows="1" cols="40"><?= $response; ?></textarea>
5 5
 <p>If you need to publicly respond to this review, enter your response here.</p>
Please login to merge, or discard this patch.
views/editor/bulk-edit-assigned-to.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1
-<?php defined( 'WPINC' ) || die; ?>
1
+<?php defined('WPINC') || die; ?>
2 2
 
3 3
 <fieldset class="inline-edit-col-right">
4 4
 	<div class="inline-edit-col">
5 5
 		<div class="inline-edit-group wp-clearfix">
6 6
 			<label class="alignleft">
7
-				<span class="title"><?= __( 'Assigned To', 'site-reviews' ); ?></span>
7
+				<span class="title"><?= __('Assigned To', 'site-reviews'); ?></span>
8 8
 				<span class="input-text-wrap">
9 9
 					<input type="number" name="assigned_to" class="inline-edit-menu-order-input">
10 10
 				</span>
Please login to merge, or discard this patch.
views/editor/tinymce.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1
-<?php defined( 'WPINC' ) || die; ?>
1
+<?php defined('WPINC') || die; ?>
2 2
 
3 3
 <div class="glsr-mce">
4 4
 	<button class="button glsr-mce-button">
5 5
 		<span class="wp-media-buttons-icon"></span>
6 6
 	</button>
7 7
 	<div class="mce-menu glsr-mce-menu">
8
-	<?php foreach( $shortcodes as $key => $values ) : ?>
8
+	<?php foreach ($shortcodes as $key => $values) : ?>
9 9
 		<div class="mce-menu-item glsr-mce-menu-item" data-shortcode="<?= $key; ?>"><?= $values['label']; ?></div>
10 10
 	<?php endforeach; ?>
11 11
 	</div>
12
-	<?php wp_nonce_field( 'mce-shortcode', '_glsr_nonce' ); ?>
12
+	<?php wp_nonce_field('mce-shortcode', '_glsr_nonce'); ?>
13 13
 </div>
Please login to merge, or discard this patch.
views/editor/metabox-details.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1
-<?php defined( 'WPINC' ) || die; ?>
1
+<?php defined('WPINC') || die; ?>
2 2
 
3 3
 <table class="glsr-metabox-table">
4 4
 	<tbody>
5
-	<?php foreach( $metabox as $key => $value ) : ?>
5
+	<?php foreach ($metabox as $key => $value) : ?>
6 6
 		<tr>
7 7
 			<td><?= $key; ?></td>
8 8
 			<td><?= $value; ?></td>
Please login to merge, or discard this patch.
views/editor/pinned.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,31 +1,31 @@
 block discarded – undo
1
-<?php defined( 'WPINC' ) || die; ?>
1
+<?php defined('WPINC') || die; ?>
2 2
 
3 3
 <div id="misc-pub-pinned" class="misc-pub-section misc-pub-pinned">
4 4
 
5 5
 <?php
6
-	$pinnedNo  = __( 'No', 'site-reviews' );
7
-	$pinnedYes = __( 'Yes', 'site-reviews' );
6
+	$pinnedNo  = __('No', 'site-reviews');
7
+	$pinnedYes = __('Yes', 'site-reviews');
8 8
 ?>
9 9
 
10
-	<label for="pinned-status"><?= __( 'Pinned', 'site-reviews' ) ?>:</label>
10
+	<label for="pinned-status"><?= __('Pinned', 'site-reviews') ?>:</label>
11 11
 	<span id="pinned-status-text" class="pinned-status-text"><?= $pinned ? $pinnedYes : $pinnedNo; ?></span>
12 12
 
13 13
 	<a href="#pinned-status" class="edit-pinned-status hide-if-no-js">
14
-		<span aria-hidden="true"><?= __( 'Edit', 'site-reviews' ); ?></span>
15
-		<span class="screen-reader-text"><?= __( 'Edit pinned status', 'site-reviews' ); ?></span>
14
+		<span aria-hidden="true"><?= __('Edit', 'site-reviews'); ?></span>
15
+		<span class="screen-reader-text"><?= __('Edit pinned status', 'site-reviews'); ?></span>
16 16
 	</a>
17 17
 
18 18
 	<div id="pinned-status-select" class="pinned-status-select hide-if-js">
19 19
 
20
-		<input type="hidden" id="hidden-pinned-status" value="<?= intval( $pinned ); ?>">
20
+		<input type="hidden" id="hidden-pinned-status" value="<?= intval($pinned); ?>">
21 21
 
22 22
 		<select name="pinned" id="pinned-status">
23
-			<option value="1"<?php selected( $pinned, false ); ?>><?= __( 'Pin', 'site-reviews' ); ?></option>
24
-			<option value="0"<?php selected( $pinned, true ); ?>><?= __( 'Unpin', 'site-reviews' ); ?></option>
23
+			<option value="1"<?php selected($pinned, false); ?>><?= __('Pin', 'site-reviews'); ?></option>
24
+			<option value="0"<?php selected($pinned, true); ?>><?= __('Unpin', 'site-reviews'); ?></option>
25 25
 		</select>
26 26
 
27
-		<a href="#pinned-status" class="save-pinned-status hide-if-no-js button" data-no="<?= $pinnedNo; ?>" data-yes="<?= $pinnedYes; ?>"><?= __( 'OK', 'site-reviews' ); ?></a>
28
-		<a href="#pinned-status" class="cancel-pinned-status hide-if-no-js button-cancel"><?= __( 'Cancel', 'site-reviews' ); ?></a>
27
+		<a href="#pinned-status" class="save-pinned-status hide-if-no-js button" data-no="<?= $pinnedNo; ?>" data-yes="<?= $pinnedYes; ?>"><?= __('OK', 'site-reviews'); ?></a>
28
+		<a href="#pinned-status" class="cancel-pinned-status hide-if-no-js button-cancel"><?= __('Cancel', 'site-reviews'); ?></a>
29 29
 
30 30
 	</div>
31 31
 
Please login to merge, or discard this patch.
views/email/body.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,3 +1,3 @@
 block discarded – undo
1
-<?php defined( 'WPINC' ) || die; ?>
1
+<?php defined('WPINC') || die; ?>
2 2
 
3 3
 {{ message }}
Please login to merge, or discard this patch.
views/email/header.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1
-<?php defined( 'WPINC' ) || die; ?>
1
+<?php defined('WPINC') || die; ?>
2 2
 
3 3
 <!doctype html>
4 4
 <html>
5 5
 <head>
6 6
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7
-    <title><?= wp_specialchars_decode( (string) get_option( 'blogname', '' ), ENT_QUOTES ); ?></title>
7
+    <title><?= wp_specialchars_decode((string)get_option('blogname', ''), ENT_QUOTES); ?></title>
8 8
 </head>
9 9
 <body>
Please login to merge, or discard this patch.
views/email/footer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php defined( 'WPINC' ) || die; ?>
1
+<?php defined('WPINC') || die; ?>
2 2
 
3 3
 </body>
4 4
 </html>
Please login to merge, or discard this patch.