Ejemplo n.º 1
0
 /**
  * @uses add_action() to hook methods into WordPress actions
  * @uses add_filter() to hook methods into WordPress filters
  */
 public static function load()
 {
     load_plugin_textdomain('liveblog', false, dirname(plugin_basename(__FILE__)) . '/languages/');
     if (self::is_wp_too_old()) {
         self::add_old_wp_notice();
         return;
     }
     self::includes();
     self::add_actions();
     self::add_filters();
     self::add_admin_actions();
     self::add_admin_filters();
     self::register_embed_handlers();
     WPCOM_Liveblog_Entry_Key_Events::load();
     WPCOM_Liveblog_Entry_Extend::load();
     WPCOM_Liveblog_Lazyloader::load();
 }