This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
Status |
Topic
|
Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
WPML_Translation_Roles_Records->has_users_with_capability() slow query
Started by: d.h.J
in: English Support
Problem: Solution: public function has_users_with_capability() {\n// \$sql = \"\n// SELECT EXISTS(\n// SELECT user_id\n// FROM {\$this->wpdb->usermeta}\n// WHERE meta_key = '{\$this->wpdb->prefix}capabilities' AND meta_value LIKE %s\n// )\n// \";\n//\n// \$sql = \$this->wpdb->prepare( \$sql, '%' . \$this->get_capability() . '%' );\n\nreturn true;// return (bool) \$this->wpdb->get_var( \$sql ); Please ensure to test this change on a staging site before applying it to the live site. If this solution does not seem relevant to your issue, please open a new support ticket with us. |
|
2 | 6 | 1 year, 5 months ago | |
Translation service – missing translations
Started by: d.h.J in: English Support |
|
3 | 14 | 2 years, 1 month ago | |
Changing language URL path
Started by: d.h.J in: English Support |
|
2 | 2 | 2 years, 7 months ago |