WordPress.org

Ready to get started?Download WordPress

Forums

Exec-PHP
Bug fix: Exec-PHP causes dashboard to fail in HTTPS WP site (1 post)

  1. Olathe
    Member
    Posted 10 months ago #

    When Exec-PHP is enabled and the site is set up to force HTTPS, the dashboard will not work properly because it cannot load admin-ajax.php, since it tries to load it from http://servername/wp-admin/admin-ajax.php rather than https://servername/wp-admin/admin-ajax.php.

    This can be fixed by changing a line in wp-content/plugins/exec-php/includes/admin.php:

    'requestFile' => get_option('siteurl'). '/wp-admin/admin-ajax.php',

    to

    'requestFile' => admin_url() . '/admin-ajax.php',

    http://wordpress.org/extend/plugins/exec-php/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.