Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author JW Themes

    (@jwthemes)

    Yea we are sorry for that, this will happens for first time you update from the older one but for upcoming updates this will not happen.
    This is due to the older plugins was storing images on plugin’s folder and that was bad idea to store and we have made update of code to store in uploads folder and also fixed some security issues.

    You’re not storing in the uploads folder properly.

    By using $upload_dir=wp_upload_dir();echo $upload_dir[“url”] you are messing things up if the month changes between when the logo was uploaded and then the logo is being displayed, if the user’s uploads folder is being divided by year/month (as mine is).

    You should probably be using $upload_dir[“baseurl”] instead.

    Oh, and use $upload_dir[‘basedir’] instead of $upload_dir[‘path’] as well, when saving files.

    Plugin Author JW Themes

    (@jwthemes)

    hello Drywallbulb,
    We are new and just started developing some plugins so we need guides from experts such as you.
    thanks a lot buddy, we really appreciate your contribution.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Update’ is closed to new replies.