Passed
Push — master ( dd57fd...bbdbbd )
by Paul
04:15
created
views/pages/documentation/support.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@  discard block
 block discarded – undo
1
-<?php defined('WPINC') || die; ?>
1
+<?php defined( 'WPINC' ) || die; ?>
2 2
 
3 3
 <div id="support-01" class="glsr-card postbox">
4 4
     <div class="glsr-card-header">
5 5
         <h3>Basic Troubleshooting Steps</h3>
6 6
         <button type="button" class="handlediv" aria-expanded="true">
7
-            <span class="screen-reader-text"><?= __('Toggle documentation panel', 'site-reviews'); ?></span>
7
+            <span class="screen-reader-text"><?= __( 'Toggle documentation panel', 'site-reviews' ); ?></span>
8 8
             <span class="toggle-indicator" aria-hidden="true"></span>
9 9
         </button>
10 10
     </div>
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     <div class="glsr-card-header">
33 33
         <h3>Common Problems and Solutions</h3>
34 34
         <button type="button" class="handlediv" aria-expanded="true">
35
-            <span class="screen-reader-text"><?= __('Toggle documentation panel', 'site-reviews'); ?></span>
35
+            <span class="screen-reader-text"><?= __( 'Toggle documentation panel', 'site-reviews' ); ?></span>
36 36
             <span class="toggle-indicator" aria-hidden="true"></span>
37 37
         </button>
38 38
     </div>
@@ -41,12 +41,12 @@  discard block
 block discarded – undo
41 41
             <li>
42 42
                 <p class="glsr-heading">Email notifications are not working</p>
43 43
                 <p>Site Reviews uses the standard WordPress mail functions to send email. However, this does not guarantee that emails will send successfully as it still depends on your WordPress settings and server configuration being correct.</p>
44
-                <p>To make sure that emails are correctly sent, please verify that the email you have saved in the "Email Address" setting of the <code><a href="<?= admin_url('options-general.php'); ?>">WordPress General Settings</a></code> page uses the same domain as that of your website. For example, if your website is <code>https://reviews.com</code> then the "Email Address" setting should end with, <code>@reviews.com</code>. If the email address you have saved in the WordPress General Settings does not share the same domain as your website, you will likely experience issues sending email from your WordPress site.</p>
44
+                <p>To make sure that emails are correctly sent, please verify that the email you have saved in the "Email Address" setting of the <code><a href="<?= admin_url( 'options-general.php' ); ?>">WordPress General Settings</a></code> page uses the same domain as that of your website. For example, if your website is <code>https://reviews.com</code> then the "Email Address" setting should end with, <code>@reviews.com</code>. If the email address you have saved in the WordPress General Settings does not share the same domain as your website, you will likely experience issues sending email from your WordPress site.</p>
45 45
                 <p>If your email notifications are not sending, I recommend that you install the <a href="https://wordpress.org/plugins/check-email/">Check Email</a> plugin to verify that your website is able to correctly send email. See also, <a href="https://www.butlerblog.com/2013/12/12/easy-smtp-email-wordpress-wp_mail/">Easy SMTP email settings for WordPress</a>.</p>
46 46
             </li>
47 47
             <li>
48 48
                 <p class="glsr-heading">I only want my reviews to show on the page they were published or assigned to but they are showing on every page.</p>
49
-                <p>All reviews are unassigned by default. If you want to assign reviews to specific pages, you will need to use the “assign_to” and “assigned_to” shortcode options. Please see the <code><a href="<?= admin_url('edit.php?post_type='.glsr()->post_type.'&page=documentation#tab-shortcodes'); ?>">Shortcodes</a></code> documentation page for more information.</p>
49
+                <p>All reviews are unassigned by default. If you want to assign reviews to specific pages, you will need to use the “assign_to” and “assigned_to” shortcode options. Please see the <code><a href="<?= admin_url( 'edit.php?post_type='.glsr()->post_type.'&page=documentation#tab-shortcodes' ); ?>">Shortcodes</a></code> documentation page for more information.</p>
50 50
             </li>
51 51
             <li>
52 52
                 <p class="glsr-heading">My submission form is not assigning reviews to the page even though I have set the option to do so.</p>
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
     <div class="glsr-card-header">
69 69
         <h3>Contact Support</h3>
70 70
         <button type="button" class="handlediv" aria-expanded="true">
71
-            <span class="screen-reader-text"><?= __('Toggle documentation panel', 'site-reviews'); ?></span>
71
+            <span class="screen-reader-text"><?= __( 'Toggle documentation panel', 'site-reviews' ); ?></span>
72 72
             <span class="toggle-indicator" aria-hidden="true"></span>
73 73
         </button>
74 74
     </div>
@@ -77,32 +77,32 @@  discard block
 block discarded – undo
77 77
         <p>However, you may also contact us directly (expect a slower response time) after confirming the following:</p>
78 78
         <p class="glsr-card-field">
79 79
             <input type="checkbox" id="step-1" class="glsr-support-step">
