WordPress.org

Forums

Exec-PHP
Buf Fix: Admin Panel over HTTPS problems (2 posts)

  1. eyalgursoy
    Member
    Posted 1 year ago #

    On WP sites that force SSL in the admin panel, Exec-Php is referencing JS files from HTTP and not HTTPS.

    This can be fixed by adding the following code in wp-content/plugins/exec-php/includes/const.php line 42:

    if (function_exists('plugins_url'))
    	define('ExecPhp_HOME_URL', plugins_url() . '/'. ExecPhp_HOMEDIR);

    change the following if statement from:
    if (defined('WP_PLUGIN_URL'))
    to
    elseif (defined('WP_PLUGIN_URL'))

    https://wordpress.org/plugins/exec-php/

  2. msebald
    Member
    Posted 1 year ago #

    Thank you for this little patch. I do not see any more errors in the admin panel now.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Exec-PHP
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic