WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. eyalgursoy
    Member
    Posted 4 months 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 4 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic