From 178be9bb4b7959ac5f4a81d76e483c728e52821e Mon Sep 17 00:00:00 2001 From: Ionut Neagu Date: Sun, 21 Jun 2026 06:42:34 +0200 Subject: [PATCH] feat(starter-ranking): send site title; disclose external service in readme - Send the site title (blogname) alongside the URL in the AI starter-site ranking request so the service has a niche signal beyond the URL. - Add a readme "External services" section disclosing the ThemeIsle starter-sites service (catalog, ranking, license) per the WordPress.org plugin guidelines. Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_01BNzxtv8VLmNXCCqQyK4gUC --- includes/Starter_Ranking.php | 5 +++-- readme.txt | 7 +++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/includes/Starter_Ranking.php b/includes/Starter_Ranking.php index 45032577..19bc8a6c 100644 --- a/includes/Starter_Ranking.php +++ b/includes/Starter_Ranking.php @@ -89,8 +89,9 @@ private static function fetch_order( $builder, $query = null, $budget = null ) { $deadline = time() + ( null !== $budget ? (int) $budget : self::REQUEST_BUDGET ); $start = self::base_url() . '/api/workflows/' . self::SLUG . '/start'; $body = array( - 'site_url' => home_url(), - 'builder' => $builder, + 'site_url' => home_url(), + 'site_title' => sanitize_text_field( get_bloginfo( 'name' ) ), + 'builder' => $builder, ); if ( null !== $query && '' !== $query ) { diff --git a/readme.txt b/readme.txt index 41cf11cc..42cdf0d2 100644 --- a/readme.txt +++ b/readme.txt @@ -28,6 +28,13 @@ You can check the full collection on [demosites.io](https://demosites.io/) = Can I import just one page from one starter site? = Yes, you can choose to import either one template or the entire starter site. +== External services == + +The Starter Sites & Templates library is powered by a cloud service run by ThemeIsle. This section explains what data is sent to it and when. By using these features you agree to ThemeIsle's [Terms](https://themeisle.com/terms/) and [Privacy Policy](https://themeisle.com/privacy-policy/). No account is required to browse the free starter-sites collection. + += ThemeIsle starter-sites service (api.themeisle.com) = +The plugin contacts ThemeIsle's service to fetch the starter-sites and templates catalog, to order it by relevance to your site (and to run searches), and to validate your license. For relevance ordering and search it sends your site address (home URL), your site title, the page builder you use, and — when you search — your search text; if you have a ThemeIsle license, it also sends your license key. These requests are made when you browse or search the library, and apply to local and staging sites too. Service provided by ThemeIsle — [Terms](https://themeisle.com/terms/), [Privacy Policy](https://themeisle.com/privacy-policy/). + == Changelog == #### [Version 1.3.0](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.2.29...v1.3.0) (2026-06-18)