Anonymous
Unregistered
Posted 1 year ago #
Hi,
I have a problem in 2.6
in the setting, in the Miscellaneous,
i change the "Store uploads in this folder" from Default wp-content/uploads to: picture-sample
after that when i want to upload the picture in write tab, post, in add an image,
the url of picture is for the before of changes, like this:
http://www.my-site.com/wp-content/uploads/2008/08/pic.jpg
While it should be:
http://www.my-site.com/picture-sample/2008/08/pic.jpg
what is the problem?
i use bluehost.com for hosting.
Anonymous
Unregistered
Posted 1 year ago #
ooooooh i found it.
Additional: A new issue in WordPress 2.6 occurs when you have a custom directory for file uploads. The upload will work, but the link/thumbnail link will be wrong and so the image won't appear. This is a bug which can be fixed in one of two ways (either works):
a) Specify the correct URL to the upload directory in the "optional" field just below the custom image path field.
b) There's a new wp-includes/functions.php which will eliminate the issue. Download it and replace your existing wp-includes/functions.php file with it.
thecoup
Member
Posted 12 months ago #
hey folks, is this the best way to fix this problem? Is the correction included in v2.6.5?
thanks...
BobNolin
Member
Posted 10 months ago #
Thank you, Anonymous! Replacing functions.php did the trick! I'm still on 2.6.0, by the way.