CKEditor plugin, Uploading where admin is restricted to https
-
CKEditor plugin seems to be unable to upload images when https is forced on a wordpress site. The follow patch to ckeditor_class.php, to “function __construct()” fixes the issue, add these lines before define(‘CKEDITOR_PLUGIN_URL’, $this->plugin_path); :
if($_SERVER['HTTPS']) { $siteurl = str_replace('http:', 'https:', $siteurl); $this->plugin_path = str_replace('http:', 'https:', $this->plugin_path); }
Regards,
Steve
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘CKEditor plugin, Uploading where admin is restricted to https’ is closed to new replies.