Skip to content

REST API: Support subdirectory themes in the Themes controller.#1793

Closed
TimothyBJacobs wants to merge 3 commits intoWordPress:masterfrom
TimothyBJacobs:fix/54349
Closed

REST API: Support subdirectory themes in the Themes controller.#1793
TimothyBJacobs wants to merge 3 commits intoWordPress:masterfrom
TimothyBJacobs:fix/54349

Conversation

@TimothyBJacobs
Copy link
Copy Markdown
Member

This allows for themes that are included inside of a subdirectory, for example subdir/my-theme, to be accessed via the single item route of the wp/v2/themes controller.

Fixes #35985.

Trac ticket: https://core.trac.wordpress.org/ticket/54349


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

This allows for themes that are included inside of a subdirectory, for example subdir/my-theme, to be accessed via the single item route of the wp/v2/themes controller.

Fixes #35985.
Copy link
Copy Markdown
Contributor

@adamziel adamziel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants