• Resolved Alexey

    (@dvascheta)


    Hello!

    I have wp-content directory renamed on my site. I’ve just installed your plugin and opened plugin settings. There are paths for defalut image and files to be uploaded. These paths start with “wp-content”, but not my real directory name.

    It seems that these paths are hardcoded in plugin installer. You should get settings from wp-config.php:

    define( ‘WP_CONTENT_DIR’
    or
    define( ‘WP_CONTENT_URL’

    and use directory set in these lines, it will be correct.

    Regards,
    Alexey.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author xnau webdesign

    (@xnau)

    Yes, you’re right about that… I didn’t know about these when I built those sections of the plugin.

    However, these are only used for settings defaults, you can use your own path for both the image upload location and the default image.

    Thread Starter Alexey

    (@dvascheta)

    I’ve already changes, just decided to write you.

    Thank you for your work and this plugin!

    Regards,
    Alexey.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp-content dir hardcoded’ is closed to new replies.