| 开发者 | desk9 |
|---|---|
| 更新时间 | 2026年8月22日 21:33 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | 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.
includes/class-deskaico-image-badge.php, which the plugin loads on every request — were never committed to the release tag. Installing or updating to 1.4.0 therefore ended in a fatal error. Nothing else changed; 1.4.1 is 1.4.0 with all of its files.other.svg, the icon for the “Other” provider, contained two raw control characters in a comment and was therefore not well-formed XML. Browsers refused to render it, so the chip stayed blank whenever “Other” was shown in icon mode. Present since the first release.get_block_wrapper_attributes(). Both are now carried through to the published markup.deskaicoEditorConfig payload that only fed it.id and CSS custom property now uses the deskaico- prefix instead of the legacy acd- shorthand (.acd-disclosure → .deskaico-disclosure, --acd-bg → --deskaico-bg, and so on). The old three-letter prefix predates the plugin’s rename and no longer matched anything else in the codebase. Custom CSS targeting the old names needs updating; settings, content and stored data are untouched./languages/, so a corrected translation reaches sites without a plugin release. Help translate at https://translate.wordpress.org/projects/wp-plugins/desk9-ai-content-disclosure/.wp-block-ai-content-disclosure-disclosure, a class generated by the block namespace used before the plugin was renamed. The rule never matched anything; it now targets .wp-block-deskaico-disclosure.init instead of plugins_loaded. This removes the WordPress 6.7+ debug notices about _load_textdomain_just_in_time and about wp_register_script / wp_register_style running before the enqueue hooks.uninstall.php removes the plugin option and all _deskaico_* post meta when the plugin is deleted (multisite-aware).<p>…</p>, refresh both textareas once on page load, and clarify the helper text beneath the dropdown (German strings updated).<p>…</p>; stripping only matched raw prefixes at the beginning of the string, so WordPress appended the same lead again—now trimmed whether it is plaintext or first matching paragraph (deskaico_strip_leading_usage_scope_prefixes).deskaicoEditorConfig now passes defaultDisclaimerVariant, disclaimerPlainLong, and disclaimerPlainShort for editor preview only (front-end markup is unchanged).[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.