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

WordPress Trac noreply at wordpress.org
Sun Jun 7 08:45:06 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 wido):

 Replying to [comment:6 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.

 Please have a look at
 https://core.trac.wordpress.org/ticket/35385#comment:3

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


More information about the wp-trac mailing list