Skip to content

Framework: redirecting to wp-admin URL #867

@youknowriad

Description

@youknowriad

In some places, we need to build and redirect to wp-admin URLs. In order to achieve this, we'll have to provide the baseUrl of wp-admin to JS.

We're already building URLs to the gutenberg editor by parsing the current URL and appending a query string but this not enough to navigate to other wp-admin pages. (see #862 (comment))

How do you think we should do this? append the base URL to the settings endpoint? provide a global JS variable while initializing the Editor?

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrameworkIssues related to broader framework topics, especially as it relates to javascript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions