-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: Image Generation & Edit triggering from WP media library [ED-15079] #27688
Merged
netanelavr
merged 1 commit into
elementor:main
from
netanelavr:ED-14705-media-library-fix
Jun 16, 2024
Merged
Fix: Image Generation & Edit triggering from WP media library [ED-15079] #27688
netanelavr
merged 1 commit into
elementor:main
from
netanelavr:ED-14705-media-library-fix
Jun 16, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
matipojo
approved these changes
Jun 16, 2024
netanelavr
added a commit
to netanelavr/elementor
that referenced
this pull request
Jun 16, 2024
If for any reason this may be helpful (in the future): this is the error log I got when having the Real Media Library plugin enabled. Disabling it would fix the error 500 with the editor. Please see error log and system info attached.
|
Closed
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Checklist
PR Type
What kind of change does this PR introduce?
Summary
This PR can be summarized in the following changelog entry:
Ensure that Elementor AI will work on the Media Library only in the Admin Dashboard
Description
Some plugins seem to be doing something wrong, and they are running the WP media library popup on the visitors side (the website, instead of the admin dashboard).
It caused Elementor AI to run too, but Elementor AI was not designed to work on the visitors side.
So, we added a condition to ensure that Elementor AI will work on the Media Library only in the Admin Dashboard, even when a plugin runs it on the visitors side.
Test instructions
This PR can be tested by following these steps:
Quality assurance
Fixes #