=== Post Tips & Copy Protection Helper ===
Contributors: pdlr2027
Tags: article tips, anti copy, disable right click, protection, post note
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.2
Stable tag: 1.2.2
License: GPL2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Lightweight post tips & anti-copy helper. 一款轻量级的文章提示与防复制助手。

== Description ==

[English Description]
Post Tips & Copy Protection Helper is an ultra-lightweight, high-performance plugin designed for blog owners to place custom notifications, copyright notices, and warnings on their single posts.

Key Features:
* **Multi-Rule Targeting**: Target different post categories dynamically with multiple distinct rules.
* **4 Built-in Elegant Templates**: Copyright, Notice, Warning, Promotion, plus raw custom HTML.
* **Dynamic Position Control**: Display tips before content, after content, or after the first paragraph.
* **Age-based Smart Conditions**: Show or hide specific tips based on how many days ago the post was published.
* **Premium Protection**: Disable text selection, Ctrl+C (Cmd+C), right-click menus, and F12 developer console bypasses, with optional exemptions for logged-in administrators.
* **Lightweight & High Performance**: Zero bloat, no heavy frameworks, native translation system, zero front-end lag.

[简体中文说明]
Post Tips & Copy Protection Helper 是一款专为 WordPress 站长设计的轻量级、高性能文章提示与安全助手。它能帮助您在单篇文章页面中，轻松插入精美的通知、版权声明、免责警告等提示框。

核心功能：
* **多规则分类投放**：支持创建多条独立的提示规则，按文章分类进行精准的白名单定向投放。
* **4 款成品美化模板**：内置版权声明（经典橙红）、温馨提示（科技天蓝）、免责警告（警示红虚）、福利推荐（活跃草绿）等带矢量图标的精美样式，并支持完全自定义 HTML 代码。
* **多位置动态插入**：支持将提示框显示在文章正文最顶部、正文最末尾、或者第一段落文字下方。
* **智能时效性判定**：支持按文章发布时间控制显示，可自由设置发布多少天以上显示（老文章提示），或多少天内显示（新文章活动）。
* **高强度安全防护**：一键禁用文本选中、拖拽复制、键盘 Ctrl+C。支持禁用鼠标右键菜单、防 F12/开发者工具审查、防 Ctrl+U 查看源码及 Ctrl+S 网页另存为。
* **登录用户豁免限制**：管理员、编辑等登录用户可完全免除上述所有防护限制，保证日常维护不受影响。
* **极致轻量无残留**：0 外部依赖，采用 WP 官方标准安全代码。卸载时自动清理数据库，绝不拖慢网站。

== Installation ==

[English]
1. Upload the entire `post-tips-copy-protection-helper` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Configure your rules under Settings -> Post Tips & Copy Protection Helper.

[简体中文]
1. 下载插件并将其解压，将整个 `post-tips-copy-protection-helper` 文件夹上传到服务器的 `/wp-content/plugins/` 目录。
2. 登录 WordPress 后台，在“插件”菜单中启用它。
3. 点击后台左侧 **设置 -> 文章提示助手**，即可进入可视化面板创建你的提示规则。

== Changelog ==

= 1.2.2 =
* Fix recursion sanitization on dynamic multidimensional POST arrays to resolve the final PHPCS warning.
* Replace inline styles/scripts with standard WP hooks.
* Unify all class and function prefixes under compliant PTCPH identifier.
* Map pdlr2027 to contributors.