[wp-trac] [WordPress Trac] #57379: A Way to Disable Export Theme
WordPress Trac
noreply at wordpress.org
Thu Aug 1 17:31:50 UTC 2024
#57379: A Way to Disable Export Theme
----------------------------------------+---------------------
Reporter: unsalkorkmaz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.7
Component: Administration | Version: 6.1.1
Severity: major | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+---------------------
Comment (by TimothyBlynJacobs):
I think ideally this would end up getting exposed by the client doing an
`OPTIONS` or `HEAD` request to the export endpoint.
I think a link would also be a good idea. But instead of an action link,
we could link to the export endpoint using a rel like `w:export-theme` if
the theme is a block theme, and include an appropriate `targetHint`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57379#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list