| 开发者 | desk9 |
|---|---|
| 更新时间 | 2026年5月18日 07:15 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
desk9-ai-content-disclosure.wp-content/plugins/ on your site.No. Pre-built scripts and styles ship in the build/ folder. Developers who want to rebuild from source can use Node—see Development below.
No. It helps you disclose AI use visibly, but laws and interpretations differ by region and use case. Consult qualified counsel for compliance questions.
When enabled, the plugin can emit a non-standard JSON-LD script plus related data-* attributes once per page load. Treat it as beta: it is not a guaranteed schema.org pattern and may evolve.
No dedicated telemetry or analytics endpoints are bundled. Settings and per-post data stay in your WordPress database. Output is rendered on your pages like other theme and plugin content.
Yes. A wpml-config.xml ships with the plugin so WPML can register admin strings, translate the custom disclaimer meta field, and translate the text attribute on the shortcode (HTML allowed) while keeping structural fields consistent across languages. Other multilingual setups can use similar approaches or WordPress filters—see the FAQ entry on hooks in older documentation if you customize output.
deskaicoEditorConfig exposes defaultDisclaimerVariant, disclaimerPlainLong, disclaimerPlainShort (editor preview only; front-end markup is unchanged).deskaico_disclaimer_apply_usage_scope_prefix() as a safe strip only—no more accidental double leads from older callers; block editor, shortcode, and auto-append all read the stored preset as-is..mo recompiled.[deskaico_disclosure], document sidebar (post overrides and optional auto-append layout), Beta JSON-LD collector, German translation starter pack.desk9-ai-content-disclosure, Text Domain aligned with the slug; all PHP identifiers use the deskaico / DESKAICO / Deskaico prefix for Plugin Check compliance.@wordpress/components for current WordPress block editor compatibility; block namespace deskaico/disclosure.src/ with package.json and webpack.config.js; Development section in this readme documents npm install / npm run build; compiled assets ship in build/.Deskaico_Renderer::render() runs final HTML through wp_kses() with allow-list deskaico_kses_allowed_disclosure.wp_print_inline_script_tag() with safe JSON encoding flags.languages/desk9-ai-content-disclosure-{locale}.mo; duplicate msgid removed in de_DE.po.