- Timestamp:
- Apr 23, 2010, 5:53:15 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme.php
r568 r584 66 66 } 67 67 } 68 69 function blog_charset_check() 70 { 71 $lang= WPLANG; 72 if($lang == 'ja_EUC'){ 73 $blog_charset = get_option('blog_charset'); 74 if ($blog_charset !=='EUC-JP') { 75 update_option('blog_charset', 'EUC-JP' ); 76 } 77 } 78 } 79 68 80 add_action('admin_menu', 'my_plugin_menu'); 69 81 … … 85 97 86 98 add_action("the_content", "set_post_views_count"); 99 100 // blog charset check 101 add_action("init", "blog_charset_check"); 102 87 103 88 104 //XOOPS notifiction
Note: See TracChangeset
for help on using the changeset viewer.