About this topic

  • Posted by jadenblack 1 year ago. There are 3 posts. The latest reply is from byron.
  • This topic is not resolved

Tags

  1. Hi again Byron...

    I'm using SSL for each page of a multi-step application and the PS upload form seems to break when initiated from the PS post loaded via https. It goes back to working if you reload the post with http.

    Really need to load using https, because otherwise the user gets a warning message about navigating away from a secure page.

    Any ideas on how I would hack or modify a solution?

    Thanks, Jaden

    p.s. if you need a test page to see what's going on you can look at: https://bluegenieartbazaar.com/applications/photos-65/

  2. Hi Jaden,

    I think I know what might be going...please see Otto's comments on this post: http://weblogtoolscollection.com/archives/2010/05/06/adding-scripts-properly-to-wordpress-part-1-wp_enqueue_script/

    I've been using the WP_*_URL constants (which are documented, while the functions were not last time I checked). I need to switch to using plugins_url().

    I'll do that and post the updated files to the Development version on WordPress...you can test it out. It'll probably be later tonight or tomorrow before I can get that accomplished.

    The main file that needs to be updated is: bwb-photosmash.php

    Replacing WP_PLUGIN_URL with plugins_url()...you have to pay attention to how that function is used to replace the constant, but it should hopefully fix your problem.

    Cheers,

    BB

  3. Just checked, and the functions are now documented: http://codex.wordpress.org/Determining_Plugin_and_Content_Directories

    Cheers,
    Byron

RSS feed for this topic