Wrong initial pattern category selected by default -- Fix#68801
Wrong initial pattern category selected by default -- Fix#68801rinkalpagdar wants to merge 2 commits intoWordPress:trunkfrom
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
The problem with this approach is that now other components can not pass the pattern category as a parameter: it is always set to the starter content.
For example, in the zoom out mode, all categories are supposed to show: Like I wrote on the issue I was also working on this. This is what I found out: Where in the zoom out mode inserter (linked above), the category name is also wrong; the pattern preview is expecting "allPatterns" to show all patterns, not "all" |
|
Yes Right @carolinan |
|
I agree with @carolinan. This shouldn't be resolved by hardcoding the values. The #68806 seems to be moving in the right direction. |
|
Closing this. The original feature was reverted. |
Part of #68736
What?
The default category selection was modified to add a new page.
Why?
The wrong initial pattern category was selected by default while "Add new page"
Testing Instructions
Screenshots or screencast