Opened 11 months ago
Last modified 5 weeks ago
#60644 reopened enhancement
When theme installation fails, add a link to return to theme installer page
Reported by: | pmbaldha | Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | |
Component: | Themes | Keywords: | has-patch |
Focuses: | Cc: |
Description
When for any reason a theme installation fails (If the user uploads a zip file other than the theme zip file) you will be confronted with an error and there is no way out.
Screenshot: https://nimb.ws/OK9mRU1
Of course, you can use the browser's built-in back button, but still it would be nice to offer an additional link "Go to Theme Installer" (leading to wp-admin/theme-install.php)
Attachments (4)
Change History (10)
#1
@
11 months ago
- Milestone Awaiting Review deleted
- Resolution set to duplicate
- Status changed from new to closed
#2
@
11 months ago
- Keywords needs-patch added
- Milestone set to Future Release
- Resolution duplicate deleted
- Status changed from closed to reopened
#3
@
2 months ago
@pmbaldha - Fixed the issue by adding "Go to Theme Installer" link when the theme installation fails. I have attached the screenshot and the latest patch file (final.patch).
cc - @swissspidy
@
2 months ago
Latest Patch file for adding "Go to Theme Installer" link if theme installation fails.
@
2 months ago
Final Patch file for adding "Go to Theme Installer" link if theme installation fails.
#5
@
6 weeks ago
@swissspidy - Can you please take a look at the final.patch file. Thanks in advance.
#6
@
5 weeks ago
Test Report
Description
This report validates whether the indicated patch works as expected.
Patch tested: https://core.trac.wordpress.org/attachment/ticket/60644/final.patch
Environment
- WordPress: 6.8-alpha-59506
- PHP: 8.1.29
- Server: nginx/1.16.0
- Database: mysqli (Server: 8.0.16 / Client: mysqlnd 8.1.29)
- Browser: Chrome 131.0.0.0
- OS: macOS
- Theme: Twenty Fifteen 3.9
- MU Plugins: None activated
Actual Results
- ✅ Issue resolved with patch.
Additional Notes
Hi @pmbaldha,
I believe this is a valuable improvement to the user experience. I have tested the patch provided by @karthickmurugan (https://core.trac.wordpress.org/attachment/ticket/60644/final.patch), and it resolves the issue.
For reference, I have also included the screencast below to showcase the fix in action.
Supplemental Artifacts
https://utfs.io/f/TnWMEUzoUd85NlZzaZRQlpDsFZMeHW21jnYBKOUtIxyibgfh
Heya, as noted on #60578 your existing PR there already does this. No need for an extra ticket that‘s essentially a duplicate.9