Opened 6 years ago
Closed 6 years ago
#45765 closed defect (bug) (fixed)
Not able to cancel update popup
Reported by: | abhayvishwakarma | Owned by: | desrosj |
---|---|---|---|
Milestone: | 5.1 | Priority: | normal |
Severity: | normal | Version: | 4.8 |
Component: | Plugins | Keywords: | has-screenshots has-patch |
Focuses: | javascript | Cc: |
Description
When I goto Tools->Import and try to install any plugin for importing data, it shows popup which does not get closed.
Please refer the image
https://drive.google.com/file/d/1Uh84AuWvKBu_CfaolL4fpMzoJg7hXFep/view?usp=sharing
Attachments (3)
Change History (14)
#2
@
6 years ago
Hi,
Welcome here.
Looks you have permission error on the site.
Add this code to the WordPress wp-config.php file.
define('FS_METHOD', 'direct');
Your problem will be solved.
Let me know it works or not.
#3
@
6 years ago
I know that we can use this constant, but the issue is with the popup.
Please see the Screenshot2
#4
@
6 years ago
- Component changed from General to Plugins
- Focuses javascript added
- Keywords has-screenshots needs-patch added
- Milestone changed from Awaiting Review to 5.1
- Version set to 4.8
The JS error Uncaught TypeError: Cannot read property 'replace' of undefined
happens when trying to close the modal, either by clicking on the "Cancel" button or when clicking outside of the modal.
Seems to me this error has been introduced in WP 4.8, couldn't reproduce in 4.7.
#5
@
6 years ago
Seems to me [40034] changed the l10n string installNowLabel
to pluginInstallNowLabel
but installNowLabel
is still used for the importers.
#6
@
6 years ago
- Keywords has-patch added; needs-patch removed
- Milestone changed from 5.1 to 5.0.3
45765.diff uses pluginInstallNowLabel
and updates the default string for consistency.
#8
@
6 years ago
I was able to reproduce this on 5.0.2. 45765.diff fixed the issue for me. @abhayvishwakarma are you able to test this patch and confirm? Otherwise, looks good!
WordPress Version 5.0.2