Title: Templates bug
Last modified: August 21, 2016

---

# Templates bug

 *  Resolved [wazroth](https://wordpress.org/support/users/wazroth/)
 * (@wazroth)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/templates-bug/)
 * I found an awesome bug!
 * If you create some custom templates, then delete all of the default templates…
 * POOF! All the default templates reappear as soon as the last one is deleted. 
   Your custom templates stay put though.
 * Pretty interesting, huh? Let me know if you need screenshots.
 * [http://wordpress.org/plugins/amazon-link/](http://wordpress.org/plugins/amazon-link/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [wazroth](https://wordpress.org/support/users/wazroth/)
 * (@wazroth)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/templates-bug/#post-4439691)
 * Correction!
 * Due to bad assumptioning on my part, I now need to amend my original statement.
 * When you attempt to delete the “Wishlist” template, specifically, any previously
   deleted templates are re-installed.
 * This is still a cool bug — possibly cooler than originally thought.
 *  Plugin Author [paulstuttard](https://wordpress.org/support/users/paulstuttard/)
 * (@paulstuttard)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/templates-bug/#post-4439766)
 * Hi,
 * It’s a really old feature of the plugin, originally the focus of the plugin was
   on creating ‘wishlists’ of amazon items related to the content of your site.
 * So there always had to be a ‘wishlist’ template, so there is some code to check
   for its existence – if it is not there then it re-installs all the default templates.
   It was also a kind of ‘first’ install trigger as well.
 * Now that there is a facility to re-install the defaults manually I should really
   take it out.
 * But in the short term, like you have discovered, just keep the wishlist template
   installed.
 * Paul
 *  Thread Starter [wazroth](https://wordpress.org/support/users/wazroth/)
 * (@wazroth)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/templates-bug/#post-4439809)
 * Thanks for confirming! I’ll just keep the wishlist around then.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Templates bug’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amazon-link_070606.svg)
 * [Amazon Link](https://wordpress.org/plugins/amazon-link/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazon-link/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazon-link/)
 * [Active Topics](https://wordpress.org/support/plugin/amazon-link/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazon-link/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazon-link/reviews/)

## Tags

 * [template](https://wordpress.org/support/topic-tag/template/)

 * 3 replies
 * 2 participants
 * Last reply from: [wazroth](https://wordpress.org/support/users/wazroth/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/templates-bug/#post-4439809)
 * Status: resolved