WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 17 months ago

#44897 new defect (bug)

Theme installed success message not showing

Reported by: anilhada Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.8
Component: Themes Keywords: has-screenshots
Focuses: ui, administration Cc:

Description

How to get bug:-

First go on Appearance - > Theme -> add new

  1. Click on uninstall theme Preview button. after that preview page will open.
  2. Click on install button and same time click on next button near by install button.
  3. Next theme preview page open again click on install button and click on close button.

In this case we are install two theme but install massage will appear on only one theme.

Attachments (3)

Screenshot_1.png (112.7 KB) - added by anilhada 2 years ago.
Screenshot_2.png (95.6 KB) - added by anilhada 2 years ago.
Screenshot_3.png (601.6 KB) - added by anilhada 2 years ago.

Download all attachments as: .zip

Change History (6)

@anilhada
2 years ago

@anilhada
2 years ago

@anilhada
2 years ago

#1 @mukesh27
2 years ago

  • Focuses ui administration added
  • Keywords has-screenshots added

#2 @SergeyBiryukov
2 years ago

  • Summary changed from Theme installed success massage not showing to Theme installed success message not showing

#3 @joyously
17 months ago

Is this scenario a little fishy? I'm not sure how that theme preview overlay is coded, but by navigating away from the page of the theme that is installing, the javascript handling the messages from the server could have been replaced, so how would it receive or display the message?
(I'm surprised the test case didn't go further, and show that there was an error when clicking on the Install button for the theme that didn't get the "successfully installed" message.)

So does the fix involve moving the javascript into the Theme page instead of in the overlay?
Or is it more like "Don't do that"?

Note: See TracTickets for help on using tickets.