Wordpress 3.0.1, Twentyten Theme, functions.php is incomplete
|Reported by:||sunny_balanga||Owned by:|
Function "twentyten_filter_wp_title" is missing from functions.php of twentyten theme, supplied with Wordpress 3.0.1.
My page didn't show a tilte, so I looked in header.php which calls wp_title with explanation "..see * twentyten_filter_wp_title() in functions.php.. *, so I looked in functions.php and realized this particular function was missing.
I found the function in the functions.php of twentyten theme supplied with WP 3.0, so I copied it over and added a "?>" at the end and it works, kind of:
The "site name" portion of the page title appeared twice. I commented out the last statement "add_filter( 'wp_title', 'twentyten_filter_wp_title', 10, 2 );" and now the page title displays correctly.
I hope this helps, feel free to contact me if needed.