[wp-trac] [WordPress Trac] #60358: Add: Add original_source and author_text to the templates rest API.
WordPress Trac
noreply at wordpress.org
Tue Jan 30 11:29:09 UTC 2024
#60358: Add: Add original_source and author_text to the templates rest API.
--------------------------------------+-------------------------------
Reporter: jorgefilipecosta | Owner: jorgefilipecosta
Type: enhancement | Status: reopened
Priority: normal | Milestone: 6.5
Component: REST API | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-------------------------------
Changes (by david.binda):
* status: closed => reopened
* resolution: fixed =>
Comment:
Sorry for re-opening the ticket, but I have noticed a minor issue in the
modified PHPUnit tests introduced in r57374 .
The newly expected `original_source` and `author_text` fields should have
more appropriate message passed to the `assertArrayHasKey` method, but
have a copy of the message used for the `parent` field.
See the attached diff.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60358#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list