Created
November 14, 2012 11:03
-
-
Save peterchester/4071539 to your computer and use it in GitHub Desktop.
Postie 1.4.4 Patch #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment