[wp-hackers] Idea: Widgets as custom post types

scribu scribu at gmail.com
Tue Mar 2 21:43:09 UTC 2010


On Tue, Mar 2, 2010 at 11:40 PM, Mike Schinkel
<mikeschinkel at newclarity.net>wrote:

> On Mar 2, 2010, at 4:32 PM, John O'Nolan wrote:
> >
> > Surely moving widgets and links all into the wp_posts table would screw
> up backwards compatibility just as much as renaming it? (correct me if I'm
> wrong on that one, I'm genuinely asking)
>
> Renaming the wp_posts table would potentially affect hundreds of plugins
> and themes and potentially introduce bugs in the core code.  Benefits do not
> outweigh the downside, IMO.
>

Not necessarily. We just need to keep the $wpdb->posts variable around.

The problem might be with renaming the table columns. That's what was
discussed in the ticket, if my memory serves me well.


-- 
http://scribu.net


More information about the wp-hackers mailing list