Opened 11 months ago
Closed 11 months ago
#60741 closed defect (bug) (fixed)
Remove uneeded upload override settngs in Font Face endpoint
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | REST API | Keywords: | has-patch fixed-major dev-reviewed |
Focuses: | Cc: |
Description
Initially the WP_REST_Font_Faces_Controller::handle_font_file_upload()
method was designed to allow both the uploading of font files and requesting the server download them by passing a URL (such as Google Fonts)
This was subsequently changed to allow the upload of files only so some of the wp_handle_upload()
override settings can now be restored to the default values.
This is required for hardening the endpoint so I've placed it on the 6.5 milestone.
Change History (8)
This ticket was mentioned in PR #6242 on WordPress/wordpress-develop by @peterwilsoncc.
11 months ago
#1
- Keywords has-patch added
#2
@
11 months ago
- Owner set to peterwilsoncc
- Resolution set to fixed
- Status changed from new to closed
In 57804:
@peterwilsoncc commented on PR #6242:
11 months ago
#3
#4
@
11 months ago
- Keywords dev-feedback added
- Resolution fixed deleted
- Status changed from closed to reopened
Reopening for merge to the 6.5 branch
Note: See
TracTickets for help on using
tickets.
Remove unneeded overrides in the font face controllers upload settings.
https://core.trac.wordpress.org/ticket/60741