Test Failed
Push — tmp ( 15f615...89cc97 )
by Paul
10:31 queued 04:40
created
plugin/Modules/Multilingual/Polylang.php 1 patch
Spacing   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -15,37 +15,37 @@  discard block
 block discarded – undo
15 15
     /**
16 16
      * @inheritDoc
17 17
      */
18
-    public function getPostId($postId)
18
+    public function getPostId( $postId )
19 19
     {
20
-        $postId = trim($postId);
21
-        if (!is_numeric($postId)) {
20
+        $postId = trim( $postId );
21
+        if( !is_numeric( $postId ) ) {
22 22
             return 0;
23 23
         }
24
-        if ($this->isEnabled()) {
25
-            $polylangPostId = pll_get_post($postId, pll_get_post_language(get_the_ID()));
24
+        if( $this->isEnabled() ) {
25
+            $polylangPostId = pll_get_post( $postId, pll_get_post_language( get_the_ID() ) );
26 26
         }
27
-        if (!empty($polylangPostId)) {
27
+        if( !empty($polylangPostId) ) {
28 28
             $postId = $polylangPostId;
29 29
         }
30
-        return intval($postId);
30
+        return intval( $postId );
31 31
     }
32 32
 
33 33
     /**
34 34
      * @inheritDoc
35 35
      */
36
-    public function getPostIds(array $postIds)
36
+    public function getPostIds( array $postIds )
37 37
     {
38
-        if (!$this->isEnabled()) {
38
+        if( !$this->isEnabled() ) {
39 39
             return $postIds;
40 40
         }
41 41
         $newPostIds = [];
42
-        foreach (Arr::unique($postIds) as $postId) {
42
+        foreach( Arr::unique( $postIds ) as $postId ) {
43 43
             $newPostIds = array_merge(
44 44
                 $newPostIds,
45
-                array_values(pll_get_post_translations($postId))
45
+                array_values( pll_get_post_translations( $postId ) )
46 46
             );
47 47
         }
48
-        return Arr::unique($newPostIds);
48
+        return Arr::unique( $newPostIds );
49 49
     }
50 50
 
51 51
     /**
@@ -53,10 +53,10 @@  discard block
 block discarded – undo
53 53
      */
54 54
     public function isActive()
55 55
     {
56
-        return function_exists('PLL')
57
-            && function_exists('pll_get_post')
58
-            && function_exists('pll_get_post_language')
59
-            && function_exists('pll_get_post_translations');
56
+        return function_exists( 'PLL' )
57
+            && function_exists( 'pll_get_post' )
58
+            && function_exists( 'pll_get_post_language' )
59
+            && function_exists( 'pll_get_post_translations' );
60 60
     }
61 61
 
62 62
     /**
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     public function isEnabled()
66 66
     {
67 67
         return $this->isActive()
68
-            && 'polylang' == glsr(OptionManager::class)->get('settings.general.multilingual');
68
+            && 'polylang' == glsr( OptionManager::class )->get( 'settings.general.multilingual' );
69 69
     }
70 70
 
71 71
     /**
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      */
74 74
     public function isSupported()
75 75
     {
76
-        return defined('POLYLANG_VERSION')
77
-            && Helper::isGreaterThanOrEqual(POLYLANG_VERSION, $this->supportedVersion);
76
+        return defined( 'POLYLANG_VERSION' )
77
+            && Helper::isGreaterThanOrEqual( POLYLANG_VERSION, $this->supportedVersion );
78 78
     }
79 79
 }
Please login to merge, or discard this patch.
plugin/Modules/Html/Partials/StarRating.php 1 patch
Spacing   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -14,21 +14,21 @@  discard block
 block discarded – undo
14 14
     /**
15 15
      * @inheritDoc
16 16
      */
17
-    public function build(array $args = [])
17
+    public function build( array $args = [] )
18 18
     {
19
-        $this->setProperties($args);
20
-        $fullStars = intval(floor($this->rating));
21
-        $halfStars = intval(ceil($this->rating - $fullStars));
22
-        $emptyStars = max(0, glsr()->constant('MAX_RATING', Rating::class) - $fullStars - $halfStars);
23
-        return glsr(Template::class)->build('templates/rating/stars', [
19
+        $this->setProperties( $args );
20
+        $fullStars = intval( floor( $this->rating ) );
21
+        $halfStars = intval( ceil( $this->rating - $fullStars ) );
22
+        $emptyStars = max( 0, glsr()->constant( 'MAX_RATING', Rating::class ) - $fullStars - $halfStars );
23
+        return glsr( Template::class )->build( 'templates/rating/stars', [
24 24
             'context' => [
25
-                'empty_stars' => $this->getTemplate('empty-star', $emptyStars),
26
-                'full_stars' => $this->getTemplate('full-star', $fullStars),
27
-                'half_stars' => $this->getTemplate('half-star', $halfStars),
25
+                'empty_stars' => $this->getTemplate( 'empty-star', $emptyStars ),
26
+                'full_stars' => $this->getTemplate( 'full-star', $fullStars ),
27
+                'half_stars' => $this->getTemplate( 'half-star', $halfStars ),
28 28
                 'prefix' => $this->prefix,
29
-                'title' => sprintf(__('%s rating', 'site-reviews'), number_format_i18n($this->rating, 1)),
29
+                'title' => sprintf( __( '%s rating', 'site-reviews' ), number_format_i18n( $this->rating, 1 ) ),
30 30
             ],
31
-        ]);
31
+        ] );
32 32
     }
33 33
 
34 34
     /**
@@ -36,26 +36,26 @@  discard block
 block discarded – undo
36 36
      * @param int $timesRepeated
37 37
      * @return string
38 38
      */
39
-    protected function getTemplate($templateName, $timesRepeated)
39
+    protected function getTemplate( $templateName, $timesRepeated )
40 40
     {
41
-        $template = glsr(Template::class)->build('templates/rating/'.$templateName, [
41
+        $template = glsr( Template::class )->build( 'templates/rating/'.$templateName, [
42 42
             'context' => [
43 43
                 'prefix' => $this->prefix,
44 44
             ],
45
-        ]);
46
-        return str_repeat($template, $timesRepeated);
45
+        ] );
46
+        return str_repeat( $template, $timesRepeated );
47 47
     }
48 48
 
49 49
     /**
50 50
      * @return array
51 51
      */
52
-    protected function setProperties(array $args)
52
+    protected function setProperties( array $args )
53 53
     {
54
-        $args = wp_parse_args($args, [
54
+        $args = wp_parse_args( $args, [
55 55
             'prefix' => glsr()->isAdmin() ? '' : 'glsr-',
56 56
             'rating' => 0,
57
-        ]);
57
+        ] );
58 58
         $this->prefix = $args['prefix'];
59
-        $this->rating = (float) str_replace(',', '.', $args['rating']);
59
+        $this->rating = (float)str_replace( ',', '.', $args['rating'] );
60 60
     }
61 61
 }
Please login to merge, or discard this patch.
plugin/Blocks/SiteReviewsSummaryBlock.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -50,18 +50,18 @@  discard block
 block discarded – undo
50 50
     /**
51 51
      * @return string
52 52
      */
53
-    public function render(array $attributes)
53
+    public function render( array $attributes )
54 54
     {
55 55
         $attributes['class'] = $attributes['className'];
56
-        $shortcode = glsr(Shortcode::class);
57
-        if ('edit' == filter_input(INPUT_GET, 'context')) {
58
-            $attributes = $this->normalize($attributes);
56
+        $shortcode = glsr( Shortcode::class );
57
+        if( 'edit' == filter_input( INPUT_GET, 'context' ) ) {
58
+            $attributes = $this->normalize( $attributes );
59 59
             $this->filterBlockClass();
60
-            if (!$this->hasVisibleFields($shortcode, $attributes)) {
60
+            if( !$this->hasVisibleFields( $shortcode, $attributes ) ) {
61 61
                 $this->filterInterpolation();
62 62
             }
63 63
         }
64
-        return $shortcode->buildBlock($attributes);
64
+        return $shortcode->buildBlock( $attributes );
65 65
     }
66 66
 
67 67
     /**
@@ -69,9 +69,9 @@  discard block
 block discarded – undo
69 69
      */
70 70
     protected function filterInterpolation()
71 71
     {
72
-        add_filter('site-reviews/interpolate/reviews-summary', function ($context) {
72
+        add_filter( 'site-reviews/interpolate/reviews-summary', function( $context ) {
73 73
             $context['class'] = 'glsr-default glsr-block-disabled';
74
-            $context['text'] = _x('You have hidden all of the fields for this block.', 'admin-text', 'site-reviews');
74
+            $context['text'] = _x( 'You have hidden all of the fields for this block.', 'admin-text', 'site-reviews' );
75 75
             return $context;
76 76
         });
77 77
     }
Please login to merge, or discard this patch.
plugin/Shortcodes/SiteReviewsSummaryShortcode.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -7,11 +7,11 @@
 block discarded – undo
7 7
     protected function hideOptions()
8 8
     {
9 9
         return [
10
-            'rating' => _x('Hide the rating', 'admin-text', 'site-reviews'),
11
-            'stars' => _x('Hide the stars', 'admin-text', 'site-reviews'),
12
-            'summary' => _x('Hide the summary', 'admin-text', 'site-reviews'),
13
-            'bars' => _x('Hide the percentage bars', 'admin-text', 'site-reviews'),
14
-            'if_empty' => _x('Hide if no reviews are found', 'admin-text', 'site-reviews'),
10
+            'rating' => _x( 'Hide the rating', 'admin-text', 'site-reviews' ),
11
+            'stars' => _x( 'Hide the stars', 'admin-text', 'site-reviews' ),
12
+            'summary' => _x( 'Hide the summary', 'admin-text', 'site-reviews' ),
13
+            'bars' => _x( 'Hide the percentage bars', 'admin-text', 'site-reviews' ),
14
+            'if_empty' => _x( 'Hide if no reviews are found', 'admin-text', 'site-reviews' ),
15 15
         ];
16 16
     }
17 17
 }
Please login to merge, or discard this patch.
plugin/Shortcodes/SiteReviewsFormShortcode.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -7,12 +7,12 @@
 block discarded – undo
7 7
     protected function hideOptions()
8 8
     {
9 9
         return [
10
-            'rating' => _x('Hide the rating field', 'admin-text', 'site-reviews'),
11
-            'title' => _x('Hide the title field', 'admin-text', 'site-reviews'),
12
-            'content' => _x('Hide the review field', 'admin-text', 'site-reviews'),
13
-            'name' => _x('Hide the name field', 'admin-text', 'site-reviews'),
14
-            'email' => _x('Hide the email field', 'admin-text', 'site-reviews'),
15
-            'terms' => _x('Hide the terms field', 'admin-text', 'site-reviews'),
10
+            'rating' => _x( 'Hide the rating field', 'admin-text', 'site-reviews' ),
11
+            'title' => _x( 'Hide the title field', 'admin-text', 'site-reviews' ),
12
+            'content' => _x( 'Hide the review field', 'admin-text', 'site-reviews' ),
13
+            'name' => _x( 'Hide the name field', 'admin-text', 'site-reviews' ),
14
+            'email' => _x( 'Hide the email field', 'admin-text', 'site-reviews' ),
15
+            'terms' => _x( 'Hide the terms field', 'admin-text', 'site-reviews' ),
16 16
         ];
17 17
     }
18 18
 }
Please login to merge, or discard this patch.
views/pages/documentation/index.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,20 +1,20 @@
 block discarded – undo
1
-<?php defined('WPINC') || die; ?>
1
+<?php defined( 'WPINC' ) || die; ?>
2 2
 
3 3
 <div class="wrap">
4 4
     <h1 class="wp-heading-inline">
5
-        <?= esc_html(get_admin_page_title()); ?>
6
-        <a href="<?= admin_url('edit.php?post_type='.glsr()->post_type.'&page=welcome'); ?>" class="page-title-action"><?= _x('About', 'admin-text', 'site-reviews'); ?></a>
5
+        <?= esc_html( get_admin_page_title() ); ?>
6
+        <a href="<?= admin_url( 'edit.php?post_type='.glsr()->post_type.'&page=welcome' ); ?>" class="page-title-action"><?= _x( 'About', 'admin-text', 'site-reviews' ); ?></a>
7 7
     </h1>
8 8
     <?= $notices; ?>
9
-    <p><?= _x('Click an active tab to expand/collapse all sections.', 'admin-text', 'site-reviews'); ?></p>
9
+    <p><?= _x( 'Click an active tab to expand/collapse all sections.', 'admin-text', 'site-reviews' ); ?></p>
10 10
     <h2 class="glsr-nav-tab-wrapper nav-tab-wrapper">
11
-        <?php foreach ($tabs as $id => $title) : ?>
11
+        <?php foreach( $tabs as $id => $title ) : ?>
12 12
         <a class="glsr-nav-tab nav-tab" href="#<?= $id; ?>"><?= $title; ?></a>
13 13
         <?php endforeach; ?>
14 14
     </h2>
15
-    <?php foreach ($tabs as $id => $title) : ?>
15
+    <?php foreach( $tabs as $id => $title ) : ?>
16 16
     <div class="glsr-nav-view ui-tabs-hide" id="<?= $id; ?>">
17
-        <?php glsr()->render('pages/documentation/'.$id, $data); ?>
17
+        <?php glsr()->render( 'pages/documentation/'.$id, $data ); ?>
18 18
     </div>
19 19
     <?php endforeach; ?>
20 20
     <input type="hidden" name="_active_tab">
Please login to merge, or discard this patch.
views/pages/settings/translations.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,22 +1,22 @@  discard block
 block discarded – undo
1
-<?php defined('WPINC') || die; ?>
1
+<?php defined( 'WPINC' ) || die; ?>
2 2
 
3
-<p><?= sprintf(_x('Here you can customise any text of the plugin, including the submission form labels and placeholders. However, if you have a multilingual website you should use the %s plugin instead.', 'admin-text', 'site-reviews'), '<a href="https://wordpress.org/plugins/loco-translate/">Loco Translate</a>'); ?></p>
3
+<p><?= sprintf( _x( 'Here you can customise any text of the plugin, including the submission form labels and placeholders. However, if you have a multilingual website you should use the %s plugin instead.', 'admin-text', 'site-reviews' ), '<a href="https://wordpress.org/plugins/loco-translate/">Loco Translate</a>' ); ?></p>
4 4
 
5 5
 <div class="glsr-strings-form">
6 6
     <div class="glsr-search-box" id="glsr-search-translations">
7
-        <span class="screen-reader-text"><?= _x('Search for translatable text', 'admin-text', 'site-reviews'); ?></span>
7
+        <span class="screen-reader-text"><?= _x( 'Search for translatable text', 'admin-text', 'site-reviews' ); ?></span>
8 8
         <div class="glsr-spinner">
9 9
             <span class="spinner"></span>
10 10
         </div>
11
-        <input type="search" class="glsr-search-input" autocomplete="off" placeholder="<?= _x('Search here for text to translate...', 'admin-text', 'site-reviews'); ?>">
12
-        <?php wp_nonce_field('search-translations', '_search_nonce', false); ?>
11
+        <input type="search" class="glsr-search-input" autocomplete="off" placeholder="<?= _x( 'Search here for text to translate...', 'admin-text', 'site-reviews' ); ?>">
12
+        <?php wp_nonce_field( 'search-translations', '_search_nonce', false ); ?>
13 13
         <div class="glsr-search-results" data-prefix="{{ database_key }}"></div>
14 14
     </div>
15 15
     <table class="glsr-strings-table wp-list-table widefat striped {{ class }}">
16 16
         <thead>
17 17
             <tr>
18
-                <th scope="col" class="manage-column column-primary"><?= _x('Original Text', 'admin-text', 'site-reviews'); ?></th>
19
-                <th scope="col" class="manage-column"><?= _x('Custom Translation', 'admin-text', 'site-reviews'); ?></th>
18
+                <th scope="col" class="manage-column column-primary"><?= _x( 'Original Text', 'admin-text', 'site-reviews' ); ?></th>
19
+                <th scope="col" class="manage-column"><?= _x( 'Custom Translation', 'admin-text', 'site-reviews' ); ?></th>
20 20
             </tr>
21 21
         </thead>
22 22
         <tbody>{{ translations }}</tbody>
@@ -25,8 +25,8 @@  discard block
 block discarded – undo
25 25
 </div>
26 26
 
27 27
 <script type="text/html" id="tmpl-glsr-string-plural">
28
-<?php include glsr()->path('views/partials/translations/plural.php'); ?>
28
+<?php include glsr()->path( 'views/partials/translations/plural.php' ); ?>
29 29
 </script>
30 30
 <script type="text/html" id="tmpl-glsr-string-single">
31
-<?php include glsr()->path('views/partials/translations/single.php'); ?>
31
+<?php include glsr()->path( 'views/partials/translations/single.php' ); ?>
32 32
 </script>
Please login to merge, or discard this patch.
views/pages/settings/schema.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
-<p><?= _x('The JSON-LD schema is disabled by default. To use it, please enable the option in your blocks or shortcodes. The schema appears in Google\'s search results and shows the star rating and other information about your reviews. If the schema has been enabled, you can use Google\'s <a href="https://search.google.com/structured-data/testing-tool">Structured Data Testing Tool</a> to test your pages for valid schema data.', 'admin-text', 'site-reviews'); ?></p>
4
-<p><?= _x('You may override any of these options on a per-post/page basis by using its Custom Field name and adding a custom value using the <a href="https://codex.wordpress.org/Using_Custom_Fields#Usage">Custom Fields</a> metabox.', 'admin-text', 'site-reviews'); ?></p>
3
+<p><?= _x( 'The JSON-LD schema is disabled by default. To use it, please enable the option in your blocks or shortcodes. The schema appears in Google\'s search results and shows the star rating and other information about your reviews. If the schema has been enabled, you can use Google\'s <a href="https://search.google.com/structured-data/testing-tool">Structured Data Testing Tool</a> to test your pages for valid schema data.', 'admin-text', 'site-reviews' ); ?></p>
4
+<p><?= _x( 'You may override any of these options on a per-post/page basis by using its Custom Field name and adding a custom value using the <a href="https://codex.wordpress.org/Using_Custom_Fields#Usage">Custom Fields</a> metabox.', 'admin-text', 'site-reviews' ); ?></p>
5 5
 <table class="form-table">
6 6
     <tbody>
7 7
         {{ rows }}
Please login to merge, or discard this patch.
views/pages/tools/sync.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -1,37 +1,37 @@  discard block
 block discarded – undo
1
-<?php defined('WPINC') || die; ?>
1
+<?php defined( 'WPINC' ) || die; ?>
2 2
 
3 3
 <form method="post" class="glsr-form-sync glsr-status">
4
-    <?php $selected = key($services); ?>
4
+    <?php $selected = key( $services ); ?>
5 5
     <table class="wp-list-table widefat fixed striped">
6 6
         <thead>
7 7
             <tr>
8 8
                 <td class="check-column glsr-radio-column"><span class="dashicons-before dashicons-update"></span></td>
9
-                <th scope="col" class="column-primary"><?= _x('Service', 'admin-text', 'site-reviews'); ?></th>
10
-                <th scope="col" class="column-total_fetched"><?= _x('Reviews', 'admin-text', 'site-reviews'); ?></th>
11
-                <th scope="col" class="column-last_sync"><?= _x('Last Sync', 'admin-text', 'site-reviews'); ?></th>
9
+                <th scope="col" class="column-primary"><?= _x( 'Service', 'admin-text', 'site-reviews' ); ?></th>
10
+                <th scope="col" class="column-total_fetched"><?= _x( 'Reviews', 'admin-text', 'site-reviews' ); ?></th>
11
+                <th scope="col" class="column-last_sync"><?= _x( 'Last Sync', 'admin-text', 'site-reviews' ); ?></th>
12 12
             </tr>
13 13
         </thead>
14 14
         <tbody>
15
-        <?php foreach ($services as $slug => $details) : ?>
15
+        <?php foreach( $services as $slug => $details ) : ?>
16 16
             <tr class="service-<?= $slug; ?>">
17 17
                 <th scope="row" class="check-column">
18
-                    <input type="radio" name="{{ id }}[service]" value="<?= $slug; ?>" <?php checked($slug, $selected); ?>>
18
+                    <input type="radio" name="{{ id }}[service]" value="<?= $slug; ?>" <?php checked( $slug, $selected ); ?>>
19 19
                 </th>
20 20
                 <td class="column-primary has-row-actions">
21 21
                     <strong><?= $details['name']; ?></strong>
22 22
                     <div class="row-actions">
23
-                        <span><a href="{{ base_url }}&page=settings#tab-addons"><?= _x('Settings', 'admin-text', 'site-reviews'); ?></a> | </span>
24
-                        <span><a href="{{ base_url }}&page=settings#tab-licenses"><?= _x('License', 'admin-text', 'site-reviews'); ?></a> | </span>
25
-                        <span><a href="{{ base_url }}&page=documentation#tab-addons"><?= _x('Documentation', 'admin-text', 'site-reviews'); ?></a></span>
23
+                        <span><a href="{{ base_url }}&page=settings#tab-addons"><?= _x( 'Settings', 'admin-text', 'site-reviews' ); ?></a> | </span>
24
+                        <span><a href="{{ base_url }}&page=settings#tab-licenses"><?= _x( 'License', 'admin-text', 'site-reviews' ); ?></a> | </span>
25
+                        <span><a href="{{ base_url }}&page=documentation#tab-addons"><?= _x( 'Documentation', 'admin-text', 'site-reviews' ); ?></a></span>
26 26
                     </div>
27 27
                     <button type="button" class="toggle-row">
28
-                        <span class="screen-reader-text"><?= _x('Show more details', 'admin-text', 'site-reviews'); ?></span>
28
+                        <span class="screen-reader-text"><?= _x( 'Show more details', 'admin-text', 'site-reviews' ); ?></span>
29 29
                     </button>
30 30
                 </td>
31
-                <td class="column-total_fetched" data-colname="<?= esc_attr_x('Reviews', 'admin-text', 'site-reviews'); ?>">
31
+                <td class="column-total_fetched" data-colname="<?= esc_attr_x( 'Reviews', 'admin-text', 'site-reviews' ); ?>">
32 32
                     <a href="<?= $details['reviews_url']; ?>"><?= $details['reviews_count']; ?></a>
33 33
                 </td>
34
-                <td class="column-last_sync" data-colname="<?= esc_attr_x('Last Sync', 'admin-text', 'site-reviews'); ?>">
34
+                <td class="column-last_sync" data-colname="<?= esc_attr_x( 'Last Sync', 'admin-text', 'site-reviews' ); ?>">
35 35
                     <?= $details['last_sync']; ?>
36 36
                 </td>
37 37
             </tr>
@@ -40,12 +40,12 @@  discard block
 block discarded – undo
40 40
         <tfoot>
41 41
             <tr>
42 42
                 <td colspan="4" class="no-items" style="display:table-cell!important;">
43
-                    <div class="glsr-progress" data-active-text="<?= esc_attr_x('Please wait...', 'admin-text', 'site-reviews'); ?>">
43
+                    <div class="glsr-progress" data-active-text="<?= esc_attr_x( 'Please wait...', 'admin-text', 'site-reviews' ); ?>">
44 44
                         <div class="glsr-progress-bar" style="width: 0%;">
45
-                            <span class="glsr-progress-status"><?= _x('Inactive', 'admin-text', 'site-reviews'); ?></span>
45
+                            <span class="glsr-progress-status"><?= _x( 'Inactive', 'admin-text', 'site-reviews' ); ?></span>
46 46
                         </div>
47 47
                         <div class="glsr-progress-background">
48
-                            <span class="glsr-progress-status"><?= _x('Inactive', 'admin-text', 'site-reviews'); ?></span>
48
+                            <span class="glsr-progress-status"><?= _x( 'Inactive', 'admin-text', 'site-reviews' ); ?></span>
49 49
                         </div>
50 50
                     </div>
51 51
                 </td>
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     </table>
55 55
     <div class="tablenav bottom">
56 56
         <button type="submit" class="glsr-button button" id="sync-reviews">
57
-            <span data-loading="<?= esc_attr_x('Syncing...', 'admin-text', 'site-reviews'); ?>"><?= _x('Sync Reviews', 'admin-text', 'site-reviews'); ?></span>
57
+            <span data-loading="<?= esc_attr_x( 'Syncing...', 'admin-text', 'site-reviews' ); ?>"><?= _x( 'Sync Reviews', 'admin-text', 'site-reviews' ); ?></span>
58 58
         </button>
59 59
     </div>
60 60
 </form>
Please login to merge, or discard this patch.