WP Engine

Solutions
AgencyEnterpriseSmall & Medium BusinessMarketer
How WP Engine supports marketers.Benefits for marketers.Features that help you innovate.
Developer
How WP Engine supports developers.Benefits for developers.Features that help you move faster.
Explore Our Platform
Insights
Thought LeadershipTopics

Read articles, trends, and insights on these topics from leaders in marketing and technology.

Creative AgilityEnterprise PerformanceActionable IntelligenceEcosystem Integration
Resources

Access ebooks, whitepapers, webinars, and other knowledge from our ecosystem of digital experts.
Visit Resource Center.

Delivering a Slam Dunk Experience on WordPressEbook: The Ultimate Guide to WordPress Plugins15 Common WordPress Mistakes Agencies and their Clients Make
Case Studies
About
Our CompanyOur PlatformLatest News

Access the latest news from inside WP Engine.
Visit the Newsroom.

WP Engine Secures Strategic Growth Investment From Silver LakeWP Engine Unveils First WordPress Digital ExperienceWP Engine Expands Global Presence with New Office in Brisbane
Media Center

Get announcements and resources about WP Engine.

Press Releases
Careers at WP Engine
Pricing
Sales Questions?

Contact Sales

Discover why organizations of all types and sizes choose WP Engine — and how it can benefit you.

Chat

1

I'm available right now to answer any of your questions!

Reply

Call

+1-512-201-4819

Contact

Send a message

Compare Plans
Need Support?
Support DocumentationBilling HelpSupport

We offer support 24 hours a day, 7 days a week, 365 days a year. Log in to get expert one-on-one help.

Log in for support

Sales Questions

Contact Sales

Discover why organizations of all types and sizes choose WP Engine — and how it can benefit you.

Chat

1

I'm available right now to answer any of your questions!

Reply

Call

+1-512-201-4819

Contact

Send a message

Sign in
Sign in
Search

Search

Compare Plans
Call Sales +1-512-201-4819
Menu
AgencyEnterpriseSmall & Medium BusinessMarketers
How WP Engine supports marketers.Benefits for marketersFeatures that help you innovate.
Developers
How WP Engine supports developers.Benefits for developers.Features that help you move faster.
Our PlatformPricingResource CenterOur CompanySolution CenterThought LeadershipDocumentationCareers

Tide and WordPress: A Fireside Chat

Alyssa Cuda 4.24.2018

Voiced by Amazon Polly

Any developer knows: quality code is important. When it comes to developing on an open source platform like WordPress, quality is always a concern. Plugins and themes with bad code can wreak unintended havoc on WordPress sites. As the plugin repository continues to grow, so does the probability of installing a dangerous plugin. This age-old problem has prompted Tide. Originally referenced in Matt Mullenweg’s State of the Word 2017, the Tide Project aims to lift code quality across the WordPress ecosystem.

Tide is a service consisting of an API, Audit Server, and Sync Server, working in tandem to run a series of automated tests against the WordPress.org plugin and theme directories. PHP compatibility and test errors/warnings will be displayed for user reference in the directory. To learn more about Tide and how it will interact with the WordPress ecosystem, we sat down with Luke Carbis, Director of Product & Innovation at XWP.

Can you explain the motivation behind Tide and why it got started?

As we were thinking about XWP’s mission to Build a Better Web, we realized that one of our highest impact projects was our involvement in the WordPress Coding Standards project. This is because Coding Standards encourage developers to write more secure, more performant, more maintainable, less buggy code.

Unfortunately, when we looked into this further, we realized that there are some huge technical hurdles for developers to overcome before they’re able to integrate the WordPress Coding Standards into their projects and workflows. We wanted to make it much easier for even beginner developers to use the Coding Standards, which is why we created Tide.

We believe that if Tide can encourage and guide WordPress Developers to write better code, every WordPress site (and by extension, the entire web) will be better. That’s how Tide got its name: A rising tide lifts all boats.

How do you suggest developers implement code standards in their organizations?

Right now, it’s quite complicated. You’ll need to install PEAR and PHP CodeSniffer. Then install the rules for WordPress Coding Standards (by the way, remember to keep this up to date, which you’ll have to do manually with a git pull). Finally, setup PHP CodeSniffer with your particular IDE.

We’re working toward a future where there’s a one-step setup with Tide.

How can developers up their game to create better code?

  1. Learn the coding standards

Read through the Coding Standards on the WordPress Codex. Focus on identifying a few changes you could make to your existing habits. Revisit them occasionally to see if there’s something else you could improve.

  1. Peer code review

Ask peers and mentors to review the code you write. I used to work closely with Frankie Jarrett, who had a habit of always finding something that could be improved in every commit. Try to find opportunities to code review other developer’s code, too. Github has a fantastic code review feature, so make sure you’re using branches and pull requests (not just pushing code directly into your master branch).

  1. Revisit and refactor old code

Refactoring old code is a fantastic way to keep an old codebase fresh, while at the same time reinforcing all the new things you’ve learned since writing it.

Why is WordPress.org adopting Tide? When?

For Tide to have the highest impact, it has to reach the most amount of developers and be accepted by the WordPress development community. There’s no better way for that to happen then everyone pitching in on the open-source codebase to prepare Tide for WordPress.org. Our first step will be to integrate Tide’s PHP version compatibility data into plugin and theme pages, and we’re aiming to have this ready by June. You can follow along here: https://github.com/wptide/tide-issues/issues/1

How do you see Tide evolving? What do you think the future of this project will be?

In the long-term, I’d love to see Tide exist as a simple tool or extension for your code editor, which guides developers toward better coding standards as they tap out each line of code. It could also exist on WordPress.org with a user focus, helping WordPress users choose the most secure, performant, and reliable plugins and themes.

Interested in contributing to Tide? Check out the project site for Tide or get involved directly in conversations around Tide by joining the #tide channel on the Make WordPress slack. For more information about Tide and WordPress, check out this free, on-demand webinar: From Good To Great: Coding Standards and WordPress.   


Alyssa is a Content Specialist at WP Engine. If she’s not searching for a swimming hole to escape the heat in, you can usually find her baking something caloric or reading.  

More WordPress news from WP Engine

A Look At The Dublin Tech Summit 2018Customer Inspired

Trackbacks

  1. Making Code Quality Accessible – Luke Carbis says:
    April 25, 2018 at 5:39 pm

    […] recently did an interview with Alyssa Cuda on the WP Engine Blog about Tide, and the future of WordPress coding […]

    Reply

Leave a Reply Cancel reply

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

  • Subscribe

    Subscribe to our blog to get great tips for your WordPress site.

  • Favorite Tweets by @wpengine
  • Sign In

    Solutions

    • Agency
    • Enterprise
    • SMB
    • Marketer
    • Developer

    Insights

    • Blog
    • Torque
    • Velocitize

    About

    • Our Company
    • Leadership Team
    • Our Platform
    • Careers
    • Affiliates
    • Contact
    • Legal
    • Newsroom
    • Privacy Policy

    Resources

    • Resource Center
    • Documentation
    • Solution Center
    • Find an Agency

    WP Engine

    504 Lavaca Street, Suite 1000
    Austin, TX 78701

    Sales

    +1-512-201-4819
    [email protected]
    7am–7pm CST

    Billing

    [email protected]

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Instagram
    • RSS
    © 2013—2025 WPEngine, Inc. All rights reserved.
    WP ENGINE®, VELOCITIZE®, TORQUE®, EVERCACHE®, and the cog logo service marks are owned by WPEngine, Inc.