Support » Plugin: WordPress HTTPS (SSL) » Great

  • Well, I wanted to rate this all the time five stars. Then I ran into a problem, while developing one of my themes.

    I needed to output a picture by header( ‘content:image/jpeg’ ) and it wasn’t able to display. I was looking and looking and found, that this Plugin creates output before I output my Image. Damm, reading the FAQ, searching a bit. Nothing found. Oh no, I have to write in the support section.

    No lets find the error, where does he have something like <?php? Turns out: Nowhere, it would bother me.

    And then I see:
    if ( ! defined('WP_UNINSTALL_PLUGIN') ) {

    Great. So I define
    define( 'WP_UNINSTALL_PLUGIN', true );
    in the file, where I need to output my picture, where you obviously dont need to parse HTML etc. and done! Just like that.

    A beautiful constant 🙂 A beautiful tool! Thanks a lot!!!!

  • The topic ‘Great’ is closed to new replies.