Browse files

load_plugin_textdomain so the plugin can be translated.

props elarequi
  • Loading branch information...
1 parent 3b716b9 commit e5351e539e158f6fd69fb8bfbc22684c46284b29 @mjangda mjangda committed Sep 6, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 liveblog.php
View
2 liveblog.php
@@ -59,6 +59,8 @@
* @uses add_filter() to hook methods into WordPress filters
*/
public static function load() {
+ load_plugin_textdomain( 'liveblog', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
+
self::includes();
self::add_actions();
self::add_filters();

0 comments on commit e5351e5

Please sign in to comment.