[wp-trac] [WordPress Trac] #34962: Issues with wp_get_document_title function causing problems with document titles

WordPress Trac noreply at wordpress.org
Fri Dec 18 05:03:01 UTC 2015


#34962: Issues with wp_get_document_title function causing problems with document
titles
--------------------------------------+--------------------
 Reporter:  kasia_codeword            |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  4.4.1
Component:  Themes                    |     Version:  4.4
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+--------------------
Changes (by peterwilsoncc):

 * keywords:  needs-patch => has-patch has-unit-tests


Comment:

 The unit tests and the comments in `wp_get_document_title` do not match.

 In [attachment:34962.diff] I've assumed the comments are correct, can you
 correct me if I'm wrong about #31078 @obenland?

 * Added unit test for the blog page
 * front-page title: `Site name - description`
 * blog-page: `Page name - site name`

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34962#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list