WordPress.org

Ready to get started?Download WordPress

Forums

WordPress HTTPS (SSL)
Great (1 post)

5 stars
  1. websupporter
    Member
    Posted 8 months ago #

    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!!!!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.