Người dùng này không có chủ đề yêu thích.
Chủ đề diễn đàn yêu thích
Chủ đề diễn đàn đã được tạo
Trạng thái |
Đề tài
|
Người ủng hộ | Tiếng nói | Bài viết | Độ tươi |
---|---|---|---|---|---|
String Translation no longer functioning during save_post
Bắt đầu bởi: vivekP tRONG: English Support |
|
1 | 23 | 3 days, 2 hours trước | |
Field group updates not being respected in rendering page template even after JSON sync
Bắt đầu bởi: vivekP tRONG: English Support |
|
3 | 7 | 4 months, 2 weeks trước | |
After copydown from Live to Test, “test” subdomains don’t validate properly
Bắt đầu bởi: vivekP tRONG: English Support |
|
2 | 3 | 5 months, 1 weeks trước | |
Major performance regressions rom 4.6.3 to 4.6.11 in REST API response times
Bắt đầu bởi: vivekP
tRONG: English Support
Problem: wp-content/plugins/acfml/classes/Strings/FieldHooks.php , modify the add_hooks method to check for REST requests before executing hooks. Here is the suggested change: public function add_hooks() { if (!strpos($_SERVER['REQUEST_URI'], 'wp-json')) { add_action('acf/update_field_group', [$this, 'registerGroupAndFieldsAndLayouts']); add_filter('acf/load_field_group', Fns::withoutRecursion(Fns::identity(), [$this, 'translateGroup'])); add_filter('acf/load_field', [$this, 'translateField']); add_action('acf/delete_field_group', [$this, 'deleteFieldGroupPackage']); } } Important: Please ensure to make a full site backup (files and database) before implementing this workaround. Update! We are soon to release a new version of ACF Multilingual, version 2.1.4. The update will overwrite the fix suggested in this ticket. (In the file: wp-content/plugins/acfml/classes/Strings/FieldHooks.php). Our developer suggests a better workaround that will work with version 2.1.4. Add the following function. add_action( 'rest_api_init', function() { if ( wp_is_serving_rest_request() ) { add_filter( 'acfml_should_translate_acf_entity', '__return_false' ); } }, 5 ); It is important to note that the above snippet will only work with ACF Multilingual version 2.1.4 It's recommended that the snippet be added as a Must-Use plugin. Alternatively, you can add the function to the functions.php file of your theme. **** Important! Please make a full site backup (files and DB) before you proceed with those steps**** Note: wp_is_serving_rest_request introduced in WP 6.5 relies on the REST_REQUEST global. But keep in mind that standard HTTP requests could also call REST endpoints internally (to pre-load REST request results with the normal request). The client might want to disable the ACF entity translation on a wider scope. If this solution does not resolve your issue, or if it seems outdated or irrelevant to your specific case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, please do not hesitate to open a new support ticket at WPML support forum. |
|
2 | 16 | 5 months, 3 weeks trước | |
ACF Multilingual plugin breaks some GraphQL queries after latest update
Bắt đầu bởi: vivekP tRONG: English Support |
|
2 | 12 | 1 years, 8 months trước | |
Database error (not in admin language)
Bắt đầu bởi: vivekP tRONG: English Support |
|
2 | 2 | 2 years, 4 months trước | |
Translation management jobs list is empty
Bắt đầu bởi: vivekP tRONG: English Support |
|
2 | 2 | 2 years, 6 months trước | |
Get POEdit-edited PO/MO files for a domain to be re-imported (not as Str Trans)
Bắt đầu bởi: vivekP tRONG: English Support |
|
2 | 9 | 3 years, 7 months trước | |
Duplicate Content page shows "Needs Update" icon on the Translation Management p
Bắt đầu bởi: vivekP tRONG: English Support |
|
2 | 7 | 4 years, 6 months trước |