Support » Plugins » [Plugin: WP-SpamFree] Unable to install due to different location of wp-content

  • I changed the default location of wp-content directory through the configuration of these lines in wp-config.php:

    define( 'WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'] . '/another-path' );
    define( 'WP_CONTENT_URL', 'http://blog/another-path');

    But this plugin has the path “/wp-content” hardcoded. 🙁

Viewing 3 replies - 1 through 3 (of 3 total)
  • so change the hardcoded path.. whats the problem with that???

    Thread Starter mm1975

    (@mm1975)

    No problems until a new version of the plugin is released. In fact I already did this for testing, but I don’t want to mess with all the lines of code every time.

    If we have a way to define a constant with this path’s value, why do not use this constant inside the plugin instead of hardcode it?

    Version 1.9.8.2 added the feature you are looking for. I upgraded the code to be compliant with the new customization features in WP 2.6 and up.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP-SpamFree] Unable to install due to different location of wp-content’ is closed to new replies.