|
|
|
|
|
by Robin_Message
5756 days ago
|
|
Why bother? You could go a long way and make things clearer by giving the functions better, new names and deprecating the old ones. "Rewrite with OOP and MVC" is an easy, whiny, pointless suggestion. Wordpress is warty, but it doesn't need a rewrite. |
|
Separating the design from the code would make it a lot easier for designers to create themes without having to worry about PHP. A proper templating system like Smarty would make a huge improvement with its built-in modifiers. For example:
Would be this if Wordpress used Smarty: This makes any display logic in the templates more portable when switching themes as well, because designers will be less prone to putting that code in header.php or single.php.