WordPress 3.5.2
Updated deprecated functions