[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 07:59:53 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 henry.wright):
Hey @DrewAPicture
In the commit, if {{{post_type_obj->description}}} isn't set,
{{{$description}}} doesn't get set. Does that matter?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38487#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list