Passed
Push — master ( 078281...45cbff )
by Paul
03:42
created
views/pages/settings/translations.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,20 +1,20 @@  discard block
 block discarded – undo
1
-<?php defined('WPINC') || die; ?>
1
+<?php defined( 'WPINC' ) || die; ?>
2 2
 
3 3
 <div class="glsr-strings-form">
4 4
     <div class="glsr-search-box" id="glsr-search-translations">
5
-        <span class="screen-reader-text"><?= __('Search for translatable text', 'site-reviews'); ?></span>
5
+        <span class="screen-reader-text"><?= __( 'Search for translatable text', 'site-reviews' ); ?></span>
6 6
         <div class="glsr-spinner">
7 7
             <span class="spinner"></span>
8 8
         </div>
9
-        <input type="search" class="glsr-search-input" autocomplete="off" placeholder="<?= __('Search here for text to translate...', 'site-reviews'); ?>">
10
-        <?php wp_nonce_field('search-translations', '_search_nonce', false); ?>
9
+        <input type="search" class="glsr-search-input" autocomplete="off" placeholder="<?= __( 'Search here for text to translate...', 'site-reviews' ); ?>">
10
+        <?php wp_nonce_field( 'search-translations', '_search_nonce', false ); ?>
11 11
         <div class="glsr-search-results" data-prefix="{{ database_key }}"></div>
12 12
     </div>
13 13
     <table class="glsr-strings-table wp-list-table widefat {{ class }}">
14 14
         <thead>
15 15
             <tr>
16
-                <th scope="col" class="manage-column column-primary"><?= __('Original Text', 'site-reviews'); ?></th>
17
-                <th scope="col" class="manage-column"><?= __('Custom Translation', 'site-reviews'); ?></th>
16
+                <th scope="col" class="manage-column column-primary"><?= __( 'Original Text', 'site-reviews' ); ?></th>
17
+                <th scope="col" class="manage-column"><?= __( 'Custom Translation', 'site-reviews' ); ?></th>
18 18
             </tr>
19 19
         </thead>
20 20
         <tbody>{{ translations }}</tbody>
@@ -23,8 +23,8 @@  discard block
 block discarded – undo
23 23
 </div>
24 24
 
25 25
 <script type="text/html" id="tmpl-glsr-string-plural">
26
-<?php include glsr()->path('views/partials/translations/plural.php'); ?>
26
+<?php include glsr()->path( 'views/partials/translations/plural.php' ); ?>
27 27
 </script>
28 28
 <script type="text/html" id="tmpl-glsr-string-single">
29
-<?php include glsr()->path('views/partials/translations/single.php'); ?>
29
+<?php include glsr()->path( 'views/partials/translations/single.php' ); ?>
30 30
 </script>
Please login to merge, or discard this patch.
views/pages/settings/addons.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1
-<?php defined('WPINC') || die; ?>
1
+<?php defined( 'WPINC' ) || die; ?>
2 2
 
3
-<?php foreach ($settings as $key => $rows) : ?>
3
+<?php foreach( $settings as $key => $rows ) : ?>
4 4
 <div class="glsr-nav-view-section" id="<?= $key; ?>" style="margin-top:40px;">
5
-    <?php do_action('site-reviews/addon/settings/'.$key, $rows); ?>
5
+    <?php do_action( 'site-reviews/addon/settings/'.$key, $rows ); ?>
6 6
 </div>
7 7
 <?php endforeach; ?>
Please login to merge, or discard this patch.
templates/reviews-summary.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
 <div class="glsr-summary-wrap">
4 4
     <div class="{{ class }}" id="{{ id }}">
Please login to merge, or discard this patch.
templates/review.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
 <div class="glsr-review">
4 4
     {{ title }}
Please login to merge, or discard this patch.
templates/form/submit-button.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
 <button type="submit" class="glsr-button button btn">
4 4
     <span class="glsr-button-loading"></span>
Please login to merge, or discard this patch.
templates/form/field-errors.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
 <span class="glsr-field-error">
4 4
     {{ errors }}
Please login to merge, or discard this patch.
templates/form/field_checkbox.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
 <div class="glsr-field {{ class }}">
4 4
     <div class="glsr-field-choice">
Please login to merge, or discard this patch.
templates/form/field.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
 <div class="glsr-field {{ class }}">
4 4
     {{ label }}
Please login to merge, or discard this patch.
templates/pagination.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
 <div class="pagination">
4 4
     <nav class="navigation" role="navigation">
Please login to merge, or discard this patch.