[wp-trac] [WordPress Trac] #40040: Run wpautop on author bio

WordPress Trac noreply at wordpress.org
Thu Jul 27 22:02:55 UTC 2017


#40040: Run wpautop on author bio
----------------------------------------+--------------------------
 Reporter:  henry.wright                |       Owner:  johnbillion
     Type:  enhancement                 |      Status:  reopened
 Priority:  normal                      |   Milestone:  4.9
Component:  Formatting                  |     Version:  4.7
 Severity:  normal                      |  Resolution:
 Keywords:  needs-unit-tests has-patch  |     Focuses:  template
----------------------------------------+--------------------------
Changes (by henry.wright):

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


Comment:

 Replying to [comment:14 johnbillion]:
 > @henry.wright since #38487, a post type archive description cane be
 output by `the_archive_description()` too, but it also lacks `wpautop()`
 etc. Wanna knock up a patch?

 Sure! 40040.1.diff is my stab at it. I first created a function to get the
 post type archive description and make that description filterable. I then
 used the new filter in default-filters.php.

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


More information about the wp-trac mailing list