[WordPress] 外掛分享: Dismiss Privacy Nag

首頁外掛目錄 › Dismiss Privacy Nag
WordPress 外掛 Dismiss Privacy Nag 的封面圖片
10+
安裝啟用
尚無評分
2610 天前
最後更新
問題解決
WordPress 4.9.6+ PHP 5.2.4+ v1.0.2 上架:2018-05-09

內容簡介

Dismiss Privacy Pointer Nag(4.9.6 版本中新增 — 部分 GDPR OFF)和管理通知,啟用時,或者如果它位於 mu-plugins 目錄中則不顯示。

開發位於GitHub和Travis CI中。與GlotPress Translations兼容。

於 2018 年 05 月 09 日通過外掛目錄的庫核准。

如果您需要完全禁用和刪除所有隱私工具、隱私指針、隱私通知 Nag,您可以使用 “Dismiss Privacy Tools“。

特點:

基於詳細指南 11原則:不應劫持管理儀表板。

用戶更希望且期望插件感覺像 WordPress 的一部分。
持續的警告和不必要的警報會妨礙這種體驗。
升級提示、通知、警報等必須在範圍內限制並節約使用,無論是上下文還是僅在插件的設置頁面上。
網站全局通知或嵌入式儀表板小工具必須可被消除或在解決後自動消失。
錯誤消息和警報必須包含有關如何解決情況的信息,並在完成時刪除自己。

因為我!

新的隱私指針似乎不會在單擊任何管理菜單鏈接時完全自動消除,例如:

如果單擊了任何管理菜單鏈接,則隱私指針會消失。
如果單擊了儀表板管理菜單鏈接,則隱私指針不會消失,返回可視並嘮叨用戶。
隱私指針覆蓋對象。
隱私指針彈出覆蓋折疊了的管理菜單?
當存在與第三方的其他管理菜單項目時,隱私指針對齊管理菜單?
不要向新用戶顯示隱私功能指針:不要在 dismissed_wp_pointers meta 中添加新的回調。
建議的代碼似乎不起作用 — remove_action( ‘admin_print_footer_scripts’, array( ‘WP_Internal_Pointers’, ‘pointer_wp496_privacy’ ) );
需要以 11 的優先級從 admin_enqueue_scripts 操作中調用 pointer_wp496_privacy 的 remove_action。

在 4.9.6 中添加新的隱私功能的管理指針:

由於使用者的 GDPR 責任,新功能對某些使用者非常重要。
它們也分佈在多個頂級菜單中,使它們不易發現。
管理指針將有助於確保用戶了解新工具及其如何找到它們。

感謝 desrosj、andreamiddleton、allendav、xkon。修復 #43942?

4.9.6-alpha-43159

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Dismiss Privacy Nag」→ 直接安裝(推薦)

原文外掛簡介

Dismiss Privacy Pointer Nag, (added in version 4.9.6 — partially GDPR OFF) and admin notification, when it is activated, or if it is in mu-plugins directory.
Development takes place at GitHub and Travis CI. Compatible with GlotPress Translations.
Approved in the repository of the plugin directory on 2018-05-09
If you need to completely disable and remove all Privacy Tools, Privacy Pointers, Privacy Notifications Nag, you can use “Dismiss Privacy Tools“.
Features:
Based to the Detailed Guidelines 11 principle: should not hijack the admin dashboard.

Users prefer and expect plugins to feel like part of WordPress.
Constant nags and overwhelming the admin dashboard with unnecessary alerts detract from this experience.
Upgrade prompts, notices, alerts, and the like must be limited in scope and used sparingly, be that contextually or only on the plugin’s setting page.
Site wide notices or embedded dashboard widgets must be dismissible or self-dismiss when resolved.
Error messages and alerts must include information on how to resolve the situation, and remove themselves when completed.

Because I made this?
Seem that the new privacy pointer is not totally auto dismissible when is clicked one of the any admin menu links, for example:

