Forums

FeedWordPress
Syndication admin pages break if wp-content is renamed (2 posts)

  1. CraigC
    Member
    Posted 1 year ago #

    In feedwordpress.php around line 117 is:

    '|/wp-content/plugins/(.+)$|',

    If the wp-content folder is renamed (as is our option after WP 2.6), that hard-coded reference causes several breakages, most noticeably that none of the syndication admin pages is accessible (PHP errors are thrown).

    Instead of hard-coding the directory name, it's preferable to use the declared variable "WP_CONTENT_DIR":

    '|' . WP_CONTENT_DIR . '/plugins/(.+)$|',

    This seems to fix the issue.

    http://wordpress.org/extend/plugins/feedwordpress/

  2. radgeek
    Member
    Posted 1 year ago #

    CraigC,

    Thanks for the catch. I've incorporated the fix into the development branch of FeedWordPress; it should be included in the next public release.

    -C

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic