[WordPress] 外掛分享: Dismiss Privacy Tools

WordPress 外掛 Dismiss Privacy Tools 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Dismiss Privacy Tools」是 2018-06-28 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2019-01-25,距離現在已有 2291 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.9.6 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.2.4 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

luciano-croce | garrett-eclipse |

外掛標籤

GDPR | luciano-croce | Privacy Policy | personal-data-erase | personal-data-export |

內容簡介

當啟用時,禁用並刪除隱私工具(從版本4.9.6開始 — 完全關閉 GDPR),並將選項重置為預設值,或者如果它位於mu-plugins目錄中。

開發在GitHub和Travis CI上進行。與GlotPress翻譯相容。

於2018-06-28在外掛程式目錄存儲庫中獲得批准。

如果您只需要部分禁用隱私指針、隱私通知提示,而不刪除隱私工具,您可以使用“Dismiss Privacy Nag”。

功能:

禁用隱私工具 /wp-admin/privacy.php
禁用清除個人數據 /wp-admin/tools.php?page=erase_personal_data
禁用導出個人數據 /wp-admin/tools.php?page=export_personal_data
刪除用於刪除老版本導出文件的定時操作。
刪除用於刪除老版本導出文件的定時活動。
刪除用於刪除老版本導出文件的定時鉤子。
短路隱私政策頁面的選項,始終返回0,避免不必要的數據庫查詢。
刪除不必要的數據庫選項。
將所有選項重置為預設值。
不向新用戶顯示隱私功能指針。
自動關閉建議代碼似乎運行不良 — remove_action( ‘admin_print_footer_scripts’, array( ‘WP_Internal_Pointers’, ‘pointer_wp496_privacy’ ) );
移除指針指向器_wp496_privacy的remove_action需要從具有11優先級的admin_enqueue_scripts操作中調用。
NEW – 解除新隱私工具的指针。已修復!
NEW – 禁用評論cookie選項並刪除相關選項。

為什麼我要做這個?

簡單地因為它與其他類似的外掛不同。

技術參考

翻譯人員:所有技術參考都留在英文中!

關閉所有新功能指針。

@since 3.3.0

使用以下方法可以禁用所有指針:

remove_action( ‘admin_enqueue_scripts’, array( ‘WP_Internal_Pointers’, ‘enqueue_scripts’ ) ); #這起作用,但“不幸的是”,作為替代方案,它會刪除所有指針!

@param string $hook_suffix 當前管理頁面。

關閉新隱私工具的指標。

@since 4.9.6

使用以下方法可以禁用隱私指針:

remove_action( ‘admin_print_footer_scripts’, array( ‘WP_Internal_Pointers’, ‘pointer_wp496_privacy’ ) );# 目前未起作用:由於某個蟲子?正在調查…wp496_privacy???

@param string $hook_suffix 當前管理頁面。

學分

由我的兄弟Garrett Hyder修復的問題(錯誤)在Pascal Birchler(swissspidy)的測試下進行了測試:請參見以Dale Harrison為首開啟的票據45529。

感謝Ross McKay(webaware)和Stephen Edgar(netweb)在新西蘭(英語)翻譯、一些打字錯誤和一些次要的(英語)錯誤方面對我的支持。

感謝Fernando Tellado(fernandot)和Nilo Velez對我的西班牙語翻譯的支持。

感謝大家!

技巧

一個巧妙的技巧

原文外掛簡介

Disable and remove Privacy Tools, (added in version 4.9.6 — completely GDPR OFF) and reset options to default, 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-06-28
If you need to partially disable only Privacy Pointers, Privacy Notification Nag, without removing Privacy Tools, you can use “Dismiss Privacy Nag“.
Features:

Disable Privacy Tool /wp-admin/privacy.php
Disable Erase Personal Data /wp-admin/tools.php?page=erase_personal_data
Disable Export Personal Data /wp-admin/tools.php?page=export_personal_data
Remove scheduled action used to delete old export files.
Remove scheduled event used to delete old export files.
Remove scheduled hook used to delete old export files.
Short circuits the option for the privacy policy page to always return 0 to avoid unneeded database query.
Delete unnecessary database options.
Reset all options to default.
Don’t show the privacy feature pointer to new users.
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.
NEW – Dismiss pointer for the new privacy tools. FIXED!
NEW – Disable comments cookies opt-in and remove related option.

Because I made this?
Simply because is different to the other similar plugins.
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-tools.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-tools-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 Tools 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.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Dismiss Privacy Tools」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

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

文章
Filter
Apply Filters
Mastodon