From 1aba7c9d221a8b03202f6d2c7ef07e36b4bf68d2 Mon Sep 17 00:00:00 2001 From: Vedant Gandhi Date: Wed, 18 Dec 2024 16:26:25 +0530 Subject: [PATCH 1/9] doc: update the changelog for plugin. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 70de764e..d60379bd 100644 --- a/README.md +++ b/README.md @@ -139,6 +139,15 @@ Please post your problem in [our free support forum](https://github.com/rtCamp/n ## Changelog ## +### 2.3.0 ### + +* Disable the purge functionality when importing data. [#52](https://github.com/rtCamp/nginx-helper/pull/52) - by [Vedant Gandhi](https://github.com/Vedant-Gandhi) +* Added option to preload cache for all Post and Pages. [#47](https://github.com/rtCamp/nginx-helper/pull/47) - by [Vedant Gandhi](https://github.com/Vedant-Gandhi) +* Added the capability to purge Amp URL's. [#135](https://github.com/rtCamp/nginx-helper/pull/135) - by [Vedant Gandhi](https://github.com/Vedant-Gandhi) +* Add support for adding Username, Password support for Redis. It also includes the support for Unix Socket Path for Redis along with Database selection. [#343](https://github.com/rtCamp/nginx-helper/pull/343),[#350](https://github.com/rtCamp/nginx-helper/pull/350) - by [Vedant Gandhi](https://github.com/Vedant-Gandhi) +* Add capability to allow modifying options using WP-CLI. [#307](https://github.com/rtCamp/nginx-helper/pull/307) - by [Vedant Gandhi](https://github.com/Vedant-Gandhi) +* Fix the plugin crash issue due to internationalization after upgrading to WordPress Version 6.7. [#364](https://github.com/rtCamp/nginx-helper/pull/364) - by [Vedant Gandhi](https://github.com/Vedant-Gandhi) + ### 2.2.5 ### * Add the capability to enable/disable purging of feeds. [#281](https://github.com/rtCamp/nginx-helper/issues/281) - by [Amaan Khan](https://github.com/pathan-amaankhan) From d18f9040beacc5238efa81196d55e7e773fac314 Mon Sep 17 00:00:00 2001 From: Vedant Gandhi Date: Wed, 18 Dec 2024 16:31:02 +0530 Subject: [PATCH 2/9] doc: update readme.txt to include changelog. --- readme.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/readme.txt b/readme.txt index 6e4d290d..b604cdf5 100644 --- a/readme.txt +++ b/readme.txt @@ -127,6 +127,16 @@ Please post your problem in [our free support forum](https://github.com/rtCamp/n == Changelog == += 2.3.0 = + +* Disable the purge functionality when importing data. [#52](https://github.com/rtCamp/nginx-helper/pull/52) - by [Vedant Gandhi](https://github.com/Vedant-Gandhi) +* Added option to preload cache for all Post and Pages. [#47](https://github.com/rtCamp/nginx-helper/pull/47) - by [Vedant Gandhi](https://github.com/Vedant-Gandhi) +* Added the capability to purge Amp URL's. [#135](https://github.com/rtCamp/nginx-helper/pull/135) - by [Vedant Gandhi](https://github.com/Vedant-Gandhi) +* Add support for adding Username, Password support for Redis. It also includes the support for Unix Socket Path for Redis along with Database selection. [#343](https://github.com/rtCamp/nginx-helper/pull/343),[#350](https://github.com/rtCamp/nginx-helper/pull/350) - by [Vedant Gandhi](https://github.com/Vedant-Gandhi) +* Add capability to allow modifying options using WP-CLI. [#307](https://github.com/rtCamp/nginx-helper/pull/307) - by [Vedant Gandhi](https://github.com/Vedant-Gandhi) +* Fix the plugin crash issue due to internationalization after upgrading to WordPress Version 6.7. [#364](https://github.com/rtCamp/nginx-helper/pull/364) - by [Vedant Gandhi](https://github.com/Vedant-Gandhi) + + = 2.2.5 = * Add the capability to enable/disable purging of feeds. [#281](https://github.com/rtCamp/nginx-helper/issues/281) - by [Amaan Khan](https://github.com/pathan-amaankhan) * Fix undefined port error when Redis port is set to empty string. [#333](https://github.com/rtCamp/nginx-helper/issues/333) - by [Amaan Khan](https://github.com/pathan-amaankhan) From 62065a7eb2687f012b5f94e8e7a400da7e1f7f4c Mon Sep 17 00:00:00 2001 From: Vedant Gandhi Date: Wed, 18 Dec 2024 16:31:31 +0530 Subject: [PATCH 3/9] feat: bump plugin version in meta. --- nginx-helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx-helper.php b/nginx-helper.php index b51e3c98..1e42051a 100644 --- a/nginx-helper.php +++ b/nginx-helper.php @@ -3,7 +3,7 @@ * Plugin Name: Nginx Helper * Plugin URI: https://rtcamp.com/nginx-helper/ * Description: Cleans nginx's fastcgi/proxy cache or redis-cache whenever a post is edited/published. Also does few more things. - * Version: 2.2.5 + * Version: 2.3.0 * Author: rtCamp * Author URI: https://rtcamp.com * Text Domain: nginx-helper From 533cc22701c0e32a0378fe1eb5745f87ae33bb2b Mon Sep 17 00:00:00 2001 From: Vedant Gandhi Date: Wed, 18 Dec 2024 16:32:10 +0530 Subject: [PATCH 4/9] feat: bump the tested up to version. --- nginx-helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx-helper.php b/nginx-helper.php index 1e42051a..7c4d0225 100644 --- a/nginx-helper.php +++ b/nginx-helper.php @@ -9,7 +9,7 @@ * Text Domain: nginx-helper * Domain Path: /languages * Requires at least: 3.0 - * Tested up to: 6.4 + * Tested up to: 6.7 * * @link https://rtcamp.com/nginx-helper/ * @since 2.0.0 From e2509b434f352eb747ecb1e8ccf4fa33dd92d615 Mon Sep 17 00:00:00 2001 From: Vedant Gandhi Date: Thu, 19 Dec 2024 11:43:09 +0530 Subject: [PATCH 5/9] feat: add updated po file. --- languages/nginx-helper.po | 256 +++++++++++++++++++++++--------------- 1 file changed, 153 insertions(+), 103 deletions(-) diff --git a/languages/nginx-helper.po b/languages/nginx-helper.po index 313e246a..55fa766c 100644 --- a/languages/nginx-helper.po +++ b/languages/nginx-helper.po @@ -2,78 +2,87 @@ # This file is distributed under the same license as the Nginx Helper plugin. msgid "" msgstr "" -"Project-Id-Version: Nginx Helper 2.2.5\n" +"Project-Id-Version: Nginx Helper 2.3.0\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/nginx-helper\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2024-04-15T10:26:40+00:00\n" +"POT-Creation-Date: 2024-12-19T06:01:42+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"X-Generator: WP-CLI 2.9.0\n" +"X-Generator: WP-CLI 2.11.0\n" "X-Domain: nginx-helper\n" #. Plugin Name of the plugin -#: admin/class-nginx-helper-admin.php:177 -#: admin/class-nginx-helper-admin.php:178 -#: admin/class-nginx-helper-admin.php:188 -#: admin/class-nginx-helper-admin.php:189 +#: nginx-helper.php +#: admin/class-nginx-helper-admin.php:183 +#: admin/class-nginx-helper-admin.php:184 +#: admin/class-nginx-helper-admin.php:194 +#: admin/class-nginx-helper-admin.php:195 msgid "Nginx Helper" msgstr "" #. Plugin URI of the plugin +#: nginx-helper.php msgid "https://rtcamp.com/nginx-helper/" msgstr "" #. Description of the plugin +#: nginx-helper.php msgid "Cleans nginx's fastcgi/proxy cache or redis-cache whenever a post is edited/published. Also does few more things." msgstr "" #. Author of the plugin +#: nginx-helper.php msgid "rtCamp" msgstr "" #. Author URI of the plugin +#: nginx-helper.php msgid "https://rtcamp.com" msgstr "" -#: admin/class-nginx-helper-admin.php:88 +#: admin/class-nginx-helper-admin.php:97 msgid "General" msgstr "" -#: admin/class-nginx-helper-admin.php:92 +#: admin/class-nginx-helper-admin.php:101 msgid "Support" msgstr "" -#: admin/class-nginx-helper-admin.php:160 +#: admin/class-nginx-helper-admin.php:166 msgid "Purging entire cache is not recommended. Would you like to continue?" msgstr "" -#: admin/class-nginx-helper-admin.php:212 +#: admin/class-nginx-helper-admin.php:218 msgid "Purge Cache" msgstr "" -#: admin/class-nginx-helper-admin.php:215 +#: admin/class-nginx-helper-admin.php:221 msgid "Purge Current Page" msgstr "" -#: admin/class-nginx-helper-admin.php:342 +#: admin/class-nginx-helper-admin.php:387 msgid "Settings" msgstr "" -#: admin/class-nginx-helper-admin.php:426 +#: admin/class-nginx-helper-admin.php:471 msgid "No items" msgstr "" -#: admin/class-nginx-helper-admin.php:437 +#: admin/class-nginx-helper-admin.php:482 msgid "Posted " msgstr "" -#: admin/class-nginx-helper-admin.php:776 +#: admin/class-nginx-helper-admin.php:825 msgid "Purge initiated" msgstr "" +#: admin/class-nginx-helper-admin.php:907 +msgid "Failed to parse the sitemap XML" +msgstr "" + #: admin/class-purger.php:691 msgid "Purging homepage (WPML) " msgstr "" @@ -236,322 +245,363 @@ msgstr "" msgid "Nginx Settings" msgstr "" -#: admin/partials/nginx-helper-general-options.php:82 +#: admin/partials/nginx-helper-general-options.php:90 msgid "Log file size must be a number." msgstr "" -#: admin/partials/nginx-helper-general-options.php:92 +#: admin/partials/nginx-helper-general-options.php:100 msgid "Settings saved." msgstr "" -#: admin/partials/nginx-helper-general-options.php:119 +#: admin/partials/nginx-helper-general-options.php:127 msgid "Purging Options" msgstr "" -#: admin/partials/nginx-helper-general-options.php:126 +#: admin/partials/nginx-helper-general-options.php:134 msgid "Enable Purge" msgstr "" -#: admin/partials/nginx-helper-general-options.php:136 +#: admin/partials/nginx-helper-general-options.php:140 +msgid "Preload Cache" +msgstr "" + +#: admin/partials/nginx-helper-general-options.php:150 msgid "Caching Method" msgstr "" -#: admin/partials/nginx-helper-general-options.php:148 +#: admin/partials/nginx-helper-general-options.php:162 msgid "nginx Fastcgi cache" msgstr "" -#: admin/partials/nginx-helper-general-options.php:150 +#: admin/partials/nginx-helper-general-options.php:164 msgid "External settings for nginx" msgstr "" -#: admin/partials/nginx-helper-general-options.php:151 +#: admin/partials/nginx-helper-general-options.php:165 msgid "requires external settings for nginx" msgstr "" -#: admin/partials/nginx-helper-general-options.php:161 +#: admin/partials/nginx-helper-general-options.php:175 msgid "Redis cache" msgstr "" -#: admin/partials/nginx-helper-general-options.php:171 +#: admin/partials/nginx-helper-general-options.php:185 msgid "Purge Method" msgstr "" -#: admin/partials/nginx-helper-general-options.php:181 -#: admin/partials/nginx-helper-general-options.php:361 +#: admin/partials/nginx-helper-general-options.php:195 +#: admin/partials/nginx-helper-general-options.php:455 msgid "when a post/page/custom post is published." msgstr "" -#: admin/partials/nginx-helper-general-options.php:191 +#: admin/partials/nginx-helper-general-options.php:205 msgid "Using a GET request to" msgstr "" -#: admin/partials/nginx-helper-general-options.php:192 +#: admin/partials/nginx-helper-general-options.php:206 msgid "(Default option)" msgstr "" #. translators: %s Nginx cache purge module link. -#: admin/partials/nginx-helper-general-options.php:203 +#: admin/partials/nginx-helper-general-options.php:217 msgid "Uses the %s module." msgstr "" -#: admin/partials/nginx-helper-general-options.php:221 +#: admin/partials/nginx-helper-general-options.php:235 msgid "Delete local server cache files" msgstr "" -#: admin/partials/nginx-helper-general-options.php:227 +#: admin/partials/nginx-helper-general-options.php:241 msgid "Checks for matching cache file in RT_WP_NGINX_HELPER_CACHE_PATH. 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\")." msgstr "" -#: admin/partials/nginx-helper-general-options.php:242 +#: admin/partials/nginx-helper-general-options.php:256 msgid "Redis Settings" msgstr "" -#: admin/partials/nginx-helper-general-options.php:247 +#: admin/partials/nginx-helper-general-options.php:261 msgid "Hostname" msgstr "" -#: admin/partials/nginx-helper-general-options.php:254 -#: admin/partials/nginx-helper-general-options.php:269 -#: admin/partials/nginx-helper-general-options.php:284 +#: admin/partials/nginx-helper-general-options.php:268 +#: admin/partials/nginx-helper-general-options.php:290 +#: admin/partials/nginx-helper-general-options.php:314 +#: admin/partials/nginx-helper-general-options.php:329 +#: admin/partials/nginx-helper-general-options.php:344 +#: admin/partials/nginx-helper-general-options.php:360 +#: admin/partials/nginx-helper-general-options.php:378 msgid "Overridden by constant variables." msgstr "" -#: admin/partials/nginx-helper-general-options.php:262 +#: admin/partials/nginx-helper-general-options.php:276 +#: admin/partials/nginx-helper-general-options.php:299 +msgid "Overridden by unix socket path." +msgstr "" + +#: admin/partials/nginx-helper-general-options.php:283 msgid "Port" msgstr "" -#: admin/partials/nginx-helper-general-options.php:277 +#: admin/partials/nginx-helper-general-options.php:307 +msgid "Socket Path" +msgstr "" + +#: admin/partials/nginx-helper-general-options.php:322 msgid "Prefix" msgstr "" -#: admin/partials/nginx-helper-general-options.php:297 +#: admin/partials/nginx-helper-general-options.php:337 +msgid "Database" +msgstr "" + +#: admin/partials/nginx-helper-general-options.php:353 +msgid "Username" +msgstr "" + +#: admin/partials/nginx-helper-general-options.php:369 +msgid "Password" +msgstr "" + +#: admin/partials/nginx-helper-general-options.php:391 msgid "Purging Conditions" msgstr "" -#: admin/partials/nginx-helper-general-options.php:302 +#: admin/partials/nginx-helper-general-options.php:396 msgid "Purge Homepage:" msgstr "" -#: admin/partials/nginx-helper-general-options.php:309 +#: admin/partials/nginx-helper-general-options.php:403 msgid "when a post/page/custom post is modified or added." msgstr "" -#: admin/partials/nginx-helper-general-options.php:318 -#: admin/partials/nginx-helper-general-options.php:445 +#: admin/partials/nginx-helper-general-options.php:412 +#: admin/partials/nginx-helper-general-options.php:539 msgid "when a post (or page/custom post) is modified or added." msgstr "" -#: admin/partials/nginx-helper-general-options.php:330 +#: admin/partials/nginx-helper-general-options.php:424 msgid "when an existing post/page/custom post is modified." msgstr "" -#: admin/partials/nginx-helper-general-options.php:339 +#: admin/partials/nginx-helper-general-options.php:433 msgid "when a published post (or page/custom post) is trashed" msgstr "" -#: admin/partials/nginx-helper-general-options.php:353 +#: admin/partials/nginx-helper-general-options.php:447 msgid "Purge Post/Page/Custom Post Type:" msgstr "" -#: admin/partials/nginx-helper-general-options.php:370 +#: admin/partials/nginx-helper-general-options.php:464 msgid "when a post is published." msgstr "" -#: admin/partials/nginx-helper-general-options.php:382 -#: admin/partials/nginx-helper-general-options.php:479 +#: admin/partials/nginx-helper-general-options.php:476 +#: admin/partials/nginx-helper-general-options.php:573 msgid "when a comment is approved/published." msgstr "" -#: admin/partials/nginx-helper-general-options.php:391 -#: admin/partials/nginx-helper-general-options.php:488 +#: admin/partials/nginx-helper-general-options.php:485 +#: admin/partials/nginx-helper-general-options.php:582 msgid "when a comment is approved/published." msgstr "" -#: admin/partials/nginx-helper-general-options.php:403 -#: admin/partials/nginx-helper-general-options.php:500 +#: admin/partials/nginx-helper-general-options.php:497 +#: admin/partials/nginx-helper-general-options.php:594 msgid "when a comment is unapproved/deleted." msgstr "" -#: admin/partials/nginx-helper-general-options.php:412 -#: admin/partials/nginx-helper-general-options.php:509 +#: admin/partials/nginx-helper-general-options.php:506 +#: admin/partials/nginx-helper-general-options.php:603 msgid "when a comment is unapproved/deleted." msgstr "" -#: admin/partials/nginx-helper-general-options.php:426 +#: admin/partials/nginx-helper-general-options.php:520 msgid "Purge Archives:" msgstr "" -#: admin/partials/nginx-helper-general-options.php:428 +#: admin/partials/nginx-helper-general-options.php:522 msgid "(date, category, tag, author, custom taxonomies)" msgstr "" -#: admin/partials/nginx-helper-general-options.php:436 +#: admin/partials/nginx-helper-general-options.php:530 msgid "when an post/page/custom post is modified or added" msgstr "" -#: admin/partials/nginx-helper-general-options.php:457 +#: admin/partials/nginx-helper-general-options.php:551 msgid "when an existing post/page/custom post is trashed." msgstr "" -#: admin/partials/nginx-helper-general-options.php:466 +#: admin/partials/nginx-helper-general-options.php:560 msgid "when a published post (or page/custom post) is trashed." msgstr "" -#: admin/partials/nginx-helper-general-options.php:523 +#: admin/partials/nginx-helper-general-options.php:617 msgid "Purge Feeds:" msgstr "" -#: admin/partials/nginx-helper-general-options.php:532 +#: admin/partials/nginx-helper-general-options.php:626 msgid "purge feeds" msgstr "" -#: admin/partials/nginx-helper-general-options.php:541 +#: admin/partials/nginx-helper-general-options.php:635 msgid "purge feeds along with posts & pages." msgstr "" -#: admin/partials/nginx-helper-general-options.php:554 +#: admin/partials/nginx-helper-general-options.php:649 +msgid "Purge AMP URL:" +msgstr "" + +#: admin/partials/nginx-helper-general-options.php:658 +msgid "purge amp urls" +msgstr "" + +#: admin/partials/nginx-helper-general-options.php:667 +msgid "purge amp urls along with posts & pages." +msgstr "" + +#: admin/partials/nginx-helper-general-options.php:680 msgid "Custom Purge URL:" msgstr "" -#: admin/partials/nginx-helper-general-options.php:560 +#: admin/partials/nginx-helper-general-options.php:686 msgid "Add one URL per line. URL should not contain domain name." msgstr "" -#: admin/partials/nginx-helper-general-options.php:563 +#: admin/partials/nginx-helper-general-options.php:689 msgid "Eg: To purge http://example.com/sample-page/ add /sample-page/ in above textarea." msgstr "" -#: admin/partials/nginx-helper-general-options.php:567 +#: admin/partials/nginx-helper-general-options.php:693 msgid "'*' will only work with redis cache server." msgstr "" -#: admin/partials/nginx-helper-general-options.php:577 +#: admin/partials/nginx-helper-general-options.php:703 msgid "Debug Options" msgstr "" -#: admin/partials/nginx-helper-general-options.php:587 +#: admin/partials/nginx-helper-general-options.php:713 msgid "Enable Nginx Map." msgstr "" -#: admin/partials/nginx-helper-general-options.php:606 +#: admin/partials/nginx-helper-general-options.php:732 msgid "Enable Logging" msgstr "" -#: admin/partials/nginx-helper-general-options.php:611 +#: admin/partials/nginx-helper-general-options.php:737 msgid "disable" msgstr "" -#: admin/partials/nginx-helper-general-options.php:617 +#: admin/partials/nginx-helper-general-options.php:743 msgid "enable" msgstr "" -#: admin/partials/nginx-helper-general-options.php:624 +#: admin/partials/nginx-helper-general-options.php:750 msgid "NOTE" msgstr "" -#: admin/partials/nginx-helper-general-options.php:625 +#: admin/partials/nginx-helper-general-options.php:751 msgid "To" msgstr "" -#: admin/partials/nginx-helper-general-options.php:627 +#: admin/partials/nginx-helper-general-options.php:753 msgid "the logging feature, you must define" msgstr "" -#: admin/partials/nginx-helper-general-options.php:628 +#: admin/partials/nginx-helper-general-options.php:754 msgid "as" msgstr "" -#: admin/partials/nginx-helper-general-options.php:630 +#: admin/partials/nginx-helper-general-options.php:756 msgid "in your" msgstr "" -#: admin/partials/nginx-helper-general-options.php:641 +#: admin/partials/nginx-helper-general-options.php:767 msgid "Enable Nginx Timestamp in HTML" msgstr "" -#: admin/partials/nginx-helper-general-options.php:655 +#: admin/partials/nginx-helper-general-options.php:781 msgid "Nginx Map" msgstr "" -#: admin/partials/nginx-helper-general-options.php:664 +#: admin/partials/nginx-helper-general-options.php:790 msgid "Can't write on map file." msgstr "" #. translators: %s file url. -#: admin/partials/nginx-helper-general-options.php:669 -#: admin/partials/nginx-helper-general-options.php:741 +#: admin/partials/nginx-helper-general-options.php:795 +#: admin/partials/nginx-helper-general-options.php:867 msgid "Check you have write permission on %s" msgstr "" -#: admin/partials/nginx-helper-general-options.php:686 +#: admin/partials/nginx-helper-general-options.php:812 msgid "Nginx Map path to include in nginx settings" msgstr "" -#: admin/partials/nginx-helper-general-options.php:687 +#: admin/partials/nginx-helper-general-options.php:813 msgid "(recommended)" msgstr "" -#: admin/partials/nginx-helper-general-options.php:700 +#: admin/partials/nginx-helper-general-options.php:826 msgid "Or," msgstr "" -#: admin/partials/nginx-helper-general-options.php:701 +#: admin/partials/nginx-helper-general-options.php:827 msgid "Text to manually copy and paste in nginx settings" msgstr "" -#: admin/partials/nginx-helper-general-options.php:702 +#: admin/partials/nginx-helper-general-options.php:828 msgid "(if your network is small and new sites are not added frequently)" msgstr "" -#: admin/partials/nginx-helper-general-options.php:720 +#: admin/partials/nginx-helper-general-options.php:846 msgid "Logging Options" msgstr "" -#: admin/partials/nginx-helper-general-options.php:736 +#: admin/partials/nginx-helper-general-options.php:862 msgid "Can't write on log file." msgstr "" -#: admin/partials/nginx-helper-general-options.php:758 +#: admin/partials/nginx-helper-general-options.php:884 msgid "Logs path" msgstr "" -#: admin/partials/nginx-helper-general-options.php:770 +#: admin/partials/nginx-helper-general-options.php:896 msgid "View Log" msgstr "" -#: admin/partials/nginx-helper-general-options.php:775 +#: admin/partials/nginx-helper-general-options.php:901 msgid "Log" msgstr "" -#: admin/partials/nginx-helper-general-options.php:782 +#: admin/partials/nginx-helper-general-options.php:908 msgid "Log level" msgstr "" -#: admin/partials/nginx-helper-general-options.php:787 +#: admin/partials/nginx-helper-general-options.php:913 msgid "None" msgstr "" -#: admin/partials/nginx-helper-general-options.php:788 +#: admin/partials/nginx-helper-general-options.php:914 msgid "Info" msgstr "" -#: admin/partials/nginx-helper-general-options.php:789 +#: admin/partials/nginx-helper-general-options.php:915 msgid "Warning" msgstr "" -#: admin/partials/nginx-helper-general-options.php:790 +#: admin/partials/nginx-helper-general-options.php:916 msgid "Error" msgstr "" -#: admin/partials/nginx-helper-general-options.php:797 +#: admin/partials/nginx-helper-general-options.php:923 msgid "Max log file size" msgstr "" -#: admin/partials/nginx-helper-general-options.php:803 +#: admin/partials/nginx-helper-general-options.php:929 msgid "Mb" msgstr "" -#: admin/partials/nginx-helper-general-options.php:820 +#: admin/partials/nginx-helper-general-options.php:946 msgid "Save All Changes" msgstr "" @@ -653,6 +703,6 @@ msgid "Sorry, you need to be an administrator to use Nginx Helper" msgstr "" #. translators: %s is Minimum WP version. -#: includes/class-nginx-helper.php:311 +#: includes/class-nginx-helper.php:314 msgid "Sorry, Nginx Helper requires WordPress %s or higher" msgstr "" From 8efbdce8d0972927e0516ecc8b5119b6c5f7a58c Mon Sep 17 00:00:00 2001 From: Vedant Gandhi Date: Thu, 19 Dec 2024 11:43:52 +0530 Subject: [PATCH 6/9] feat: add mo file --- languages/nginx-helper.mo | Bin 471 -> 472 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/languages/nginx-helper.mo b/languages/nginx-helper.mo index 9731e2429ca2b94ce557d88369b278243394c1af..d270649806b16b5fa8416aade094d6cf4c287b4f 100644 GIT binary patch delta 45 zcmcc4e1my{3gfDYs@lxPdIlSVxfuBjjdTqyLk!HU3=FMIj3#F@1~3^KPTs>P4FDd! B3$y?L delta 44 zcmcb?e4TlM3ggO&s@lv(dZrtLxfuBjOmq!RLktb9jLfV|3?^qY1~6Jq-peQr02Am7 AivR!s From a5f7dc15bfd0c28f10cf5b23425f2c1aeb5dfecc Mon Sep 17 00:00:00 2001 From: Vedant Gandhi Date: Thu, 19 Dec 2024 11:48:39 +0530 Subject: [PATCH 7/9] feat: update the version in nginx helper. --- includes/class-nginx-helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-nginx-helper.php b/includes/class-nginx-helper.php index 2922cd41..da16232a 100644 --- a/includes/class-nginx-helper.php +++ b/includes/class-nginx-helper.php @@ -77,7 +77,7 @@ class Nginx_Helper { public function __construct() { $this->plugin_name = 'nginx-helper'; - $this->version = '2.2.5'; + $this->version = '2.3.0'; $this->minimum_wp = '3.0'; if ( ! $this->required_wp_version() ) { From 9f0ac62ea83c82d4da4e7d754957cba11e7cb8de Mon Sep 17 00:00:00 2001 From: Vedant Gandhi Date: Thu, 19 Dec 2024 20:31:57 +0530 Subject: [PATCH 8/9] feat: update the stable tag. --- README.md | 4 ++-- readme.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d60379bd..f098eced 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,9 @@ **Requires at least:** 3.0 -**Tested up to:** 6.1 +**Tested up to:** 6.7 -**Stable tag:** 2.2.5 +**Stable tag:** 2.3.0 **License:** GPLv2 or later (of-course) diff --git a/readme.txt b/readme.txt index b604cdf5..8bb4de5b 100644 --- a/readme.txt +++ b/readme.txt @@ -6,7 +6,7 @@ License: GPLv2 or later (of-course) License URI: http://www.gnu.org/licenses/gpl-2.0.html Requires at least: 3.0 Tested up to: 6.1 -Stable tag: 2.2.5 +Stable tag: 2.3.0 Cleans nginx's fastcgi/proxy cache or redis-cache whenever a post is edited/published. Also does a few more things. From 5af707882ece38b7248130fcfd10c742ee2cbb3f Mon Sep 17 00:00:00 2001 From: Vedant Gandhi Date: Thu, 19 Dec 2024 23:35:19 +0530 Subject: [PATCH 9/9] feat: updated tested upto in readme.txt --- readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index 8bb4de5b..da2655f7 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: nginx, cache, purge, nginx map, nginx cache, maps, fastcgi, proxy, redis, License: GPLv2 or later (of-course) License URI: http://www.gnu.org/licenses/gpl-2.0.html Requires at least: 3.0 -Tested up to: 6.1 +Tested up to: 6.7 Stable tag: 2.3.0 Cleans nginx's fastcgi/proxy cache or redis-cache whenever a post is edited/published. Also does a few more things.