Skip to content

Commit 178be9b

Browse files
ineaguclaude
andcommitted
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) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BNzxtv8VLmNXCCqQyK4gUC
1 parent 96bbd34 commit 178be9b

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

includes/Starter_Ranking.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,9 @@ private static function fetch_order( $builder, $query = null, $budget = null ) {
8989
$deadline = time() + ( null !== $budget ? (int) $budget : self::REQUEST_BUDGET );
9090
$start = self::base_url() . '/api/workflows/' . self::SLUG . '/start';
9191
$body = array(
92-
'site_url' => home_url(),
93-
'builder' => $builder,
92+
'site_url' => home_url(),
93+
'site_title' => sanitize_text_field( get_bloginfo( 'name' ) ),
94+
'builder' => $builder,
9495
);
9596

9697
if ( null !== $query && '' !== $query ) {

readme.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ You can check the full collection on [demosites.io](https://demosites.io/)
2828
= Can I import just one page from one starter site? =
2929
Yes, you can choose to import either one template or the entire starter site.
3030

31+
== External services ==
32+
33+
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.
34+
35+
= ThemeIsle starter-sites service (api.themeisle.com) =
36+
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/).
37+
3138
== Changelog ==
3239

3340
#### [Version 1.3.0](https://github.com/Codeinwp/templates-patterns-collection/compare/v1.2.29...v1.3.0) (2026-06-18)

0 commit comments

Comments
 (0)