If one of the any admin menu links was clicked, the privacy pointer disappear.
If the dasboard admin menu link was clicked, the privacy pointer not disappear, return visible, and nagging user.
The privacy pointer covers the thing it’s pointing at.
The privacy pointer popup covers collapsed admin menu?
The privacy pointer is misaligned to admin menu when exist other admin menu items of 3rd party?
Don’t show privacy feature pointer to new users: doesn’t add the new callback to the dismissed_wp_pointers meta.
The suggested code to auto dismiss it seem to not working well — remove_action( ‘admin_print_footer_scripts’, array( ‘WP_Internal_Pointers’, ‘pointer_wp496_privacy’ ) );
The remove_action for pointer_wp496_privacy needed to be called from the admin_enqueue_scripts action with a priority of 11.

Add an admin pointer for new privacy features in version 4.9.6:

The new features are very important for some users, because of their GDPR obligations.
They’re also spread across multiple top-level menus, making them less discoverable.
An admin pointer will help to ensure that users are aware of the new tools and how to find them.

Props desrosj, andreamiddleton, allendav, xkon. Fixes #43942?

4.9.6-alpha-43159
4.9.6-alpha-42959-src
5.0-alpha-43158
5.0-alpha-42970-src

Technical References
Translators: leave all technical references in English!
Dismiss all the new feature pointers.
@since 3.3.0
All pointers can be disabled using the following:
remove_action( ‘admin_enqueue_scripts’, array( ‘WP_Internal_Pointers’, ‘enqueue_scripts’ ) ); # This work but “unfortunately” as alternative solution that remove all pointers!
@param string $hook_suffix The current admin page.
Dismiss a pointer for the new privacy tools.
@since 4.9.6
Privacy pointer can be disabled using the following:
remove_action( ‘admin_print_footer_scripts’, array( ‘WP_Internal_Pointers’, ‘pointer_wp496_privacy’ ) ); # This for now not work: due a bug? Investigating… wp496_privacy ???
@param string $hook_suffix The current admin page.
Credits
Issue (bug) fixed by my brother Garrett Hyder and tested from Pascal Birchler (swissspidy): refer to Ticket 45529 opened by Dale Harrison.
Thanks to Ross McKay (webaware) and Stephen Edgar (netweb) to support me in New Zealander (English) translations, in some typo errors, and some minor (English) error stuff.
Thanks to Fernando Tellado (fernandot) and Nilo Velez to support me in Spanish translations.
Thanks to all!
Tips
A neat trick, is to put this single file dismiss-privacy-nag.php (not its parent directory) in the /wp-content/mu-plugins/ directory (create it if not exists) so you won’t even have to enable it, and will be loaded by default, also, since first step installation of WordPress setup!
Also, for translation functionality, put all files of the single languages (dismiss-privacy-nag-en_US.mo for example) that you need (not its parent directory) in the /wp-content/mu-plugins/ directory (create it if not exists) and will also be loaded by default, since first step installation of WordPress setup!
Note that mu-plugins functionality is available since WP 2.8+ or greater and is not present in WP 2.7+ or previous.
About it
The code of this plugin is not written with a PHP framework, but manually, with a simple PHP editor compatible UTF-8 without BOM, and Unix LF. To avoid code corruption, do not edit it with WordPress embedded editor, or with any specifications incompatible editor. This author is exonerated from any responsibility or damage (directly or indirectly) caused and due to the use of this bad practice.

super light secure and fast plugin easy on server resources

About me
Dismiss Privacy Nag is developed by Luciano Croce, 13-years “officially” WordPress Plugins & Themes Developer Senior, Co-Author of plugin Classic Editor, polyglot (based on English, French, Spanish, German, Portuguese, Italian, Ligurian), GTE en_GB & en_CA, PTE for Plugins & Themes in more languages, PTE for Italian WordPress.org & Plugins & Themes Directory, Local Manager of Ligurian Language Community for WP LIJ, Validator English (UK) for WordPress.com, translator for my & other projects, book author of TRUE DOS (the dark side of its history from the dark side of its users) Code Tweaker & Bug Hunter, Security Mechanic & WPMU Lover, Freelancer & Volunteer.
Privacy
This plugin does not collect or store any user related data or personally identifying information, does not set any cookies, and it does not connect to any third-party websites. It only uses functionality that is available in WordPress. In those terms, it does not affect your website users’ privacy in any way.
GDPR
This plugin does not collect or store any user related data or personally identifying information, but does not do anything to make your site less GDPR compliant. I have done my best to ensure that is 100% GDPR compliant, but I’m not a lawyer, so can’t guarantee anything. To determine if your site is GDPR compliant, please consult a lawyer.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon