توضیحات
Comment Word Blacklist Manager will retrieve a list of blacklist terms from a remote source and update the blacklist_keys setting in WordPress. The list will update itself on a schedule to keep your terms current. Any manually added items will be retained, and an exclusions list is also created if there are terms from the source you want to allow.
نصب
- Upload the
comment-word-blacklist-managerfolder to the/wp-content/plugins/directory or install from the dashboard - Activate the plugin through the ‘Plugins’ menu in WordPress
- Add any terms to the exclusions list under the main “Discussions” settings area
- Add any additional terms in the new “Local Blacklist” field
سوالات متداول
- What is the default source of the blacklist?
-
The list is managed by GeekParadize on GitHub
- Can I provide my own blacklist sources?
-
Sure can. Use the filter
cwblm_sourcesto add different source URLs.to replace the sources completely
add_filter( 'cwblm_sources', 'rkv_cwblm_replace_blacklist_sources' ); function gpz_cwblm_replace_blacklist_sources( $list ) { return array( 'http://example.com/blacklist-1.txt' 'http://example.com/blacklist-2.txt' ); }to add a new item to the existing sources
add_filter( 'cwblm_sources', 'gpz_cwblm_add_blacklist_source' ); function gpz_cwblm_add_blacklist_source( $list ) { $list[] = 'http://example.com/blacklist-a.txt'; return $list; }The plugin expects the blacklist data to be a plain text format with each entry on it’s own line. If the source is provided in a different format (a JSON feed or serialized array) then you will need to run the result through
cblm_parse_data_result, which passes through the data and the source URL. - Can I change the update schedule?
-
Yep. Use the filter
cwblm_update_scheduleto add a new URL.add_filter( 'cwblm_update_schedule', 'gpz_cwblm_custom_schedule' ); function gpz_cwblm_custom_schedule( $time ) { return DAY_IN_SECONDS; }The return should be provided using the time contstants in transients
نقد و بررسیها
نقد و بررسیای برای این افزونه یافت نشد.
توسعه دهندگان و همکاران
“Comments Word Blacklist Manager” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کردهاند.
مشارکت کنندگانترجمه “Comments Word Blacklist Manager” به زبان شما.
علاقه مند به توسعه هستید؟
کد را مرور کنید، مخزن SVN را بررسی کنید، یا از طریق RSS در گزارش توسعه مشترک شوید.
گزارش تغییرات
1.0.0
- Initial release
