[wp-trac] [WordPress Trac] #26811: twentythirteen : unperfect wp_title filter in functions.php

WordPress Trac noreply at wordpress.org
Sat Jan 11 08:52:55 UTC 2014


#26811: twentythirteen : unperfect wp_title filter in functions.php
---------------------------+-----------------------------
 Reporter:  michelwppi     |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:  3.8
 Severity:  normal         |   Keywords:
---------------------------+-----------------------------
 as developer of xili-language multilingual plugin, after a support
 enquiry, I discover that wp_filter (twentythirteen_wp_title function)
 inside functions.php of 2013 show a issue:
 [[BR]]

 to display blogname you forgot to add second parameter 'display' in

 {{{
 get_bloginfo ('name');
 }}}

 as done in wp_title for description ( see #25808 )...

 {{{
 get_bloginfo ('name', 'display');
 }}}

 By using this parameter, get_bloginfo is filterable (apply_filters at end
 of function get_bloginfo ) as wp_title used in header...
 I think it will be coherent to be done in parent 2013 and not with a
 remove filter in child theme and add a new fixed filter...

 Happy new year

 M.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26811>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list