Skip to content

Conversation

@ramonjd
Copy link
Member

@ramonjd ramonjd commented Jun 25, 2023

Backporting changes from WordPress/gutenberg#46248

Ignore empty templates when looking up a fallback template.

I've copied the changes across from WordPress/gutenberg#46248 but might need a second eye from @jorgefilipecosta or @youknowriad to confirm.

props @jorgefilipecostac

Test npm run test:php -- --filter Tests_REST_WpRestTemplatesController

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


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.

@ramonjd ramonjd force-pushed the update/rest-template-controller-callback branch from 89ed89f to f377ce7 Compare June 26, 2023 00:09
@tellthemachines
Copy link
Contributor

committed in r56051 / a44e46b.

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

Labels

None yet

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

5 participants