Make WordPress Core

Opened 19 months ago

Last modified 19 months ago

#46820 new defect (bug)

Theme & Plugin Editor always return the "Unable to communicate back with..." message when editing locally over https

Reported by: xkon Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: General Keywords: dev-feedback 2nd-opinion has-screenshots
Focuses: Cc:


Splitting this up from #46045.

When using a local setup that supports ssl certs so it's possible to view the site over https both editors always return Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP. .

There's no need even to change any code as well simply viewing a .php file and clicking on Update File throws the notice.

To be more specific just in case more can replicate I'll split some cases:

Https + active theme / plugin. Result : Unable to communicate back..

Https + inactive theme / plugin. Result : File edited successfully.

Http + active theme / plugin. Result : File edited successfully.
Http + inactive theme / plugin. Result: File edited successfully.

Attachments (1)

1554547051.jpg (384.2 KB) - added by xkon 19 months ago.

Download all attachments as: .zip

Change History (2)

19 months ago

#1 @williampatton
19 months ago

Just throwing an idea in here. Maybe it is related to cert validation (since WP won't trust your local cert authority in many cases). May be completely off the mark there but it's my initial thoughts when reading about the problem.

Note: See TracTickets for help on using tickets.