Support » Plugin: Rotating Tweets (Twitter widget and shortcode) » yourstyle.css being deleted after upgrade thru WordPress

  • Resolved darwood

    (@darwood)


    Martin,

    I have noticed that if i update Rotating Tweets thru WordPress it deletes the yourstyle.css file. Not sure if this is a WordPress plugin update thing or Rotating Tweets. I have not been using WordPress for that long i recently updated to 3.5.1 and the last two Rotating Tweets updates had the same thing happen the last being 1.3.16. Not sure if this was happening prior. Thanks.

    http://wordpress.org/extend/plugins/rotatingtweets/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Martin Tod

    (@mpntod)

    It is. And I’m not sure how to stop this.

    I may need to withdraw the function. Alternatively I may need to find somewhere else to put the file.

    I’ll look into it.

    Martin

    Plugin Author Martin Tod

    (@mpntod)

    I’ve been reading around and it won’t be possible to make this work by storing the file in the plugins/rotatingtweets/css/ directory since this gets deleted with every upgrade.

    We’re going to have to put it somewhere else:

    • wp-content/
    • wp-content/plugin-css/ (although probably with a different filename – not yourstyle.css?)
    • wp-content/rotatingtweets/
    • wp-content/uploads/

    I don’t really mind! Any preference?

    Plugin Author Martin Tod

    (@mpntod)

    PS: In theory, I can make the plug-in look in all of the above – although it may slow things down a bit!

    Probably the best place would be wp-content/plugin-css/ and call it rotating-tweets.css.

    Another option would be to save the css as part of the settings, those stay intact after an upgrade.

    Thank you for looking in to this.

    Plugin Author Martin Tod

    (@mpntod)

    I’ve ended up going with wp-content/uploads/rotatingtweets.css – which is now supported by the latest version of the plug-in.

    I thought about saving the settings, but was concerned that it adds quite a bit of complexity.

    The functionality was originally created to allow personalisation back in the days when the plug-in only supported one format of tweet!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘yourstyle.css being deleted after upgrade thru WordPress’ is closed to new replies.