Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor sociable

    (@sociable)

    Hi Dan Collis-Puro,

    We will review this, thanks for help to improve sociable together

    Thanks again!

    Thread Starter Dan Collis-Puro

    (@djcp)

    Thanks. The issue is pretty clear.

    WP_PLUGIN_URL is not https:// versus https:// aware. The function plugin_dir_url() is. So, change:

    define( 'SOCIABLE_HTTP_PATH' , WP_PLUGIN_URL . '/' . str_replace(basename( __FILE__) , "" , plugin_basename(__FILE__) ) );

    to

    define( 'SOCIABLE_HTTP_PATH' , plugin_dir_url() . str_replace(basename( __FILE__) , "" , plugin_basename(__FILE__) ) );

    and the plugin javascript/css embeds should be https aware and you will no longer have mixed content errors.

    It would appear that the linkedin embed is improperly emitting https:// embeds under https, though. It’d be great to either use schemaless URLs or just always use https:// embeds, as including https:// embeds doesn’t generate mixed content errors on an https:// page.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue with sociable and mixed SSL / non-SSL content’ is closed to new replies.