У этого пользователя нет любимых тем.
Любимые темы форума
Созданные темы форума
Состояние |
Тема
|
Сторонник | Голоса | Записи | Свежесть |
---|---|---|---|---|---|
Field group updates not being respected in rendering page template even after JSON sync
Начато по: vivekP в: English Support |
3 | 7 | 2 месяца, 1 неделя назад | ||
After copydown from Live to Test, «test» subdomains don’t validate properly
Начато по: vivekP в: English Support |
2 | 3 | 3 месяца назад | ||
Major performance regressions rom 4.6.3 to 4.6.11 in REST API response times
Начато по: vivekP
в: 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 | 3 месяца, 2 недели назад | ||
ACF Multilingual plugin breaks some GraphQL queries after latest update
Начато по: vivekP в: English Support |
2 | 12 | 1 год, 6 месяцев назад | ||
Database error (not in admin language)
Начато по: vivekP в: English Support |
2 | 2 | 2 года, 2 месяца назад | ||
Translation management jobs list is empty
Начато по: vivekP в: English Support |
2 | 2 | 2 года, 3 месяца назад | ||
No translation jobs
Начато по: vivekP в: Chat Support |
1 | 2 |
2 года, 3 месяца назад
|
||
No translation jobs
Начато по: vivekP в: Chat Support |
1 | 2 |
2 года, 3 месяца назад
|
||
Get POEdit-edited PO/MO files for a domain to be re-imported (not as Str Trans)
Начато по: vivekP в: English Support |
2 | 9 | 3 года, 4 месяца назад | ||
Review and approve XLIFF files before publishing them to the live site
Начато по: vivekP в: Chat Support |
1 | 2 |
4 года, 3 месяца назад
|
||
Duplicate Content page shows "Needs Update" icon on the Translation Management p
Начато по: vivekP в: English Support |
2 | 7 | 4 года, 4 месяца назад | ||
I want to trigger the "needs update" status on a page
Начато по: vivekP в: Chat Support |
1 | 2 |
4 года, 4 месяца назад
|