simeaM
|
Hi, the issue we had reported some months ago, is reappearing. Please find the history here: https://wpml.org/forums/topic/any-posts-on-a-custom-status-are-not-visible-in-the-wpml-translation-manager/
This is the code we are currently using:
apply_filters('wpml_tm_dashboard_post_statuses', 'wpmlfix_compsupp_6392');
function wpmlfix_compsupp_6392($input_array)
{
$input_array['freigegeben'] = __('Freigegeben', 'wpml-translation-management');
$input_array['korrektorat'] = __('Korrektorat', 'wpml-translation-management');
$input_array['korrektorat-fertig'] = __('Korrektorat fertig', 'wpml-translation-management');
$input_array['wartet-auf-freigabe'] = __('Wartet auf Freigabe', 'wpml-translation-management');
return $input_array;
}
|
Long Nguyen
Supporter
Languages:
English (English )
Timezone:
Asia/Ho_Chi_Minh (GMT+07:00)
|
Hi there,
Thank you for contacting WPML support, I'd be happy to help you with this issue.
Please change the code
apply_filters('wpml_tm_dashboard_post_statuses', 'wpmlfix_compsupp_6392');
to this one and see if it helps.
add_filter('wpml_tm_dashboard_post_statuses', 'wpmlfix_compsupp_6392');
You can find the code in the file functions.php under the child theme folder, line 314.
❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup:
https://wordpress.org/plugins/duplicator/
Look forward to your reply.
Thanks
|