ผู้ใช้นี้ไม่มีหัวข้อที่ชื่นชอบ.
หัวข้อฟอรัมที่ชื่นชอบ
หัวข้อฟอรัมที่สร้าง
สถานะ |
หัวข้อ
|
ผู้สนับสนุน | เสียง | โพสต์ | ความใหม่ |
---|---|---|---|---|---|
WPML_Translation_Roles_Records->has_users_with_capability() slow query
เริ่มโดย: d.h.J
ใน: 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 years, 5 months มาแล้ว | |
Translation service – missing translations
เริ่มโดย: d.h.J ใน: English Support |
|
3 | 14 | 2 years, 1 months มาแล้ว | |
Changing language URL path
เริ่มโดย: d.h.J ใน: English Support |
|
2 | 2 | 2 years, 7 months มาแล้ว |