diff --git a/README.md b/README.md
index 73e58a2b..83143561 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# Nginx Helper #
[](https://www.repostatus.org/#active)
-**Contributors:** rtcamp, rahul286, saurabhshukla, manishsongirkar36, faishal, desaiuditd, darren-slatten, jk3us, daankortenbach, telofy, pjv, llonchj, jinnko, weskoop, bcole808, gungeekatx, rohanveer, chandrapatel, gagan0123, ravanh, michaelbeil, samedwards, niwreg, entr, nuvoPoint, iam404, rittesh.patel, vishalkakadiya, BhargavBhandari90, bryant1410, 1gor, matt-h, dotsam, nathanielks, rigagoogoo, dslatten, jinschoi, kelin1003, vaishuagola27, rahulsprajapati, utkarshpatel, gsayed786, shashwatmittal, sudhiryadav, thrijith, stayallive, jaredwsmith, abhijitrakas, umeshnevase, sid177, souptik, arafatkn, subscriptiongroup, akrocks, vedantgandhi28, GridPane, stefanfisk, SGr33n
+**Contributors:** rtcamp, rahul286, saurabhshukla, manishsongirkar36, faishal, desaiuditd, darren-slatten, jk3us, daankortenbach, telofy, pjv, llonchj, jinnko, weskoop, bcole808, gungeekatx, rohanveer, chandrapatel, gagan0123, ravanh, michaelbeil, samedwards, niwreg, entr, nuvoPoint, iam404, rittesh.patel, vishalkakadiya, BhargavBhandari90, bryant1410, 1gor, matt-h, dotsam, nathanielks, rigagoogoo, dslatten, jinschoi, kelin1003, vaishuagola27, rahulsprajapati, utkarshpatel, gsayed786, shashwatmittal, sudhiryadav, thrijith, stayallive, jaredwsmith, abhijitrakas, umeshnevase, sid177, souptik, arafatkn, subscriptiongroup, akrocks, vedantgandhi28, GridPane, stefanfisk, SGr33n, agvs
**Tags:** nginx, cache-purge, fastcgi, permalinks, redis-cache
@@ -99,6 +99,10 @@ To purge a page immediately, follow these instructions:
* Just open this in a browser and the page will be purged instantly.
* Needless to say, this won't work, if you have a page or taxonomy called 'purge'.
+**Q. Does it need any kind of URL structure?**
+
+Yes. When setting the URL structure in Nginx configuration file a trailing slash should always be added.
+
### FAQ - Nginx Redis Cache ###
**Q. Can I override the redis hostname, port and prefix?**
diff --git a/admin/class-nginx-helper-admin.php b/admin/class-nginx-helper-admin.php
index b4257579..05d206fe 100644
--- a/admin/class-nginx-helper-admin.php
+++ b/admin/class-nginx-helper-admin.php
@@ -474,16 +474,22 @@ public function nginx_helper_get_feeds() {
// Loop through each feed item and display each item as a hyperlink.
foreach ( $rss_items as $item ) {
?>
-
- %s',
- esc_url( $item->get_permalink() ),
- esc_attr__( 'Posted ', 'nginx-helper' ) . esc_attr( $item->get_date( 'j F Y | g:i a' ) ),
- esc_html( $item->get_title() )
- );
- ?>
-
+
+ %s',
+ esc_url( $item->get_permalink() ),
+ esc_attr(
+ sprintf(
+ /* translators: %s: date/time the feed item as been posted */
+ __( 'Posted %s', 'nginx-helper' ),
+ $item->get_date( 'j F Y | g:i a' )
+ )
+ ),
+ esc_html( $item->get_title() )
+ );
+ ?>
+
log( sprintf( __( 'Purging homepage (WPML) ', 'nginx-helper' ) . '%s', $homepage_url ) );
+ $this->log(
+ sprintf(
+ /* translators: %s homepage URL */
+ __( 'Purging homepage (WPML) %s', 'nginx-helper' ),
+ $homepage_url
+ )
+ );
} else {
$homepage_url = trailingslashit( home_url() );
- $this->log( sprintf( __( 'Purging homepage ', 'nginx-helper' ) . '%s', $homepage_url ) );
+ $this->log(
+ sprintf(
+ /* translators: %s homepage URL */
+ __( 'Purging homepage %s', 'nginx-helper' ),
+ $homepage_url
+ )
+ );
}
diff --git a/admin/partials/nginx-helper-general-options.php b/admin/partials/nginx-helper-general-options.php
index 82a6c668..38ae89d9 100644
--- a/admin/partials/nginx-helper-general-options.php
+++ b/admin/partials/nginx-helper-general-options.php
@@ -746,14 +746,15 @@
}
printf(
- '(%1$s: %2$s %3$s %4$s NGINX_HELPER_LOG constant %5$s %6$s %7$s wp-config.php)
',
- esc_html__( 'NOTE', 'nginx-helper' ),
- esc_html__( 'To', 'nginx-helper' ),
- esc_html( $setting_message_detail['status'] ),
- esc_html__( 'the logging feature, you must define', 'nginx-helper' ),
- esc_html__( 'as', 'nginx-helper' ),
- esc_html( $setting_message_detail['value'] ),
- esc_html__( 'in your', 'nginx-helper' )
+ '(%s)
',
+ sprintf(
+ wp_kses_post(
+ /* translators: %1$s: status to change to (enable or disable), %2$s: bool value to set the NGINX_HELPER_LOG as (true or false) */
+ __( 'NOTE: To %1$s the logging feature, you must define the NGINX_HELPER_LOG constant as %2$s in your wp-config.php file', 'nginx-helper' )
+ ),
+ esc_html( $setting_message_detail['status'] ),
+ esc_html( $setting_message_detail['value'] )
+ )
);
}
?>
diff --git a/readme.txt b/readme.txt
index d3b41976..b905cfa2 100644
--- a/readme.txt
+++ b/readme.txt
@@ -1,5 +1,5 @@
=== Nginx Helper ===
-Contributors: rtcamp, rahul286, saurabhshukla, manishsongirkar36, faishal, desaiuditd, darren-slatten, jk3us, daankortenbach, telofy, pjv, llonchj, jinnko, weskoop, bcole808, gungeekatx, rohanveer, chandrapatel, gagan0123, ravanh, michaelbeil, samedwards, niwreg, entr, nuvoPoint, iam404, rittesh.patel, vishalkakadiya, BhargavBhandari90, bryant1410, 1gor, matt-h, dotsam, nathanielks, rigagoogoo, dslatten, jinschoi, kelin1003, vaishuagola27, rahulsprajapati, utkarshpatel, gsayed786, shashwatmittal, sudhiryadav, thrijith, stayallive, jaredwsmith, abhijitrakas, umeshnevase, sid177, souptik, arafatkn, subscriptiongroup, akrocks, vedantgandhi28, GridPane
+Contributors: rtcamp, rahul286, saurabhshukla, manishsongirkar36, faishal, desaiuditd, darren-slatten, jk3us, daankortenbach, telofy, pjv, llonchj, jinnko, weskoop, bcole808, gungeekatx, rohanveer, chandrapatel, gagan0123, ravanh, michaelbeil, samedwards, niwreg, entr, nuvoPoint, iam404, rittesh.patel, vishalkakadiya, BhargavBhandari90, bryant1410, 1gor, matt-h, dotsam, nathanielks, rigagoogoo, dslatten, jinschoi, kelin1003, vaishuagola27, rahulsprajapati, utkarshpatel, gsayed786, shashwatmittal, sudhiryadav, thrijith, stayallive, jaredwsmith, abhijitrakas, umeshnevase, sid177, souptik, arafatkn, subscriptiongroup, akrocks, vedantgandhi28, GridPane, agvs
Unlinked Contributors: stefanfisk,SGr33n
Donate Link: http://rt.cx/eedonate/
Tags: nginx, cache-purge, fastcgi, permalinks, redis-cache
@@ -93,6 +93,10 @@ To purge a page immediately, follow these instructions:
* Just open this in a browser and the page will be purged instantly.
* Needless to say, this won't work, if you have a page or taxonomy called 'purge'.
+**Q. Does it need any kind of URL structure?**
+
+Yes. When setting the URL structure in Nginx configuration file a trailing slash should always be added.
+
= FAQ - Nginx Redis Cache =
**Q. Can I override the redis hostname, port and prefix?**