diff --git a/languages/plausible-analytics.pot b/languages/plausible-analytics.pot index 1da8d6fe..caefb004 100644 --- a/languages/plausible-analytics.pot +++ b/languages/plausible-analytics.pot @@ -7,7 +7,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language-Team: Plausible Analytics Team \n" -"POT-Creation-Date: 2024-08-08 18:11+0000\n" +"POT-Creation-Date: 2024-10-11 09:10+0000\n" "Report-Msgid-Bugs-To: https://github.com/plausible/wordpress/issues/new\n" "X-Poedit-Basepath: ..\n" "X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n" @@ -16,7 +16,7 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: src/Actions.php:135 +#: src/Actions.php:140 msgid "View Analytics" msgstr "" @@ -24,7 +24,7 @@ msgstr "" msgid "View Page Analytics" msgstr "" -#: src/Actions.php:162, src/Admin/Filters.php:63, src/Admin/Settings/API.php:449 +#: src/Actions.php:166, src/Admin/Filters.php:63, src/Admin/Settings/API.php:449 msgid "Settings" msgstr "" @@ -80,7 +80,7 @@ msgstr "" msgid "Something went wrong while enabling Pageview Properties: %s" msgstr "" -#: src/ClientFactory.php:49 +#: src/ClientFactory.php:57 msgid "cURL is not enabled on this server, which means API provisioning will not work. Please contact your hosting provider to enable the cURL module or allow_url_fopen." msgstr "" diff --git a/src/Actions.php b/src/Actions.php index e29b98d5..e7ab70e6 100644 --- a/src/Actions.php +++ b/src/Actions.php @@ -94,8 +94,7 @@ public function maybe_register_assets() { $data = wp_json_encode( [ 'props' => [ - // convert queries to lowercase and remove trailing whitespace to ensure same terms are grouped together - 'search_query' => strtolower(trim(get_search_query())), + 'search_query' => get_search_query(), 'result_count' => $wp_query->found_posts, ], ] diff --git a/src/Admin/Settings/Hooks.php b/src/Admin/Settings/Hooks.php index a6b753df..e08e9eed 100644 --- a/src/Admin/Settings/Hooks.php +++ b/src/Admin/Settings/Hooks.php @@ -68,7 +68,7 @@ public function maybe_modify_success_message( $message, $option_name, $status ) * @since 1.3.0 * @output HTML */ - public function proxy_warning() { + public function proxy_warning() { if ( ! empty( Helpers::get_settings()[ 'self_hosted_domain' ] ) ) { echo sprintf( wp_kses(