Major bug in database queries
-
You plugin is great but actually has a bug that prevents it workig properly in my setup
The plugin should not use bp_core_get_table_prefix to query the various tables it needs to.
If it must query the databae directly it should use the buddypress function and then access the object property
buddypress()->messages->table_name_messages
for the core message table etc. This is in line with buddypress best practice and also means your plugin will support situations where the tables have different names (which is possible)
Pete
- The topic ‘Major bug in database queries’ is closed to new replies.