Skip to content

Commit ccbbd93

Browse files
fix: fixes spacing
1 parent 21815e8 commit ccbbd93

File tree

1 file changed

+56
-56
lines changed

1 file changed

+56
-56
lines changed

admin/partials/nginx-helper-general-options.php

Lines changed: 56 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -166,31 +166,31 @@
166166
<input type="radio" value="get_request" id="purge_method_get_request" name="purge_method" <?php checked( $nginx_helper_settings['purge_method'], 'get_request' ); ?>>
167167
&nbsp;
168168
<?php
169-
echo wp_kses(
170-
sprintf(
171-
'%1$s <strong>PURGE/url</strong> %2$s',
172-
esc_html__( 'Using a GET request to', 'nginx-helper' ),
173-
esc_html__( '(Default option)', 'nginx-helper' )
174-
),
175-
array( 'strong' => array() )
176-
);
169+
echo wp_kses(
170+
sprintf(
171+
'%1$s <strong>PURGE/url</strong> %2$s',
172+
esc_html__( 'Using a GET request to', 'nginx-helper' ),
173+
esc_html__( '(Default option)', 'nginx-helper' )
174+
),
175+
array( 'strong' => array() )
176+
);
177177
?>
178178
<br />
179179
<small>
180180
<?php
181-
echo wp_kses(
182-
sprintf(
183-
// translators: %s Nginx cache purge module link.
184-
__( 'Uses the %s module.', 'nginx-helper' ),
185-
'<strong><a href="https://github.com/FRiCKLE/ngx_cache_purge">ngx_cache_purge</a></strong>'
186-
),
187-
array(
188-
'strong' => array(),
189-
'a' => array(
190-
'href' => array(),
191-
),
192-
)
193-
);
181+
echo wp_kses(
182+
sprintf(
183+
// translators: %s Nginx cache purge module link.
184+
__( 'Uses the %s module.', 'nginx-helper' ),
185+
'<strong><a href="https://github.com/FRiCKLE/ngx_cache_purge">ngx_cache_purge</a></strong>'
186+
),
187+
array(
188+
'strong' => array(),
189+
'a' => array(
190+
'href' => array(),
191+
),
192+
)
193+
);
194194
?>
195195
</small>
196196
</label>
@@ -199,15 +199,15 @@
199199
<input type="radio" value="unlink_files" id="purge_method_unlink_files" name="purge_method" <?php checked( $nginx_helper_settings['purge_method'], 'unlink_files' ); ?>>
200200
&nbsp;
201201
<?php
202-
esc_html_e( 'Delete local server cache files', 'nginx-helper' );
202+
esc_html_e( 'Delete local server cache files', 'nginx-helper' );
203203
?>
204204
<br />
205205
<small>
206206
<?php
207-
echo wp_kses(
208-
__( 'Checks for matching cache file in <strong>RT_WP_NGINX_HELPER_CACHE_PATH</strong>. Does not require any other modules. Requires that the cache be stored on the same server as WordPress. You must also be using the default nginx cache options (levels=1:2) and (fastcgi_cache_key "$scheme$request_method$host$request_uri").', 'nginx-helper' ),
209-
array( 'strong' => array() )
210-
);
207+
echo wp_kses(
208+
__( 'Checks for matching cache file in <strong>RT_WP_NGINX_HELPER_CACHE_PATH</strong>. Does not require any other modules. Requires that the cache be stored on the same server as WordPress. You must also be using the default nginx cache options (levels=1:2) and (fastcgi_cache_key "$scheme$request_method$host$request_uri").', 'nginx-helper' ),
209+
array( 'strong' => array() )
210+
);
211211
?>
212212
</small>
213213
</label>
@@ -287,18 +287,18 @@
287287
<span>
288288
&nbsp;
289289
<?php
290-
esc_html_e( 'when a post/page/custom post is modified or added.', 'nginx-helper' );
290+
esc_html_e( 'when a post/page/custom post is modified or added.', 'nginx-helper' );
291291
?>
292292
</span>
293293
</legend>
294294
<label for="purge_homepage_on_edit">
295295
<input type="checkbox" value="1" id="purge_homepage_on_edit" name="purge_homepage_on_edit" <?php checked( $nginx_helper_settings['purge_homepage_on_edit'], 1 ); ?> />
296296
&nbsp;
297297
<?php
298-
echo wp_kses(
299-
__( 'when a <strong>post</strong> (or page/custom post) is <strong>modified</strong> or <strong>added</strong>.', 'nginx-helper' ),
300-
array( 'strong' => array() )
301-
);
298+
echo wp_kses(
299+
__( 'when a <strong>post</strong> (or page/custom post) is <strong>modified</strong> or <strong>added</strong>.', 'nginx-helper' ),
300+
array( 'strong' => array() )
301+
);
302302
?>
303303
</label>
304304
<br />
@@ -308,18 +308,18 @@
308308
<span>
309309
&nbsp;
310310
<?php
311-
esc_html_e( 'when an existing post/page/custom post is modified.', 'nginx-helper' );
311+
esc_html_e( 'when an existing post/page/custom post is modified.', 'nginx-helper' );
312312
?>
313313
</span>
314314
</legend>
315315
<label for="purge_homepage_on_del">
316316
<input type="checkbox" value="1" id="purge_homepage_on_del" name="purge_homepage_on_del" <?php checked( $nginx_helper_settings['purge_homepage_on_del'], 1 ); ?> />
317317
&nbsp;
318318
<?php
319-
echo wp_kses(
320-
__( 'when a <strong>published post</strong> (or page/custom post) is <strong>trashed</strong>', 'nginx-helper' ),
321-
array( 'strong' => array() )
322-
);
319+
echo wp_kses(
320+
__( 'when a <strong>published post</strong> (or page/custom post) is <strong>trashed</strong>', 'nginx-helper' ),
321+
array( 'strong' => array() )
322+
);
323323
?>
324324
</label>
325325
<br />
@@ -339,18 +339,18 @@
339339
<legend class="screen-reader-text">
340340
<span>&nbsp;
341341
<?php
342-
esc_html_e( 'when a post/page/custom post is published.', 'nginx-helper' );
342+
esc_html_e( 'when a post/page/custom post is published.', 'nginx-helper' );
343343
?>
344344
</span>
345345
</legend>
346346
<label for="purge_page_on_mod">
347347
<input type="checkbox" value="1" id="purge_page_on_mod" name="purge_page_on_mod" <?php checked( $nginx_helper_settings['purge_page_on_mod'], 1 ); ?>>
348348
&nbsp;
349349
<?php
350-
echo wp_kses(
351-
__( 'when a <strong>post</strong> is <strong>published</strong>.', 'nginx-helper' ),
352-
array( 'strong' => array() )
353-
);
350+
echo wp_kses(
351+
__( 'when a <strong>post</strong> is <strong>published</strong>.', 'nginx-helper' ),
352+
array( 'strong' => array() )
353+
);
354354
?>
355355
</label>
356356
<br />
@@ -360,18 +360,18 @@
360360
<span>
361361
&nbsp;
362362
<?php
363-
esc_html_e( 'when a comment is approved/published.', 'nginx-helper' );
363+
esc_html_e( 'when a comment is approved/published.', 'nginx-helper' );
364364
?>
365365
</span>
366366
</legend>
367367
<label for="purge_page_on_new_comment">
368368
<input type="checkbox" value="1" id="purge_page_on_new_comment" name="purge_page_on_new_comment" <?php checked( $nginx_helper_settings['purge_page_on_new_comment'], 1 ); ?>>
369369
&nbsp;
370370
<?php
371-
echo wp_kses(
372-
__( 'when a <strong>comment</strong> is <strong>approved/published</strong>.', 'nginx-helper' ),
373-
array( 'strong' => array() )
374-
);
371+
echo wp_kses(
372+
__( 'when a <strong>comment</strong> is <strong>approved/published</strong>.', 'nginx-helper' ),
373+
array( 'strong' => array() )
374+
);
375375
?>
376376
</label>
377377
<br />
@@ -381,18 +381,18 @@
381381
<span>
382382
&nbsp;
383383
<?php
384-
esc_html_e( 'when a comment is unapproved/deleted.', 'nginx-helper' );
384+
esc_html_e( 'when a comment is unapproved/deleted.', 'nginx-helper' );
385385
?>
386386
</span>
387387
</legend>
388388
<label for="purge_page_on_deleted_comment">
389389
<input type="checkbox" value="1" id="purge_page_on_deleted_comment" name="purge_page_on_deleted_comment" <?php checked( $nginx_helper_settings['purge_page_on_deleted_comment'], 1 ); ?>>
390390
&nbsp;
391391
<?php
392-
echo wp_kses(
393-
__( 'when a <strong>comment</strong> is <strong>unapproved/deleted</strong>.', 'nginx-helper' ),
394-
array( 'strong' => array() )
395-
);
392+
echo wp_kses(
393+
__( 'when a <strong>comment</strong> is <strong>unapproved/deleted</strong>.', 'nginx-helper' ),
394+
array( 'strong' => array() )
395+
);
396396
?>
397397
</label>
398398
<br />
@@ -510,18 +510,18 @@
510510
<span>
511511
&nbsp;
512512
<?php
513-
esc_html_e( 'purge feeds', 'nginx-helper' );
513+
esc_html_e( 'purge feeds', 'nginx-helper' );
514514
?>
515515
</span>
516516
</legend>
517517
<label for="purge_feeds">
518518
<input type="checkbox" value="1" id="purge_feeds" name="purge_feeds" <?php checked( $nginx_helper_settings['purge_feeds'], 1 ); ?> />
519519
&nbsp;
520520
<?php
521-
echo wp_kses(
522-
__( 'purge <strong>feeds</strong> along with <strong>posts</strong> & <strong>pages</strong>.', 'nginx-helper' ),
523-
array( 'strong' => array() )
524-
);
521+
echo wp_kses(
522+
__( 'purge <strong>feeds</strong> along with <strong>posts</strong> & <strong>pages</strong>.', 'nginx-helper' ),
523+
array( 'strong' => array() )
524+
);
525525
?>
526526
</label>
527527
<br />

0 commit comments

Comments
 (0)