[wp-trac] [WordPress Trac] #38487: the_archive_description() doesn't output the custom post type description when used in a post type archive template

WordPress Trac noreply at wordpress.org
Sat Jul 1 14:23:01 UTC 2017


#38487: the_archive_description() doesn't output the custom post type description
when used in a post type archive template
-------------------------------+---------------------------
 Reporter:  henry.wright       |       Owner:  DrewAPicture
     Type:  enhancement        |      Status:  closed
 Priority:  normal             |   Milestone:  4.9
Component:  Posts, Post Types  |     Version:  4.6.1
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:  template
-------------------------------+---------------------------

Comment (by DrewAPicture):

 In [changeset:"40983"]:
 {{{
 #!CommitTicketReference repository="" revision="40983"
 General: Ensure `$description` gets initialized in
 `get_the_archive_description()` if the post type archive conditional is
 true and the description isn't set.

 Props henrywright.
 See #38487.
 }}}

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


More information about the wp-trac mailing list