Direct media library upload saving in wrong month date folder in custom theme

Question

I have an issue in my custom theme.

Direct media library upload saving in wrong month date folder (2017/03) when current date is 2018/09. But when I upload images through post it goes to the correct folder.

I have tested in default theme, Direct media library upload goes to the correct folder. So the issue is in my custom theme. But I am not sure where to look at. In which file of my theme has the issue? Help is much appreciated.

Thanks in advance.

0
Westzonesolution Corp 4 months 0 Answers 9 views 0

Leave an answer