WordPress Coding Standards 1.1.0 are Now Available

Orlando WordPress Developer

If you are a WordPress Developer, one of the major challenges in today’s development universe is to keep up with the constant change of coding standards in the different platforms. WordPress, as many other platforms has recently updated theirs! Make sure not to miss them.

WordPress Developers & Coding Standards

Coding standards are essential for collaboration when it comes to web development. They allow multiple developers to work on a website in a clean and organized manner.

Coding Standards systematize the coding, help avoid coding errors, and ensure that websites look and function as if they were built by one person. If you want to learn more about their importance, may be take a look at this article by WordPress.

What are the new WordPress Coding Standards?

WordPress has added, changed, & fixed coding standards in its latest revision. According to the WordPress Coding Standards release 1.1.0, these are some of the recently added and changed coding standards:

Added

  • New WordPress.PHP.NoSilencedErrors sniff. This sniff replaces the Generic.PHP.NoSilencedErrorssniff which was previously used and included in the WordPress-Core ruleset.
  • Metrics to the WordPress.NamingConventions.PrefixAllGlobals sniff to aid people in determining the most commonly used prefix in a legacy project.

Changed

  • The PEAR.Functions.FunctionCallSignature sniff, which is part of the WordPress-Core ruleset, used to allow multiple function call parameters per line in multi-line function calls. This will no longer be allowed.
    As of this release, if a function call is multi-line, each parameter should start on a new line and an error will be thrown if the code being analysed does not comply with that rule.The sniff behaviour for single-line function calls is not affected by this change.
  • Moved the WordPress.CodeAnalysis.EmptyStatement sniff from the WordPress-Extra to the WordPress-Core ruleset.

For the complete list of WordPress Coding Standards 1.1.0, visit the official WordPress Coding Standards release.

Stay up-to-date with Coding Standards, so you can contribute to the WordPress Developer Community.


Orlando WordPress Design & Development

Are you looking for help to keep your WordPress website compliant to the latest standards? We are WordPress experts with years of experience in Orlando and Central Florida. Contact us now for a free consultation!

Category: Orlando Wordpress Tags: , , , , No Comments

Author

M5 Design Studio

We are a small, but creative and passionate team of designers and developers specializing in web design, graphic design, branding & digital marketing.


Google Chrome Is Getting Rid Of Cookies

Google Chrome is getting rid of cookies: The Future of Digital Marketing in a Cookieless World

Digital Marketing Agency The digital marketing landscape is undergoing a major transformation with the impending dep
Hcaptcha Wordpress Plugin Alternative To Googles Recaptcha

Hcaptcha: WordPress Plugin Alternative to Google’s Recaptcha

ORLANDO WORDPRESS DEVELOPER If you have a WordPress website, you know how important it is to protect it from spam, b
New Woocommerce Released Orlando

WooCommerce 8.3.0 Released

ORLANDO WORDPRESS DEVELOPER Whats new? Cart, Checkout, and Order Confirmation Blocks Are Default on New Ins

Comments are closed.