[wp-trac] [WordPress Trac] #56908: The result of locate_block_template function might be wrong
WordPress Trac
noreply at wordpress.org
Fri Nov 4 06:21:09 UTC 2022
#56908: The result of locate_block_template function might be wrong
------------------------------------------+------------------------------
Reporter: arthur791004 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 5.8
Severity: normal | Resolution:
Keywords: has-patch needs-testing-info | Focuses:
------------------------------------------+------------------------------
Comment (by arthur791004):
Okay, here is the testing info, and it's related to
https://github.com/Automattic/wp-calypso/issues/69687.
== Testing Instructions
These steps define how to reproduce the issue, and indicate the expected
behavior.
=== Steps to Reproduce
1. Go to your WP.com site, e.g:
https://wordpress.com/home/<your_site_domain>
2. Go to Appearance > Themes
3. Activate a theme whose homepage template is `home.html`, e.g.:
Pendant/Cultivate/Archeo/Yuga. Remember to select the "Replace my homepage
content with the XXX homepage." option.
4. Go to Appearance > Themes again, and select a theme whose homepage
template is `index.html`, e.g.: Appleton/Dorna/Russell/Pixl.
5. You will see the preview for the "Switch theme, preserving my homepage
content." option is always loading
=== Expected Results
When testing a patch to validate it works as expected:
- ✅ The preview for the "Switch theme, preserving my homepage content."
option will show
When reproducing a bug:
- ❌ the preview for the "Switch theme, preserving my homepage content."
option is always loading
=== Supplemental Artifacts
[[Image(https://imgur.com/6sWzKp3)]]
Thanks 🙂
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56908#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list