Changeset 1404841
- Timestamp:
- 04/26/2016 06:35:13 PM (10 years ago)
- File:
-
- 1 edited
-
buddypress-messages-spam-blocker/trunk/plugin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
buddypress-messages-spam-blocker/trunk/plugin.php
r1404839 r1404841 4 4 // xgettext --language=PHP --from-code=utf-8 --keyword=__ *.php -o languages/buddypress-messages-spamblocker.pot 5 5 // Load translations and text domain 6 add_action('init', 'b ms_load_textdomain');6 add_action('init', 'bps_load_textdomain'); 7 7 8 8 // We will do the check before compose form is shown 9 9 add_filter('messages_screen_compose', 'bps_bp_spam_stop'); 10 10 11 function b ms_load_textdomain() {11 function bps_load_textdomain() { 12 12 load_plugin_textdomain('buddypress-messages-spamblocker', false, dirname(plugin_basename(__FILE__)) . "/languages/"); 13 13 }
Note: See TracChangeset
for help on using the changeset viewer.