I’m afraid this plugin is not working (at least for me) in WP 2.7 because when a file is first uploaded to the default folder the corresponding row in db table wp_postmeta holds just the filename, not path and filname. So
does not get the right value. That is why
does not work and returns false.
Maybe you should check if the filename is stored with or without path in wp_postmeta and construct $attachment_path accordingly.
- The topic ‘Plugin relocate-upload – Not quite working in 2.7’ is closed to new replies.