-4

I have a current project which I have a lot of custom code to the core etc. I know it's not best practise but it is what it is... only problem is that wordpress is trying to force me to update my databse which cause me both a head & heart-ache to sort out. I'd like that not to happen again, I tried to remove everything from update.php but the warning still shows each time I try to login to the admin. Is there anyway to stop it? :)

2 Answers 2

4

There is a DO_NOT_UPGRADE_GLOBAL_TABLES constant that going by documentation protects tables that are global in multisites (since they can grow large because of that), but I don't see a clean way to prevent upgrade altogether.

I'd work on getting that core clean of hacks instead.

2

You should never edit core. Your modifications should be done through Themes or Plugins.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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