• Menu
  • Skip to right header navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Spectrum Group Online

Decisions Made with Data.

  • What We Do
    • SEO
      • White Hat SEO
      • Local SEO
      • Schema for Advanced SEO
      • Website SEO Audit
      • Link Building
      • Penalty Recovery
    • Google Analytics Services
      • Google Analytics Audit
    • Pay Per Click
      • Google Ads
      • Bing Ads
    • Content Marketing
    • Social Media
    • WordPress
      • WordPress Websites
      • WordPress Maintenance
  • Pricing
    • Our Pricing
    • PPC Pricing
    • Brand-Only PPC
  • Case Studies
    • Testimonials
  • About
    • Who We Are
    • Upcoming Events
    • Certifications
    • Tools We Use
  • Contact Us
  • Blog
  • What We Do
    • SEO
      • White Hat SEO
      • Local SEO
      • Schema for Advanced SEO
      • Website SEO Audit
      • Link Building
      • Penalty Recovery
    • Google Analytics Services
      • Google Analytics Audit
    • Pay Per Click
      • Google Ads
      • Bing Ads
    • Content Marketing
    • Social Media
    • WordPress
      • WordPress Websites
      • WordPress Maintenance
  • Pricing
    • Our Pricing
    • PPC Pricing
    • Brand-Only PPC
  • Case Studies
    • Testimonials
  • About
    • Who We Are
    • Upcoming Events
    • Certifications
    • Tools We Use
  • Contact Us
  • Blog
You are here: Home / Web Design & Development / Don’t Mess with WordPress Core Code

Don’t Mess with WordPress Core Code

Updated November 15, 2021

August 15, 2018 //  by Massimo Paolini//  Leave a Comment

Source Code Security Plugin: Don't Mess with WordPress Core Code

Temptations of Open Source Software

When you have a website built with WordPress, it’s tempting to mess with the WordPress core code when you need to customize functionality. It seems like the easiest, most straightforward way to end up with the exact behavior you want. But we don’t think you should, and here’s why:

Ready to Talk?

Dangerous Changes

Sometimes the safest distance between two points isn’t a straight line. Similarly, diving into the WordPress core code isn’t the safest way to customize its functionality. Make changes and you risk the following:

  • New security vulnerabilities. Future WordPress updates won’t fix any security holes introduced by your changes. Worse, because no one else has your changes, no one else has your vulnerability. If a hacker probes your site and finds it, you’re on your own to discover and cope with any hacking attempt.
  • Difficulty in deploying future upgrades. If you make your own changes to the WordPress core code, you’ll lose those changes if you upgrade your site to a newer version of WordPress. When the core code changes, the changes you made might not work anymore, so you might need to redevelop your hack; it might not work at all and you might lose your change for good.
  • You may break something else. Unless you’re very familiar with the code, it’s hard to be certain that the changes you make won’t break another part of WordPress. You need to do complete testing before deploying your changes to make sure everything else still works.

Alternatives to Modifying WordPress Core Code

How To Get a Job With Open Source

Those reasons don’t mean you shouldn’t make changes to WordPress; they just mean you should find an alternative to modifying the WordPress core code. Fortunately, you don’t have to look far to find ways to do this.

Plug-ins are the standard approach to making user extensions to WordPress functionality. If the functionality you are adding is valuable, creating it as a plug-in lets you share it with other WordPress users easily.

Another alternative is to create a patch to the core instead of modifying the core code directly. You can even reach out to WordPress and if your change is valuable, it can be integrated into the official WordPress codebase.

Contributing to Core Code

There are rare scenarios where changes have to be made in WordPress core because the changes just can’t work as a plugin or a patch. If there’s no other way to implement the fix you need and you clearly understand the implications (e.g., unable to install software updates and upgrades) and you have sufficient personnel or resources, then maybe it’s the right business decision. However, I’ve found that most SMBs don’t usually fall into this category.

If you’ve got the coding chops to consider modifying WordPress core code, then I highly recommend becoming part of the community. Ask other coders on how they’ve solved the same or similar challenges. The forums and committees provide a wealth of information just for the asking.  Who knows… your idea could become a component of the next software release.

Is there a functionality you couldn’t add to your WordPress website with a plugin?

photo credit – top: Christiaan Colen
photo credit – body: OpenSource.com

Share this:

  • Twitter
  • Facebook
  • LinkedIn
  • Reddit

Category: Web Design & Development

About Massimo Paolini

Massimo is Co-CEO and Chief Data Scientist. On the web since the 90’s and a Google Partner since 2014, his expertise includes technical SEO, search marketing, marketing analytics/analysis, and online advertising. Massimo has an innate ability to sift through a sea of data, uncovering insights that formulate results-oriented strategies. He has taught Digital Marketing, Google Ads and SEO at UC Berkeley Extension since 2014—and presented at international search marketing conferences like SMXL in Milan.

Previous Post: « Signs of a Grey Hat SEO Agency
Next Post: When It’s Time to Hire a Webmaster »

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Categories

  • Case Studies
  • Content
  • Links
  • Local SEO
  • News & Events
  • PPC
  • Sales
  • SEO
  • Social Media
  • Web Analytics
  • Web Design & Development

Recent Posts

  • Content Syndication, Distribution, & Contribution
  • Elementor vs. WordPress Gutenberg
  • B2B Content Marketing Trends in 2022
  • Maximize Your Google Business Profile (formerly Google My Business)
  • Introduction to Web Accessibility: Why, Types & ADA Compliance

Footer

Spectrum Group Online

About Us
Certifications
Contact Us

spectrum@spectrum-group-online.com
(408) 883-2276
San Jose, CA 95129

Stay On Top Of Your Game

Digital Marketing never stands still. Keep up with the latest online marketing trends, sign up for our monthly newsletter. We promise no SPAM and no sales pitches.

"*" indicates required fields

Privacy*

Twitter LinkedIn Facebook Instagram YouTube

Copyright © 2022 Spectrum Group Online, LLC | All rights reserved | Privacy Policy | Site Map

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT