public

Postie 1.4.4 Patch #2

  • Download Gist
postie_1_4_4_patch_2.diff
Diff
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
diff --git a/wp-content/plugins/postie/postie.php b/wp-content/plugins/postie/postie.php
index 9b94006415b74c3fcf2c5f667a9c277a14ab7f39..46d83ff3c226b3ecdca11ade57b8fcd267baac3d 100644
--- a/wp-content/plugins/postie/postie.php
+++ b/wp-content/plugins/postie/postie.php
@@ -76,9 +76,9 @@ if (is_admin()) {
add_action( 'admin_init', 'postie_admin_settings' );
add_action('admin_menu', 'postie_loadjs_add_page');
if(function_exists('load_plugin_textdomain')){
- $plugin_dir = WP_PLUGIN_DIR . '/' . basename(dirname(__FILE__));
function postie_load_domain() {
- load_plugin_textdomain( 'postie', $plugin_dir."/languages/",
+ $plugin_dir = WP_PLUGIN_DIR . '/' . basename(dirname(__FILE__));
+ load_plugin_textdomain( 'postie', $plugin_dir."/languages/",
basename(dirname(__FILE__)). '/languages/');
}
add_action('init', 'postie_load_domain');

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.