WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 5 weeks ago

#46820 closed defect (bug) (worksforme)

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

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

Description

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 2 years ago.

Download all attachments as: .zip

Change History (3)

@xkon
2 years ago

#1 @williampatton
2 years 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.

#2 @xkon
5 weeks ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

While looking at my list & revisiting this, I'll close as worksforme since I can't reproduce any more & seems to be working as expected :).

Note: See TracTickets for help on using tickets.