[wp-trac] [WordPress Trac] #15137: Wordpress 3.0.1, Twentyten Theme, functions.php is incomplete
WordPress Trac
wp-trac at lists.automattic.com
Sat Oct 16 22:48:50 UTC 2010
#15137: Wordpress 3.0.1, Twentyten Theme, functions.php is incomplete
---------------------------+------------------------------------------------
Reporter: sunny_balanga | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.0.1
Severity: normal | Keywords:
---------------------------+------------------------------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15137>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list