此用户没有收藏的主题。
收藏的论坛主题
创建的论坛主题
| 状态 |
主题
|
支持人员 | 参与者 | 帖子 | 最新活动 |
|---|---|---|---|---|---|
|
Syncing custom fields performance issues
发起人:Joey Kudish
在:English Support
Problem: Solution: SitePress::copy_custom_fields and WPML_Copy_Once_Custom_Field::copy methods to improve performance. Here are the steps to follow: 1. Locate the SitePress::copy_custom_fields method in wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php and replace it with the provided code. 2. Locate the WPML_Copy_Once_Custom_Field::copy method in wp-content/plugins/sitepress-multilingual-cms/classes/custom-field-translation/class-wpml-copy-once-custom-field.php and replace it with the provided code. These changes should optimize the process by reducing the number of instances where the entire post meta is fetched and looped through, thus improving the performance when copying ACF fields to translations. If this solution doesn't look relevant to your issue, please open a new support ticket with us. |
|
2 | 5 | 1 year, 11 months前 |