Title: Upgrade core through plugin?
Last modified: July 5, 2017

---

# Upgrade core through plugin?

 *  Resolved [kuckovic](https://wordpress.org/support/users/kuckovic/)
 * (@kuckovic)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/upgrade-core-through-plugin/)
 * Hi guys!
 * I have a simple question.
    Is it allowed to update WordPress through a plugin?
 * I have developed a plugin, that resets performs some basic tasks, when you activate
   it. It is to be used when you do a fresh install of WordPress on a website.
 * Sometimes, I’m to lazy to download the newest version, and then I need to upgrade
   it when I perform my other routine tasks, like changing permalinks etc.
    I would
   like my plugin to check whether there is a new version of WordPress – and if 
   so, it should upgrade it automatically.
 * The only question is – is that allowed?
    If not, I will remove this function 
   from my plugin – it’s still on localhost – the live version does NOT include 
   this function yet.
 * I hope someone can help me out a bit 🙂
 * Best regards
    Aris Kuckovic

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

 *  [Jacob Peattie](https://wordpress.org/support/users/jakept/)
 * (@jakept)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/upgrade-core-through-plugin/#post-9290531)
 * Is this a plugin you plan to distribute on .org? If not, you could do what you
   want, but I doubt it’s something that would be allowed in the plugin repo.
 * Besides, it’s something you can enable with with a simple constant in wp-config.
   php: [https://codex.wordpress.org/Configuring_Automatic_Background_Updates#Constant_to_Configure_Core_Updates](https://codex.wordpress.org/Configuring_Automatic_Background_Updates#Constant_to_Configure_Core_Updates)
 *  Thread Starter [kuckovic](https://wordpress.org/support/users/kuckovic/)
 * (@kuckovic)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/upgrade-core-through-plugin/#post-9290547)
 * Hi Jacob,
 * Yes, my plugin is already in the plugin repo – I was just thinking about adding
   this feature aswell, but if it’s not allowed, then I won’t add it. I was just
   wondering, and didn’t want to add something that’s not allowed.
 * I’m adding a settings-page to the plugin, where the user can check which tasks
   he/she wants to run when the plugin is activated. And here I wanted to add the“
   Update WP to x.xx” if there was an update available.
 * But I don’t know – it was just a thought 🙂
 * Best regards
    Aris Kuckovic
 *  Moderator [tobifjellner (Tor-Bjorn “Tobi” Fjellner)](https://wordpress.org/support/users/tobifjellner/)
 * (@tobifjellner)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/upgrade-core-through-plugin/#post-9290972)
 * I suggest you ask the plugin review team. Since you already have a plugin in 
   the repo you already know their email address better than I do 🙂
    -  This reply was modified 8 years, 11 months ago by [tobifjellner (Tor-Bjorn “Tobi” Fjellner)](https://wordpress.org/support/users/tobifjellner/).
      Reason: theme -> team
 *  Thread Starter [kuckovic](https://wordpress.org/support/users/kuckovic/)
 * (@kuckovic)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/upgrade-core-through-plugin/#post-9293399)
 * Hi Tor-Björn,
 * You’re right 🙂
    I will post their reply in here, for future issues on this matter.
 * Thanks, guys!
 * Best regards
    Aris Kuckovic
 *  Thread Starter [kuckovic](https://wordpress.org/support/users/kuckovic/)
 * (@kuckovic)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/upgrade-core-through-plugin/#post-9294782)
 * UPDATE:
 * Otto from the review team wrote this:
 * > It’s not disallowed, as such. Never seen one do it, but we have some plugins
   > that make WP core shift into beta test mode, so there’s plugins that do that
   > kind of thing already.
 * So it is allowed to be done.
    Furthermore, the users have the option to not update
   core, if they want that. Thanks for all the help 🙂
 * – Aris Kuckovic

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

The topic ‘Upgrade core through plugin?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [kuckovic](https://wordpress.org/support/users/kuckovic/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/upgrade-core-through-plugin/#post-9294782)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
