[wp-hackers] usermeta is missing from wpdb

Callum Macdonald lists.automattic.com at callum-macdonald.com
Thu Aug 23 17:53:24 GMT 2007


Aha, so usermeta is set there, but it's not defined in the wp-db.php 
file. In which case, it's a very, very simple patch. I've pasted a copy 
here. Do I need to submit it somehow, or can somebody on the list deal 
with it? I don't have an SVN account, etc, etc.

Cheers - Callum.

diff -u wp-db.php.orig wp-db.php
--- wp-db.php.orig      2007-08-23 18:51:42.000000000 +0100
+++ wp-db.php   2007-08-23 18:51:47.000000000 +0100
@@ -34,6 +34,7 @@
        var $optiongroups;
        var $optiongroup_options;
        var $postmeta;
+       var $usermeta;
 
        var $charset;
        var $collate;

jacobsantos at branson.com wrote:
> Variables set in /wp-settings.php.
>
> Callum Macdonald wrote:
>> G'day,
>>
>> I just checked, and there's no variable for the table name for 
>> usermeta in wpdb.
>>
>> Is that for a reason?
>>
>> I had a quick look at wp-includes/wp-db.php but I couldn't see where 
>> the values are set. I'm happy to make the changes and submit a patch. 
>> Anyone know where the values are initialised? I could dig about and 
>> find it but I figured I'd ask first.
>>
>> Cheers,
>>
>>
>> Callum.
>>
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
>>
>>
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
>



More information about the wp-hackers mailing list