Skip to content

Instantly share code, notes, and snippets.

@peterchester
Created November 14, 2012 11:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterchester/4071539 to your computer and use it in GitHub Desktop.
Save peterchester/4071539 to your computer and use it in GitHub Desktop.
Postie 1.4.4 Patch #2
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