From 2cee305c807be00f2c84d245c8205cf19b9756cb Mon Sep 17 00:00:00 2001 From: Andrew Cockrell <1480054+acockrell@users.noreply.github.com> Date: Sat, 20 Jun 2026 20:38:18 -0700 Subject: [PATCH] chore: rename plugin to ACLabs Search for Google Custom Search Addresses WP.org plugin review: name must not imply affiliation with Google by leading with an acronym of their product name. New name follows the approved pattern (unique identifier first, trademark at end after "for"). - Update Plugin Name header, admin page title and menu label - Rename block title to "Google Custom Search Results" in block.json, index.js, and index.test.js - Standardize all user-facing copy to "Google Custom Search" / "Google Custom Search Engine" (removes inconsistent GPSE/GCSE/CSE mix) - Update readme.txt and README.md throughout - Add rename to 1.2.6 changelog entry --- README.md | 12 ++++++------ gpse/gpse.php | 4 ++-- gpse/includes/class-wp-gpse-admin.php | 10 +++++----- gpse/readme.txt | 24 +++++++++++++----------- gpse/src/search-results/block.json | 2 +- gpse/src/search-results/index.js | 2 +- gpse/src/search-results/index.test.js | 2 +- 7 files changed, 29 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 9b66a27..53b3d8c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -=== GPSE Search === +=== ACLabs Search for Google Custom Search === Contributors: ACLabs Tags: search, google, gcse, programmable search, cse Requires at least: 6.4 @@ -8,24 +8,24 @@ Requires PHP: 8.2 License: AGPL v3 or later License URI: https://www.gnu.org/licenses/agpl-3.0.html -Redirects WordPress searches to display Google Programmable Search Engine (GCSE) results. +Redirects WordPress searches to display Google Custom Search results. ## Features - **Seamless Integration**: Works with the standard WordPress Search block or your theme's search form. - **Search Results Page**: Redirects all searches to a dedicated page of your choice. - **Configurable**: Easy settings to add your Search Engine ID (CX) and select the results page. -- **Google-Powered Results**: Display Google CSE results using the GPSE Search Results block or `[gpse_results]` shortcode. +- **Google-Powered Results**: Display Google Custom Search results using the Google Custom Search Results block or `[gpse_results]` shortcode. ## Installation & Setup 1. **Install the Plugin**: Upload the `gpse` folder to your `/wp-content/plugins/` directory and activate it. 2. **Create a Results Page**: * Create a new Page in WordPress (e.g., "Search Results"). - * Add the **GPSE Search Results** block (or the `[gpse_results]` shortcode) to the page content. + * Add the **Google Custom Search Results** block (or the `[gpse_results]` shortcode) to the page content. * Publish the page. 3. **Configure**: - * Go to **Settings > GPSE**. + * Go to **Settings > ACLabs Search**. * Enter your **Google Search Engine ID (CX)**. (Get this from [programmablesearchengine.google.com](https://programmablesearchengine.google.com/)). * Select your "Search Results" page from the dropdown. * Save Changes. @@ -37,4 +37,4 @@ Redirects WordPress searches to display Google Programmable Search Engine (GCSE) * **Search Box**: Use the standard WordPress Search block or your theme's search form to allow users to search your site. * **Redirection**: When a user searches (e.g., `/?s=myquery`), they are automatically redirected to your custom Results Page (e.g., `/search-results/?q=myquery`). -* **Google CSE Results**: The Results Page displays Google-powered search results using your configured Google Programmable Search Engine. +* **Google Custom Search Results**: The Results Page displays Google Custom Search results using your configured search engine. diff --git a/gpse/gpse.php b/gpse/gpse.php index cc167af..28cf15d 100644 --- a/gpse/gpse.php +++ b/gpse/gpse.php @@ -1,7 +1,7 @@
-

+

-

+

GPSE**. + * Go to **Settings > ACLabs Search**. * Enter your **Google Search Engine ID (CX)**. (Get this from [programmablesearchengine.google.com](https://programmablesearchengine.google.com/)). * Select your "Search Results" page from the dropdown. * Save Changes. @@ -47,20 +47,22 @@ Source code is publicly available on [GitHub](https://github.com/ACLabs-Code/wp- == Third-Party Services == -This plugin relies on Google Programmable Search Engine, an external service provided by Google LLC. When a visitor views your configured search results page, their browser loads a JavaScript file from `cse.google.com` and search queries are sent to Google's servers to retrieve results. +This plugin relies on Google Custom Search Engine, an external service provided by Google LLC. When a visitor views your configured search results page, their browser loads a JavaScript file from `cse.google.com` and search queries are sent to Google's servers to retrieve results. By using this plugin you agree to be bound by Google's Terms of Service and acknowledge their Privacy Policy: * [Google Terms of Service](https://policies.google.com/terms) * [Google Privacy Policy](https://policies.google.com/privacy) -* [Google Programmable Search Engine](https://programmablesearchengine.google.com/) +* [Google Custom Search Engine](https://programmablesearchengine.google.com/) == Changelog == = 1.2.6 = +* Renamed plugin to "ACLabs Search for Google Custom Search". +* Standardized terminology to "Google Custom Search" throughout. * Confirmed compatibility with WordPress 7.0. -* Fixed URL encoding of Google CSE CX ID (rawurlencode instead of esc_attr). -* Removed spurious version query string from Google CSE script URL. +* Fixed URL encoding of Google Custom Search Engine CX ID. +* Removed spurious version query string from Google Custom Search script URL. * Added `role: content` to block.json for correct editability in WordPress 7.0 contentOnly patterns. = 1.2.5 = diff --git a/gpse/src/search-results/block.json b/gpse/src/search-results/block.json index 8a3db67..fd54235 100644 --- a/gpse/src/search-results/block.json +++ b/gpse/src/search-results/block.json @@ -3,7 +3,7 @@ "apiVersion": 3, "name": "gpse/search-results", "version": "1.0.0", - "title": "GPSE Search Results", + "title": "Google Custom Search Results", "category": "widgets", "icon": "welcome-widgets-menus", "description": "Google Programmable Search Engine results list.", diff --git a/gpse/src/search-results/index.js b/gpse/src/search-results/index.js index 4aa2dfa..6476244 100644 --- a/gpse/src/search-results/index.js +++ b/gpse/src/search-results/index.js @@ -10,7 +10,7 @@ const Edit = () => {
- { __( 'GPSE Search Results', 'gpse' ) } + { __( 'Google Custom Search Results', 'gpse' ) }
); diff --git a/gpse/src/search-results/index.test.js b/gpse/src/search-results/index.test.js index 6485647..2eb5b41 100644 --- a/gpse/src/search-results/index.test.js +++ b/gpse/src/search-results/index.test.js @@ -10,7 +10,7 @@ describe( 'gpse/search-results block metadata', () => { } ); it( 'has correct title', () => { - expect( metadata.title ).toBe( 'GPSE Search Results' ); + expect( metadata.title ).toBe( 'Google Custom Search Results' ); } ); it( 'uses Block API v3', () => {