[wp-trac] [WordPress Trac] #39863: HTML description property of term in WP_REST_Terms_Controller lacks display filters
WordPress Trac
noreply at wordpress.org
Sun Mar 26 01:29:53 UTC 2017
#39863: HTML description property of term in WP_REST_Terms_Controller lacks display
filters
--------------------------+------------------------------
Reporter: davecpage | Owner: joehoyle
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Changes (by joehoyle):
* owner: => joehoyle
* status: new => assigned
Comment:
Hmm well spotted. I don't think applying the filter on the current field
would make sense as we run into the lossy issue of pushing the rendered
value back to the DB.
I think to be backwards compatible we'd need to add a new field
`description_rendered` which I'm not wild about. I'm interested in what
@rmccue thinks here. I think we need to define a general precedent (which
maybe we already have that I'm not aware of!) as this kind of problem
could crop up again.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39863#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list