Questo utente non ha argomenti preferiti.
Argomenti preferiti del forum
Argomenti del forum creati
Stato |
Argomento
|
Sostenitore | Voci | Messaggi | Freschezza |
---|---|---|---|---|---|
String Translation no longer functioning during save_post
Iniziato da: vivekP in: English Support |
|
1 | 23 | 1 giorno, 21 ora fa | |
Field group updates not being respected in rendering page template even after JSON sync
Iniziato da: vivekP in: English Support |
|
3 | 7 | 4 mese, 2 settimana fa | |
After copydown from Live to Test, “test” subdomains don’t validate properly
Iniziato da: vivekP in: English Support |
|
2 | 3 | 5 mese, 1 settimana fa | |
Major performance regressions rom 4.6.3 to 4.6.11 in REST API response times
Iniziato da: vivekP
in: 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 mese, 3 settimana fa | |
ACF Multilingual plugin breaks some GraphQL queries after latest update
Iniziato da: vivekP in: English Support |
|
2 | 12 | 1 anno, 8 mese fa | |
Database error (not in admin language)
Iniziato da: vivekP in: English Support |
|
2 | 2 | 2 anno, 4 mese fa | |
Translation management jobs list is empty
Iniziato da: vivekP in: English Support |
|
2 | 2 | 2 anno, 6 mese fa | |
No translation jobs
Iniziato da: vivekP in: Chat Support |
|
1 | 2 |
2 anno, 6 mese fa
|
|
No translation jobs
Iniziato da: vivekP in: Chat Support |
|
1 | 2 |
2 anno, 6 mese fa
|
|
Get POEdit-edited PO/MO files for a domain to be re-imported (not as Str Trans)
Iniziato da: vivekP in: English Support |
|
2 | 9 | 3 anno, 7 mese fa | |
Review and approve XLIFF files before publishing them to the live site
Iniziato da: vivekP in: Chat Support |
|
1 | 2 |
4 anno, 6 mese fa
|
|
Duplicate Content page shows "Needs Update" icon on the Translation Management p
Iniziato da: vivekP in: English Support |
|
2 | 7 | 4 anno, 6 mese fa | |
I want to trigger the "needs update" status on a page
Iniziato da: vivekP in: Chat Support |
|
1 | 2 |
4 anno, 7 mese fa
|