WordPress.org

Ready to get started?Download WordPress

Forums

Widget Context
Please add support for admin behind https (1 post)

  1. danielskantze
    Member
    Posted 2 years ago #

    When using https for the admin interface, you will get warnings for loading styles from http. This is because the WP_CONTENT_URL constant is used. Please change this to plugins_url() instead - which takes the protocol into account. You could change it to something like this (line 40):

    $this->plugin_path = plugins_url() . '/'. plugin_basename(dirname(__FILE__)) . '/';

    Best
    Daniel Skantze

    http://wordpress.org/extend/plugins/widget-context/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic