PHP Snippets
[resolved] Snippets disappeared (2 posts)

  1. AlexHendersonGeordieSoft
    Posted 3 years ago #

    All my snippets have disappeared. I'm correlating this with an update to version 0.8. The snippets were located in the '...\wp-content\plugins\php-snippets\snippets' directory on a Windows 2003 server running IIS. They also disappeared from a separate site on a Linux server. The only snippets remaining are the defaults ones.

    Can I ask that someone check the update process to make sure that directories are not deleted during an update.

    Can I further suggest that people store their snippets elsewhere!

    Thankfully I've located a backup, so all is well here.

    Otherwise, I like the plugin and will continue to use it.


  2. fireproofsocks
    Plugin Author

    Posted 2 years ago #

    Do not EVER edit files in the plugin's directory: this is what gets overwritten by WordPress during updates (as you discovered). The plugin allows for you to define your own custom location where you should store your custom work. See the docs: https://code.google.com/p/wordpress-php-snippets/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • PHP Snippets
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic