[wp-trac] [WordPress Trac] #34516: wp_get_document_title() and post type archives by author

WordPress Trac noreply at wordpress.org
Thu Nov 19 17:08:35 UTC 2015


#34516: wp_get_document_title() and post type archives by author
--------------------------+-----------------------
 Reporter:  greenshady    |       Owner:  obenland
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.4
Component:  Themes        |     Version:  trunk
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  template
--------------------------+-----------------------
Changes (by obenland):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"35706"]:
 {{{
 #!CommitTicketReference repository="" revision="35706"
 Template: Use `template-loader.php` as cononical source of truth for
 conditional ordering.

 Reverts [35700] which didn't account for author archives without posts.
 Determination of the correct title is now based on the same order of
 conditionals that template loader uses to select the right template.

 H/t ocean90.
 Fixes #34516.
 }}}

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


More information about the wp-trac mailing list