[wp-trac] [WordPress Trac] #34656: the_archive_description doesn't display the custom post type description

WordPress Trac noreply at wordpress.org
Wed Nov 11 10:34:45 UTC 2015


#34656: the_archive_description doesn't display the custom post type description
-------------------------------+-----------------------------
 Reporter:  overclokk          |      Owner:
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:  4.3.1
 Severity:  normal             |   Keywords:
  Focuses:  template           |
-------------------------------+-----------------------------
 A while ago a I found this bug, in CPT archive the the_archive_description
 function doesn't display the description arguments of the
 register_post_type(), it displays only description for other post type.

 To replicate this bug you can create a new custom post type and add a
 dummy description in the $args variable and see it in archive.php and
 CPT's archive page.

 Patch created at #wpcdit, the first Italian WordPress Contributor Day with
 Nikolay Bachiyski

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34656>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list