WordPress.org

Ready to get started?Download WordPress

Forums

PHP Snippets
[resolved] Snippets disappeared (2 posts)

  1. AlexHendersonGeordieSoft
    Member
    Posted 1 year 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.
    Alex

    http://wordpress.org/extend/plugins/php-snippets/

  2. fireproofsocks
    Member
    Plugin Author

    Posted 1 year 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

About this Topic