Title: Theme updates
Last modified: August 24, 2016

---

# Theme updates

 *  Resolved [Tejas Hapani](https://wordpress.org/support/users/tejashapani-1/)
 * (@tejashapani-1)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/theme-updates-5/)
 * Hi All,
 * I am using WP 4.2.1 with latest version for my site.
 * I have a customized theme and i used the same theme for 2 different site.
    My
   issue is i have added a code in second theme, so when there is any new updates
   in my first theme, it will show Theme Update notification on backend.
 * All going good, the theme is updating with the latest changes but only issue 
   is, its changing theme name with “.tmp”.
 * Suppose theme name is “mytheme” and when i update theme on second site, it renames
   to “mytheme.tmp” file.
 * I don’t know why this happing. 🙁
 * Below is the code i used on functions.php file to check for updates:
 *     ```
       require 'theme-updates/theme-update-checker.php';
       $example_update_checker = new ThemeUpdateChecker(
               'mytheme',
               'http://localhost/mysite1/info.json'
       );
       ```
   
 * Anyone have any clue on this?
 * Thanks in advance.
    Tejas

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

 *  Thread Starter [Tejas Hapani](https://wordpress.org/support/users/tejashapani-1/)
 * (@tejashapani-1)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/theme-updates-5/#post-6095828)
 * Hi
 * Anyone have any idea about this issue?
 * Thanks
    Tejas
 *  Thread Starter [Tejas Hapani](https://wordpress.org/support/users/tejashapani-1/)
 * (@tejashapani-1)
 * [11 years ago](https://wordpress.org/support/topic/theme-updates-5/#post-6096002)
 * After long head bang, i got that its my mistake to generate zip of the theme.
 * We need to zip the file from root folder of the theme, not from inside the theme
   folder.

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

The topic ‘Theme updates’ is closed to new replies.

## Tags

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

 * 2 replies
 * 1 participant
 * Last reply from: [Tejas Hapani](https://wordpress.org/support/users/tejashapani-1/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/theme-updates-5/#post-6096002)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
