Plugin Directory

Changeset 158612


Ignore:
Timestamp:
09/28/2009 03:48:26 PM (16 years ago)
Author:
ehsan4php
Message:

Testing I19n

Location:
recently-updated-pages
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • recently-updated-pages/tags/1.0.2/recently_updated_pages.php

    r158610 r158612  
    195195    // Adding the functions to the WP widget
    196196    add_action('widgets_init', 'recently_updated_pages');
     197    $plugin_dir = basename(dirname(__FILE__));
     198    load_plugin_textdomain('recently_updated_pages', 'wp-content/plugins/' . $plugin_dir, $plugin_dir);
     199
    197200   
    198201?>
  • recently-updated-pages/trunk/recently_updated_pages.php

    r158610 r158612  
    195195    // Adding the functions to the WP widget
    196196    add_action('widgets_init', 'recently_updated_pages');
     197    $plugin_dir = basename(dirname(__FILE__));
     198    load_plugin_textdomain('recently_updated_pages', 'wp-content/plugins/' . $plugin_dir, $plugin_dir);
     199
    197200   
    198201?>
Note: See TracChangeset for help on using the changeset viewer.