I have WP_DEBUG set to ON to show errors and notices. Of all notices the one that is bothering me is
Notice: attribute_escape is deprecated since version 2.8! Use esc_attr() instead. in /Users/john/Documents/htdocs/wp-includes/functions.php on line 3467. I started commenting the code to find which function or statement was generating these notices. To my surprise these notices were thrown by
echo get_the_title() — The core Wordpress functions. I switched the theme to twentyeleven where the problem does not appear at all.
So, I'd like to find out why these core functions are throwing notices in my theme and what can I do to debug, isolate and resolve these?