[wp-trac] [WordPress Trac] #35385: Able to get raw content by calling get_the_archive_description

WordPress Trac noreply at wordpress.org
Thu Jun 4 05:43:32 UTC 2020


#35385: Able to get raw content by calling get_the_archive_description
--------------------------------------+-----------------------
 Reporter:  wido                      |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:
Component:  Taxonomy                  |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  template
--------------------------------------+-----------------------

Comment (by markparnell):

 @wido I notice the patch introduces a boolean `$raw` parameter - perhaps
 it would be better to use a string `$context` as that can be extended
 later to accept additional values. Plus it's more consistent with
 `get_term_field()` which you referenced in your initial report.

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


More information about the wp-trac mailing list