WordPress.org

Ready to get started?Download WordPress

Forums

Announcer
$ancr_url logic breaks SSL dynamic switching (2 posts)

  1. lkraav
    Member
    Posted 8 months ago #

    Just doing

    $ancr_url = plugin_dir_url( __FILE__ );

    seems to work properly. Why do you have to build your own magic around WP_CONTENT_URL?

    http://wordpress.org/plugins/announcer/

  2. lkraav
    Member
    Posted 8 months ago #

    By "breaks" I mean that browsers are starting to block mixed content, so Announcer assets won't load over SSL, if siteurl is set as http. This SSL switching is usually done in e-commerce plugin checkout processes.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.