[wp-trac] [WordPress Trac] #54448: Missing rest api endpoint when exporting templates and template parts
WordPress Trac
noreply at wordpress.org
Sun Dec 5 13:10:27 UTC 2021
#54448: Missing rest api endpoint when exporting templates and template parts
---------------------------------------------+-----------------------------
Reporter: walbo | Owner:
| TimothyBlynJacobs
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 5.9
Component: Editor | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests commit | Focuses: rest-api
---------------------------------------------+-----------------------------
Changes (by dlh):
* status: closed => reopened
* resolution: fixed =>
Comment:
[52286] doesn't return the error in
`\WP_REST_Edit_Site_Export_Controller::permissions_check()`, only creates
it. The method always returns `true`. The error code also appears to be
copied from `\WP_REST_URL_Details_Controller`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54448#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list