From 2adc4c03a5e59100f6cc6b686fe9b5d645d126bc Mon Sep 17 00:00:00 2001 From: Felipe Elia Date: Tue, 11 Jun 2024 15:02:23 -0300 Subject: [PATCH 1/3] Bump ElasticPress version --- elasticpress.php | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- readme.txt | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/elasticpress.php b/elasticpress.php index c4a0f8e27..4477e020a 100644 --- a/elasticpress.php +++ b/elasticpress.php @@ -3,7 +3,7 @@ * Plugin Name: ElasticPress * Plugin URI: https://github.com/10up/ElasticPress * Description: A fast and flexible search and query engine for WordPress. - * Version: 5.1.2 + * Version: 5.1.3 * Requires at least: 6.0 * Requires PHP: 7.4 * Author: 10up @@ -32,7 +32,7 @@ define( 'EP_URL', plugin_dir_url( __FILE__ ) ); define( 'EP_PATH', plugin_dir_path( __FILE__ ) ); define( 'EP_FILE', plugin_basename( __FILE__ ) ); -define( 'EP_VERSION', '5.1.2' ); +define( 'EP_VERSION', '5.1.3' ); define( 'EP_PHP_VERSION_MIN', '7.4' ); diff --git a/package-lock.json b/package-lock.json index ca17aaa2b..4689b1f8e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "elasticpress", - "version": "5.1.2", + "version": "5.1.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "elasticpress", - "version": "5.1.2", + "version": "5.1.3", "license": "GPL-2.0-or-later", "dependencies": { "@10up/component-tooltip": "^2.0.0", diff --git a/package.json b/package.json index aa23fe3b9..3177d33aa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "elasticpress", - "version": "5.1.2", + "version": "5.1.3", "license": "GPL-2.0-or-later", "description": "A fast and flexible search and query engine for WordPress.", "devDependencies": { diff --git a/readme.txt b/readme.txt index 448c1538e..9ac8c772d 100644 --- a/readme.txt +++ b/readme.txt @@ -2,7 +2,7 @@ Contributors: 10up, tlovett1, vhauri, tott, felipeelia, oscarssanchez, cmmarslender Tags: performance, search, elasticsearch, fuzzy, related posts Tested up to: 6.5 -Stable tag: 5.1.2 +Stable tag: 5.1.3 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html From 209ea6612668c490b3717a657de95f382297ea6c Mon Sep 17 00:00:00 2001 From: Felipe Elia Date: Tue, 11 Jun 2024 15:04:26 -0300 Subject: [PATCH 2/3] 5.1.3 changelog --- CHANGELOG.md | 6 ++++++ readme.txt | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d317d531e..4d366a4b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,11 @@ All notable changes to this project will be documented in this file, per [the Ke ### Security --> +## [5.1.3] - 2024-06-11 + +### Fixed +* Missing nonces on some sync trigger URLs, making them require a manual interaction from the user. Props [@felipeelia](https://github.com/felipeelia) via [#3933](https://github.com/10up/ElasticPress/pull/3933). + ## [5.1.2] - 2024-06-11 **This is a security release affecting all previous versions of ElasticPress.** @@ -2123,6 +2128,7 @@ This is a bug fix release with some filter additions. - Initial plugin release [Unreleased]: https://github.com/10up/ElasticPress/compare/trunk...develop +[5.1.3]: https://github.com/10up/ElasticPress/compare/5.1.2...5.1.3 [5.1.2]: https://github.com/10up/ElasticPress/compare/5.1.1...5.1.2 [5.1.1]: https://github.com/10up/ElasticPress/compare/5.1.0...5.1.1 [5.1.0]: https://github.com/10up/ElasticPress/compare/5.0.2...5.1.0 diff --git a/readme.txt b/readme.txt index 9ac8c772d..9e1e80a16 100644 --- a/readme.txt +++ b/readme.txt @@ -79,6 +79,12 @@ For sure! Feel free to submit ideas or feedback in general to our [GitHub repo]( == Changelog == += 5.1.3 - 2024-06-11 = + +__Fixed:__ + +* Missing nonces on some sync trigger URLs, making them require a manual interaction from the user. Props [@felipeelia](https://github.com/felipeelia). + = 5.1.2 - 2024-06-11 = **This is a security release affecting all previous versions of ElasticPress.** From 00537a871622c24367d9e3a4c9a400f01a6f87b6 Mon Sep 17 00:00:00 2001 From: Felipe Elia Date: Tue, 11 Jun 2024 15:05:21 -0300 Subject: [PATCH 3/3] Update .pot file --- lang/elasticpress.pot | 50 +++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/lang/elasticpress.pot b/lang/elasticpress.pot index 2edd6225b..1d839f4ef 100644 --- a/lang/elasticpress.pot +++ b/lang/elasticpress.pot @@ -2,14 +2,14 @@ # This file is distributed under the GPL v2 or later. msgid "" msgstr "" -"Project-Id-Version: ElasticPress 5.1.2\n" +"Project-Id-Version: ElasticPress 5.1.3\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/elasticpress\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-06-11T12:43:16+00:00\n" +"POT-Creation-Date: 2024-06-11T18:04:45+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.8.1\n" "X-Domain: elasticpress\n" @@ -46,94 +46,94 @@ msgid "Autosuggest feature is enabled. If documents feature is enabled, your med msgstr "" #. translators: Feature name -#: includes/classes/AdminNotices.php:189 +#: includes/classes/AdminNotices.php:185 msgid "Dashboard sync is disabled. The ElasticPress %s feature has been auto-activated! You will need to reindex using WP-CLI for it to work." msgstr "" #. translators: 1. Feature name; 2: Sync page URL -#: includes/classes/AdminNotices.php:195 +#: includes/classes/AdminNotices.php:191 msgid "The ElasticPress %1$s feature has been auto-activated! You will need to run a sync for it to work." msgstr "" -#: includes/classes/AdminNotices.php:260 +#: includes/classes/AdminNotices.php:252 msgid "Dashboard sync is disabled. The new version of ElasticPress requires that you delete all data and start a fresh sync using WP-CLI." msgstr "" #. translators: Sync Page URL -#: includes/classes/AdminNotices.php:264 +#: includes/classes/AdminNotices.php:256 msgid "The new version of ElasticPress requires that you delete all data and start a fresh sync." msgstr "" -#: includes/classes/AdminNotices.php:269 +#: includes/classes/AdminNotices.php:261 msgid "Please note that some ElasticPress functionality may be impaired and/or content may not be searchable until the full sync has been performed." msgstr "" -#: includes/classes/AdminNotices.php:324 +#: includes/classes/AdminNotices.php:316 msgid "Dashboard sync is disabled, but ElasticPress is almost ready to go. Trigger a sync from WP-CLI." msgstr "" #. translators: Sync Page URL -#: includes/classes/AdminNotices.php:328 +#: includes/classes/AdminNotices.php:320 msgid "ElasticPress is almost ready to go. You just need to sync your content." msgstr "" #. translators: Sync Page URL -#: includes/classes/AdminNotices.php:380 +#: includes/classes/AdminNotices.php:372 msgid "ElasticPress is almost ready to go. You just need to enter your settings." msgstr "" #. translators: 1. Current Elasticsearch version; 2. Minimum required ES version -#: includes/classes/AdminNotices.php:437 +#: includes/classes/AdminNotices.php:429 msgid "Your Elasticsearch version %1$s is below the minimum required Elasticsearch version %2$s. ElasticPress may or may not work properly." msgstr "" #. translators: 1. Current Elasticsearch version; 2. Maximum supported ES version -#: includes/classes/AdminNotices.php:489 +#: includes/classes/AdminNotices.php:481 msgid "Your Elasticsearch version %1$s is above the maximum required Elasticsearch version %2$s. ElasticPress may or may not work properly." msgstr "" #. translators: Document page URL -#: includes/classes/AdminNotices.php:533 +#: includes/classes/AdminNotices.php:525 msgid "Your server software is not supported. To learn more about server compatibility please visit our documentation." msgstr "" #. translators: 1. Current URL with retry parameter; 2. Settings Page URL -#: includes/classes/AdminNotices.php:601 +#: includes/classes/AdminNotices.php:593 msgid "There is a problem with connecting to your Elasticsearch host. ElasticPress can try your host again, or you may need to change your settings." msgstr "" #. translators: Response Code Number -#: includes/classes/AdminNotices.php:609 +#: includes/classes/AdminNotices.php:601 msgid "Response Code: %s" msgstr "" #. translators: Response Code Message -#: includes/classes/AdminNotices.php:614 +#: includes/classes/AdminNotices.php:606 msgid "Response error: %s" msgstr "" #. translators: 1. ; 2. -#: includes/classes/AdminNotices.php:676 +#: includes/classes/AdminNotices.php:668 msgid "It seems the mapping data in your index does not match the Elasticsearch version used. We recommend to reindex your content using the sync button on the top of the screen or through wp-cli by adding the %1$s--setup%2$s flag" msgstr "" #. translators: 1. Current mapping file; 2. Mapping file that should be used -#: includes/classes/AdminNotices.php:683 +#: includes/classes/AdminNotices.php:675 msgid "Current mapping: %1$s. Expected mapping: %2$s" msgstr "" #. translators: Index Health URL -#: includes/classes/AdminNotices.php:741 +#: includes/classes/AdminNotices.php:733 msgid "It looks like one or more of your indices are running on a single node. While this won't prevent you from using ElasticPress, depending on your site's specific needs this can represent a performance issue. Please check the Index Health page where you can check the health of all of your indices." msgstr "" #. translators: Elasticsearch or ElasticPress.io; 2. Link to article; 3. Link to article -#: includes/classes/AdminNotices.php:797 +#: includes/classes/AdminNotices.php:789 msgid "Your website content has more public custom fields than %1$s is able to store. Check our articles about Elasticsearch field limitations and how to index just the custom fields you need before trying to sync." msgstr "" -#: includes/classes/AdminNotices.php:798 -#: includes/classes/AdminNotices.php:814 +#: includes/classes/AdminNotices.php:790 +#: includes/classes/AdminNotices.php:806 #: includes/classes/ElasticsearchErrorInterpreter.php:93 #: includes/classes/StatusReport/ElasticPressIo.php:30 #: assets/js/sync/index.js:269 @@ -141,8 +141,8 @@ msgstr "" msgid "ElasticPress.io" msgstr "" -#: includes/classes/AdminNotices.php:798 -#: includes/classes/AdminNotices.php:814 +#: includes/classes/AdminNotices.php:790 +#: includes/classes/AdminNotices.php:806 #: includes/classes/ElasticsearchErrorInterpreter.php:93 #: assets/js/sync/index.js:270 #: dist/js/sync-script.js:1 @@ -150,7 +150,7 @@ msgid "Elasticsearch" msgstr "" #. translators: Elasticsearch or ElasticPress.io; 2. Link to article; 3. Link to article -#: includes/classes/AdminNotices.php:813 +#: includes/classes/AdminNotices.php:805 msgid "Your website content seems to have more public custom fields than %1$s is able to store. Check our articles about Elasticsearch field limitations and how to index just the custom fields you need if you receive any errors while syncing." msgstr ""