| 33 | | $tb_url = $_POST['url']; |
|---|
| 34 | | $title = $_POST['title']; |
|---|
| 35 | | $excerpt = $_POST['excerpt']; |
|---|
| 36 | | $blog_name = $_POST['blog_name']; |
|---|
| 37 | | $charset = $_POST['charset']; |
|---|
| | 33 | $tb_url = $_POST['url']; |
|---|
| | 34 | $charset = $_POST['charset']; |
|---|
| | 35 | |
|---|
| | 36 | // These three are stripslashed here so that they can be properly escaped after mb_convert_encoding() |
|---|
| | 37 | $title = stripslashes($_POST['title']); |
|---|
| | 38 | $excerpt = stripslashes($_POST['excerpt']); |
|---|
| | 39 | $blog_name = stripslashes($_POST['blog_name']); |
|---|
| 45 | | $title = mb_convert_encoding($title, get_settings('blog_charset'), $charset); |
|---|
| 46 | | $excerpt = mb_convert_encoding($excerpt, get_settings('blog_charset'), $charset); |
|---|
| 47 | | $blog_name = mb_convert_encoding($blog_name, get_settings('blog_charset'), $charset); |
|---|
| | 47 | $title = mb_convert_encoding($title, get_option('blog_charset'), $charset); |
|---|
| | 48 | $excerpt = mb_convert_encoding($excerpt, get_option('blog_charset'), $charset); |
|---|
| | 49 | $blog_name = mb_convert_encoding($blog_name, get_option('blog_charset'), $charset); |
|---|