| 开发者 | TheWoollyBully |
|---|---|
| 更新时间 | 2026年10月12日 14:16 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/.well-known/josh
The smallest valid declaration is:
{"version":1}
Josh identity is optional and separate from participation. Affirming, declining, or leaving Josh identity undeclared does not change your status in the network. A Josh can publish:
{"version":1,"josh":true}
A non-Josh can participate equally and explicitly publish:
{"version":1,"josh":false}
Joshness is declared, never derived.
The declaration endpoint is served through WordPress. The plugin does not create a physical .well-known file, change Apache or Nginx configuration, add telemetry, register accounts, or require JavaScript.
Optional shortcode [joshternet_button]: WordPress may query the Joshternet Button State service for this origin, caches the result locally, and displays a bundled 88x31 image. See External services. No remote script or remote image is loaded on the page.
Multisite
Joshternet declarations belong to origins, not WordPress site records.
Subdomain and domain-mapped sites can have independent declarations when they have different origins. Path-based subsites that share the main site's origin also share its single /.well-known/josh URI, so the plugin directs those administrators back to the main site.
A site published below the origin root may require hosting configuration to route /.well-known/josh into WordPress. The plugin warns about that case instead of pretending every hosting platform handles it the same way.
No. WordPress serves the endpoint. That avoids depending on a writable document root or host-specific Apache and Nginx configuration.
No. Participation and Josh identity are separate. A participant may affirm Josh identity, decline it, or leave identity undeclared. All three choices have equal status in the network.
Yes. Non-Joshes are welcome as equal participants, with the same standing as Joshes. Josh identity is optional; it does not determine membership or status in the network.
The declaration belongs to an origin. Subdomain and mapped-domain sites can publish independently when they use distinct origins. Path-based subsites on the same origin cannot each own the same origin-root /.well-known/josh endpoint.
Publishing /.well-known/josh does not call joshternet.org. There is no telemetry or registration.
The optional [joshternet_button] shortcode is the only feature that contacts Joshternet.org. See External services for when that request happens, what normalized website origin is sent, how long the result is cached, and the Joshternet Terms of Service and Privacy Policy.
Add [joshternet_button] to a post or page (Shortcode block works). Images are shipped in the plugin. No remote script is loaded.
wp-content/plugins/, not /{blog}/wp-content/.[joshternet_button] shortcode with local images and registry lookup.