Opened 5 years ago
Closed 4 years 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.
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.