[wp-hackers] Coding Standards: Functions vs. Classes

scribu scribu at gmail.com
Sun Mar 18 20:39:51 UTC 2012


On Sun, Mar 18, 2012 at 9:32 PM, Braydon <ronin at braydon.com> wrote:

> Post as a class has more advantages, especially if it were to include all
> template tags for posts.


Agreed, but we were talking about static class variables.

Example ticket where a WP_Post class would be useful:
http://core.trac.wordpress.org/ticket/16574

-- 
http://scribu.net


More information about the wp-hackers mailing list