Support » Plugin: Custom Favicon » SSL Support

  • On line 115 of custom-favicon.php your plugin enqueues the javascript file for the admin using WP_PLUGIN_URL.

    This means the js file is blocked on modern browsers by default if you are using SSL admin because it tries to load the file over http instead of https.

    The proper way to do this is to use plugins_url(), as noted here: http://codex.wordpress.org/Determining_Plugin_and_Content_Directories

    WordPress makes use of the following constants when determining the path to the content and plugin directories. These should not be used directly by plugins or themes

    I’ve patched this on my local version, any chance you can add this to your next update?

    https://wordpress.org/plugins/custom-favicon/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘SSL Support’ is closed to new replies.