Mark Jaquith has noted a cool new feature for WordPress 2.2 that some plugin and theme creators are going to love.
So the feature I’ve put into WordPress 2.2 is what I call plugin sandboxing. Before a plugin is activated or a plugin is edited, it is tested in a temporary fashion (that is, without being permanently activated). If it passes the test, it is activated for real. If it doesn’t pass the test (it’s throwing a fatal error that would normally take down your WordPress install), it is deactivated, and you get a nice error message telling you what went wrong. If the fatal error was caused because you edited an active plugin, the “Update File” button changes to “Update File and Attempt to Reactivate,” so that once you correct your typo, the plugin will go back to being activated, without requiring you to go back and manually activate it.
If you never activate a flawed plugin or never make a typo when editing your plugins, you’ll never know this functionality is there. But some day you just might slip up, and now WordPress will cover for you.
This sounds like a really smart feature that is very “why wasn’t this done before!?”
A brilliant move in my mind by the Automattic team.
Note: It wasn’t from the Automattic team, though I guess I just assume that Mark should be…
Do you like this article? Submit it to Blogosphere News!
5 Responses
Mangas Verdes » WordPress 2.2 mantendrá los plugins en cuarentena
February 21st, 2007 at 8:55 pm
1[...] Poco a poco se van conociendo algunas de las nuevas funcionalidades de la próxima actualización mayor de WordPress (que, al paso que va esto, no me extrañaría nada que se liberara mañana mismo). Uno de los anuncios más recientes lo realizaba ayer mismo Mark Jaquith, comentando la implementación de una función denominada ‘sandboxing‘, que se encargará de mantener en cuarentena los nuevos plugins instalados o aquellos que hayan sufrido alguna modificación por parte del usuario. El plugin estará siempre activo, pero pasado un tiempo prudencial, y si detecta algún problema, el sistema desactivará automáticamente el plugin y avisará al autor por medio de un mensaje en el que se le avisará del error. El mensaje ofrecerá la posibilidad de actualizar el plugin, o de corregir lo que esté mal si ha sido editado por el propio usuario. [...]
Basic Thinking Blog » Wordpress 2.2: nette Plugin-Idee
February 23rd, 2007 at 5:41 am
2[...] BloggingPro Trackback-URL Gelesen: 2 heute:2 [...]
links for 2007-02-23 | Bloganbieter.de
February 23rd, 2007 at 11:43 am
3[...] WordPress 2.2 Feature: Plugin Sandboxing by Blogging Pro Mark Jaquith has noted a cool new feature for WordPress 2.2 that some plugin and theme creators are going to love. [...]
Potaje de la Semana (XI) : potaje.net
April 21st, 2007 at 6:53 am
4[...] Wordpress Plugin Sandboxing: testeo de plugins antes de ser activados (vía bloggingpro.com). Articulos Relacionados: [...]
Wordpress 2.2 Released » Freakitude
May 16th, 2007 at 12:19 am
5[...] Sandboxing (deactivates plug-ins that contain fatal [...]
RSS feed for comments on this post · TrackBack URI
Leave a reply