[wp-trac] [WordPress Trac] #23774: Twenty Ten/Eleven: Use a filter to modify the output of wp_title()

WordPress Trac noreply at wordpress.org
Thu Mar 14 18:38:18 UTC 2013


#23774: Twenty Ten/Eleven: Use a filter to modify the output of wp_title()
-----------------------------+---------------------------
 Reporter:  obenland         |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Bundled Theme
  Version:                   |   Severity:  normal
 Keywords:  has-patch        |
-----------------------------+---------------------------
 This will help to clean up header.php as well as make the first two Twenty
 themes more compatible with the
 [http://codex.wordpress.org/Theme_Review#Function_Parameters.2C_Filters.2C_and_Action_Hooks
 WPTRT guidelines]:

      Themes are required to modify output via filter
 (wp_title/body_class/post_class)

 See {{{twentytwelve_wp_title()}}} in Twenty Twelve for example code.

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


More information about the wp-trac mailing list