Update WordPress automatically without touching wp-content

  • Spammers will be banned immediately without warning. Read our Signup Policies here.
  • 🎉 We've Hit 1 MILLION VIEWS in April 2025! 🚀

    We're proud to announce that blackhatforums.net has officially crossed 1,000,000 page views in a single month — April 2025! 🤯

    This milestone is a direct result of your hustle, strategies, and contributions. Whether you're dominating SEO, pushing traffic, or just absorbing knowledge — this is your win. 💪

    👉 Read the Celebration Thread Here

    — The blackhatforums.net Team

romeo

Newbie
Messages
28
Likes
1
Points
3
Since WordPress version 3.2 you know that you can update WordPress automatically fast and easily but ah friend! What if you made changes to a default theme or plugins? which can also be updated and lose all changes.

That, but you can avoid this unwanted side effect, because there is a constant that can add to your configuration file of WordPress, the famous wp-config.php with which prevent WordPress core updates affect (touch) other folders . Come on, that only the core of WordPress, nothing will be updated.

Just add this line to your configuration file and save the changes:
Code:
// That WordPress updates affect only the core, not to wp-content

     define ( 'CORE_UPGRADE_SKIP_NEW_BUNDLED' , TRUE);
 

Members online