WordPress.org

Ready to get started?Download WordPress

Forums

Recommend to a friend
Relative wordpress include not working if wp-content has been moved (1 post)

  1. benjamin.anakena
    Member
    Posted 4 months ago #

    Hi,
    I've found an issue in the file "inc/raf_form.php".

    The wordpress environment loading in line 3 ("require_once( dirname(__FILE__) . '../../../../../wp-load.php' );") is not working if the "wp-content" directory has been moved to a different location.

    For example in my configuration my structure is:
    -> wp
    -> wp/wp-admin
    -> wp/wp-includes
    -> wp-content

    So as wp-content is not placed in the wp folder your relative path is broken. I manually changed it in the file but could you get it fixed in next release?

    Thank you

    https://wordpress.org/plugins/recommend-a-friend/

Reply

You must log in to post.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 4 months ago by benjamin.anakena
  • This topic is not resolved
  • WordPress version: 3.8.1

Tags

No tags yet.