0

I feel slightly stupid asking this, but I could have sworn I stumbled across a constant that could be added to wp-config.php so that, when you update your Wordpress installation, it only updates Wordpress and doesn't download additional things like the default theme.

However, I now can't find it for the life of me. I've searched a dozen different terms and checked the codex, but can't find any references to it anywhere. Did I dream it?

  • Does the built in updater not already do this by default? – Tom J Nowell Dec 20 '14 at 14:50
1

So in the old days when WordPress updated you got the whole shebang and deleting Akismet after every time was deadly boring.

Things had slightly improved since then (partially driven by minimizing traffic it takes to serve update to everyone), but process also got more complicated.

Now there are multiple versions of update archive that core might receive and apply. They are (at least):

  • partial (only differences, I think this ignores content folder)
  • new bundled (only includes new things in content folder, such as annual theme)
  • no content
  • full

Now on most updates you are likely getting partial or new bundled. It means effectively that once you remove bundled plugin/theme it won't reappear. However new one will, for example WordPress 4.1 added Twenty Fifteen to my install, but not older themes I had previously removed.

So the old things stay removed already. To also disable new things there is a CORE_UPGRADE_SKIP_NEW_BUNDLED constant, which is what you might be thinking about.

  • THANKYOU! As soon as I saw the name of it, I knew this is what I'd seen before. Annoying that there's no reference to it anywhere on the Codex (that I can find, at least). – indextwo Dec 20 '14 at 15:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.