Support » Plugins » [Plugin: Enable Media Replace] Bug and suggested resolution:

Viewing 4 replies - 1 through 4 (of 4 total)
  • Your solution makes assumptions about the location of WordPress folders and is therefore not recommended.

    What is the error you are getting with your include?

    /M;

    Kruncher makes assumptions about the location of WordPress folders but so di you in upload.php. You should have different approach since wp-content directory can have a different name.

    Also, instead of get_bloginfo("wpurl") . "/wp-admin/upload.php you should use admin_url( 'upload.php' ) (same applies to other link to /wp-admin pages).

    Oh, and some gettext functions miss textdomain.

    Thanks for the heads up. I will take another look at the locations in my next revision, and also look over the gettext functions.

    I just committed version 2.4 which fixes this issue. Try it out!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Enable Media Replace] Bug and suggested resolution:’ is closed to new replies.