[Plugin: FeedWordPress] Syndication admin pages break if wp-content is renamed
-
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.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: FeedWordPress] Syndication admin pages break if wp-content is renamed’ is closed to new replies.