[wp-trac] [WordPress Trac] #62574: Move default template types and template part areas to REST API
WordPress Trac
noreply at wordpress.org
Tue Nov 26 11:52:24 UTC 2024
#62574: Move default template types and template part areas to REST API
-------------------------+-----------------------------
Reporter: gigitux | Owner: gigitux
Type: enhancement | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version:
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
The default template types and template part areas are currently preloaded
via the settings object when the site editor is loaded (see
https://github.com/WordPress/wordpress-
develop/blob/1aa41dea3345c57cffce9059bbad728c86d1471a/src/wp-admin/site-
editor.php#L64-L65). To make these variables accessible to other
components, even when the site editor isn’t loaded, they should be moved
to the REST API.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62574>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list