Make WordPress Core

Opened 6 years ago

Closed 15 months ago

Last modified 15 months ago

#50554 closed defect (bug) (invalid)

Do not use iframe for plugin information dialog

Reported by: techboyg5 Owned by:
Priority: normal Milestone:
Component: Plugins Version:
Severity: normal Keywords: close
Cc: Focuses: javascript, administration

Description

When you click a plugin title in the Add Plugins page, the plugin information dialog displays inside an iframe. This causes a problem if your htaccess file has X-Frame-Options: DENY. A solution to this problem would be to not use an iframe for the dialog.

Attachments (1)

xframeoptionsproblem.png​ (218.5 KB ) - added by techboyg5 6 years ago.
A picture describing the issue.

Download all attachments as: .zip

Change History (4)

@techboyg5
6 years ago

A picture describing the issue.

#1 @sabernhardt
6 years ago

  • Component General → Plugins
  • Focuses javascript administration added

#2 @nikunj8866
15 months ago

  • Keywords close added
  • Resolution → invalid
  • Status new → closed

Thanks for the report. The plugin information modal in WordPress admin is designed to load inside an iframe. If the server is configured with the X-Frame-Options: DENY header, browsers will block the iframe from loading, which results in this behavior.

This header is part of the site’s/server's security configuration and not set by WordPress core. Changing it to SAMEORIGIN will allow the modal to work while maintaining protection.

Since this is caused by site-specific configuration rather than a core issue, I'm marking this as invalid.

#3 @peterwilsoncc
15 months ago

  • Milestone Awaiting Review
Note: See TracTickets for help on using tickets.