[wp-hackers] WordPress MU category tables

Otto otto at ottodestruct.com
Wed Dec 30 18:11:15 UTC 2009


On Wed, Dec 30, 2009 at 11:23 AM, Tim Schoffelman <tim at silentgap.com> wrote:
> but in WordPress MU, the categories, post2cat & link2cat tables aren't used
> (not on my installs anyways 2.7.1 && 2.8.4a). IE - there's no
> wp_4_categories or wp_categories table.
>
> I'm having to rely on something like this to pull the correct tables (but
> feel as I shouldn't have too).
>
> Is there a better way or has this been or will this be corrected / changed
> in the 2.8.6 or 2.9.* version(s)?

Look at the $old_tables variable in the wpdb. Tables listed in there
are old and can be ignored.

-Otto


More information about the wp-hackers mailing list