Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong path when uploading files to media library #1360

Open
2 tasks
itd-okl opened this issue Mar 10, 2020 · 1 comment
Open
2 tasks

Wrong path when uploading files to media library #1360

itd-okl opened this issue Mar 10, 2020 · 1 comment

Comments

@itd-okl
Copy link

itd-okl commented Mar 10, 2020

Issue Overview

Meta Box is responsible for setting a wrong path when uploading media files to the media library. The files are stored in a wrong year folder.
. Meta Box version: 5.2.7
Used extensions:

  • Meta Box Columns
  • Meta Box Conditional Logic
  • Meta Box Group

Steps to Reproduce (for bugs)

  1. When Meta Box is activated, media files are saved in a a wrong year folder.
  2. When deactivating the plugin, the media files are saved at the right directory.

Expected Behavior

When uploading files via WordPress backend, the files should be stored within the right year folder.

Current Behavior

When uploading files via WordPress backend to the media library, the files are stored in a wrong directory regarding the year and month.

Possible Solution

Screenshots / Video

Related Issues and/or PRs

Todos

  • Tests
  • Documentation
@Longkt
Copy link

Longkt commented Mar 26, 2020

Hi @okl7

I cannot reproduce this issue on my end. In regular, the WordPress core uses the time when uploading the image to save to the corresponding folder year/month/image-file and in my local site the image is uploaded to the right path as well.

Could you please switch to the default theme of WordPress (Twenty Twenty) then upload the image again? And please take some screenshots about Attachment Details.
https://cl.ly/36d4b405c4d7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants