Connect with us

SEO

WordPress Proposes A Plugin Checker For Security And Performance

Published

on

WordPress Proposes A Plugin Checker For Security And Performance

WordPress announced a proposal to take a more proactive approach toward third party plugins in order to improve security and site performance.

What is being discussed is a plugin checker that will make sure that plugins are following best practices.

Third-party plugins are a major source of security vulnerabilities and website performance bottlenecks. The proposal outlines three ways to tackle a plugin checker and solicits feedback on the idea.

The WordPress proposal defined the problem:

“While there are fewer infrastructure requirements for plugins than there are for themes, there are certainly some requirements that are worth verifying, and in any case, checking against security and performance best practices in plugins would be just as essential as it is in themes.

However as of today, there is no corresponding plugin checker.”

Advertisement

WordPress Vulnerabilities And Poor Performance

The WordPress publishing platform has received a reputation for being vulnerable to hackers and for being slow.

So it may be surprising to learn that the WordPress core itself is a highly secure platform.

The majority of the vulnerabilities affecting the WordPress platform are due to third party plugins.

Even though WordPress itself is reasonably safe, third party plugins have caused WordPress to virutally become synonymous with hacked sites.

There is a similar issue with regard to WordPress site performance, too. A WordPress Performance Team actively works on improving the performance of the WordPress core itself.

But that effort can be undermined by third party plugins that load JavaScript and CSS on pages where they’re not required or don’t lazy load images, which ends up slowing down website performance.

Advertisement

Plugin Checker

WordPress already produces a theme checker that allows theme developers to check their work for best practices and security. The same theme checker is used on the official WordPress theme repository, too.

So now they want to explore doing the same thing for plugins.

This is how the goal of the proposed plugin checker was defined:

“There should be a WordPress plugin checker tool that analyzes a given WordPress plugin and flags any violations of plugin development best practices with errors or warnings, with a special focus on security and performance.”

The proposal lists three possible approaches:

  • A. Static analysis
    This is how themes are checked but there are limitations, such as not being able to run the code.
  • B. Server-side analysis
    This method allows the plugin code to run plus a static analysis could also be accomplished.
  • C. Client-side analysis
    This loads a headless browser (essentially a bot that emulates a browser) and then tests the plugin for issues that can’t necessarily be detected with a server-side solution. The document notes some challenges to this approach but also lists ways around them.

The proposal features a graph with columns for approaches A, B, and C and rows that correspond to ratings assigned to each approach for security and performance issues.

The evaluation finds that the Server-side analysis may be the optimal approach.

Best Practices for Plugins

The WordPress performance team is not committed to creating a plugin checker, this is just a proposal. This is just the starting point.

Advertisement

Nevertheless, checking third party plugins for security and performance best practices is a good idea because it will benefit WordPress users and site visitors.


Citations

Performance Team Meeting Summary With Link to Proposal

WordPress Performance Team Meeting Summary

Read the Plugin Checker Proposal

Proposal: WordPress plugin checker (Google Docs)

Featured Image: Mr.Exen/Shutterstock

!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version=’2.0′;
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window,document,’script’,
‘https://connect.facebook.net/en_US/fbevents.js’);

if( typeof sopp !== “undefined” && sopp === ‘yes’ ){
fbq(‘dataProcessingOptions’, [‘LDU’], 1, 1000);
}else{
fbq(‘dataProcessingOptions’, []);
}

Advertisement

fbq(‘init’, ‘1321385257908563’);

fbq(‘track’, ‘PageView’);

fbq(‘trackSingle’, ‘1321385257908563’, ‘ViewContent’, {
content_name: ‘wordpress-a-plugin-checker-proposal’,
content_category: ‘news wp’
});

Source link

Keep an eye on what we are doing
Be the first to get latest updates and exclusive content straight to your email inbox.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address