80
-            <label for="step-1">I have read the <code><a href="<?= admin_url('edit.php?post_type='.glsr()->post_type.'&page=documentation#tab-support'); ?>" data-expand="#support-02">Common Problems and Solutions</a></code> and it does not answer my question.</label>
80
+            <label for="step-1">I have read the <code><a href="<?= admin_url( 'edit.php?post_type='.glsr()->post_type.'&page=documentation#tab-support' ); ?>" data-expand="#support-02">Common Problems and Solutions</a></code> and it does not answer my question.</label>
81 81
         </p>
82 82
         <p class="glsr-card-field">
83 83
             <input type="checkbox" id="step-2" class="glsr-support-step">
84
-            <label for="step-2">I have read the <code><a href="<?= admin_url('edit.php?post_type='.glsr()->post_type.'&page=documentation#tab-faq'); ?>">FAQ</a></code> page and it does not answer my question.</label>
84
+            <label for="step-2">I have read the <code><a href="<?= admin_url( 'edit.php?post_type='.glsr()->post_type.'&page=documentation#tab-faq' ); ?>">FAQ</a></code> page and it does not answer my question.</label>
85 85
         </p>
86 86
         <p class="glsr-card-field">
87 87
             <input type="checkbox" id="step-3" class="glsr-support-step">
88
-            <label for="step-3">I have read the <code><a href="<?= admin_url('edit.php?post_type='.glsr()->post_type.'&page=documentation#tab-shortcodes'); ?>">Shortcodes</a></code> page and it does not answer my question.</label>
88
+            <label for="step-3">I have read the <code><a href="<?= admin_url( 'edit.php?post_type='.glsr()->post_type.'&page=documentation#tab-shortcodes' ); ?>">Shortcodes</a></code> page and it does not answer my question.</label>
89 89
         </p>
90
-        <?php if (glsr()->hasPermission('documentation', 'hooks')) : ?>
90
+        <?php if( glsr()->hasPermission( 'documentation', 'hooks' ) ) : ?>
91 91
         <p class="glsr-card-field">
92 92
             <input type="checkbox" id="step-4" class="glsr-support-step">
93
-            <label for="step-4">I have read the <code><a href="<?= admin_url('edit.php?post_type='.glsr()->post_type.'&page=documentation#tab-hooks'); ?>">Hooks</a></code> page and it does not answer my question.</label>
93
+            <label for="step-4">I have read the <code><a href="<?= admin_url( 'edit.php?post_type='.glsr()->post_type.'&page=documentation#tab-hooks' ); ?>">Hooks</a></code> page and it does not answer my question.</label>
94 94
         </p>
95 95
         <?php endif; ?>
96 96
         <p class="glsr-card-field">
97 97
             <input type="checkbox" id="step-5" class="glsr-support-step">
98
-            <label for="step-5">I have completed the <code><a href="<?= admin_url('edit.php?post_type='.glsr()->post_type.'&page=documentation#tab-support'); ?>" data-expand="#support-01">Basic Troubleshooting Steps</a></code> provided above.</label>
98
+            <label for="step-5">I have completed the <code><a href="<?= admin_url( 'edit.php?post_type='.glsr()->post_type.'&page=documentation#tab-support' ); ?>" data-expand="#support-01">Basic Troubleshooting Steps</a></code> provided above.</label>
99 99
         </p>
100 100
         <div class="glsr-card-result hidden">
101 101
             <p><strong>Please send an email to <a href="mailto:[email protected]?subject=Support%20request">[email protected]</a> and include the following details:</strong></p>
102 102
             <ul>
103 103
                 <li>A detailed description of the problem you are having and steps to reproduce it.</li>
104
-                <li>Download and attach the <code><a href="<?= admin_url('edit.php?post_type='.glsr()->post_type.'&page=tools#tab-console'); ?>">Tools &rarr; Console</a></code> log file to the email.</li>
105
-                <li>Download and attach the <code><a href="<?= admin_url('edit.php?post_type='.glsr()->post_type.'&page=tools#tab-system-info'); ?>">Tools &rarr; System Info</a></code> report to the email.</li>
104
+                <li>Download and attach the <code><a href="<?= admin_url( 'edit.php?post_type='.glsr()->post_type.'&page=tools#tab-console' ); ?>">Tools &rarr; Console</a></code> log file to the email.</li>
105
+                <li>Download and attach the <code><a href="<?= admin_url( 'edit.php?post_type='.glsr()->post_type.'&page=tools#tab-system-info' ); ?>">Tools &rarr; System Info</a></code> report to the email.</li>
106 106
                 <li>Include screenshots if they will help explain the problem.</li>
107 107
             </ul>
108 108
             <p><span class="required">Please be aware that if your email does not include the System Info report and the Console log (as requested above), it will most likely be ignored. Thank you for understanding.</span></p>
Please login to merge, or discard this patch.
plugin/Modules/Upgrader.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,6 +11,6 @@
 block discarded – undo
11 11
  */
12 12
 class Upgrader
13 13
 {
14
-    public function run()
15
-    {}
14
+	public function run()
15
+	{}
16 16
 }
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,5 +12,6 @@
 block discarded – undo
12 12
 class Upgrader
13 13
 {
14 14
     public function run()
15
-    {}
15
+    {
16
+}
16 17
 }
Please login to merge, or discard this patch.