Incorrect wp_attached_file
-
Recently updated our Add From Server install to 3.3.1, since then when we add a file, it goes through correctly and appears in the media window with the correct file path on the right (as in it links to https://…./uploads/2015 etc)
However when another plugin pulls the path to encode a video file, it fails as the string is listed as the full path and then the upload path twice (drive:/websitepath/wp-content/uploads/2015/filename//uploads/2015/filename)When I have looked into the SQL database all previous files imported under _wp_attached_file have the path that starts from the date so it is 2015/11/filename
All the ones after the update are listed as (drive:/websitepath/wp-content/uploads/2015/filename) which is then incorrect for other software trying to use itIs this a recent change? Should the wp_attached_file attribute list the drive letter and full path or not? Is this not a security risk
- The topic ‘Incorrect wp_attached_file’ is closed to new replies.