WordPress.org

Plugin Directory

Changeset 240575 for wp-useronline


Ignore:
Timestamp:
05/13/10 12:23:08 (4 years ago)
Author:
scribu
Message:

fix l10n loading. props tin68

Location:
wp-useronline
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wp-useronline/tags/2.73/wp-useronline.php

    r239726 r240575  
    317317    require_once dirname(__FILE__) . '/deprecated.php'; 
    318318 
    319     load_plugin_textdomain('wp-useronline', '', basename(dirname(__FILE__))); 
     319    load_plugin_textdomain('wp-useronline', '', dirname(plugin_basename(__FILE__)) . '/lang'); 
    320320 
    321321    UserOnline_Core::init(); 
  • wp-useronline/trunk/scb/load.php

    r239357 r240575  
    2525        add_action('activate_plugin',  array(__CLASS__, 'delayed_activation')); 
    2626 
     27        // TODO: don't load when activating a plugin ? 
    2728        add_action('plugins_loaded', array(__CLASS__, 'load'), 10, 0); 
    2829    } 
  • wp-useronline/trunk/wp-useronline.php

    r239736 r240575  
    3232    require dirname(__FILE__) . '/deprecated.php'; 
    3333 
    34     load_plugin_textdomain('wp-useronline', '', basename(dirname(__FILE__))); 
     34    load_plugin_textdomain('wp-useronline', '', dirname(plugin_basename(__FILE__)) . '/lang'); 
    3535 
    3636    UserOnline_Core::init(); 
Note: See TracChangeset for help on using the changeset viewer.