Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is developing a site using WP Job Manager with the Application plugin and is facing an issue where the resume is shown in all languages on the application form.
Solution:
We recommended checking the errata page for a known issue with WP Job Manager where resumes are displayed in all languages in the dropdown list. The correct errata that addresses this issue can be found here: WP Job Manager Applications - Resume shown in all languages when using application form. We applied the fix from this errata to resolve the issue.

If this solution does not apply to your case, or if it seems outdated, 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. If the issue persists, please do not hesitate to open a new support ticket at WPML support forum for further assistance.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 0 replies, has 0 voices.

Last updated by ericH-23 3 days ago.

Assisted by: Kor.

Author Posts
January 17, 2025 at 5:06 pm #16607641

ericH-23

Background of the issue:
I am developing a site and using WP Jobmanager with the Application plugin. I want to use the editable application form.

Symptoms:
When using the application form, the resume is shown in all languages.

Questions:
How can I ensure the resume is displayed in the correct language on the application form?

January 17, 2025 at 5:21 pm #16607704

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

Here is the ticket and please let me know how it goes.

January 17, 2025 at 5:26 pm #16607708

ericH-23

Hi,
Please check now this link in the sandbox: hidden link.

Here you see all resumes in the dropdown.

So we unfortunately need here also a fix.

Thanks for the quick reaction with the sandbox today, kind regards
Eric

Bildschirmfoto 2025-01-17 um 18.24.42.png
Bildschirmfoto 2025-01-17 um 18.23.32.png
January 18, 2025 at 7:15 am #16608717

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I've escalated this to our 2nd Tier Support.

January 23, 2025 at 2:38 pm #16628655

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience. Please refer to the errata here https://wpml.org/errata/wp-job-manager-resume-manager-resume-shown-in-all-languages-when-using-application-form/ that explains what you can do to fix it.

January 27, 2025 at 2:27 pm #16638360

ericH-23

Hi,
Unfortunately here are two different methods in resumes/appliactions.
The
1) standard form
2) form which can the admin customize
Only 1) is here fixed, the 2) unfortunately not.
In the sandbox I had configurated 2), can you check this please?
So plase add the fix to the sandbox and test again.
Thanks, kind regards
Eric

January 27, 2025 at 4:34 pm #16638680

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience. I've tested the workaround and I can confirm that it's still not working yet. I've updated our 2nd Tier Support and I will come back to you once I hear from them.

January 28, 2025 at 7:58 am #16640206

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I've received feedback and we'll need to apply the fix to another file …/wp-content/plugins/wp-job-manager-resumes/includes/class-wp-job-manager-applications-apply.php.

Locate get_user_resumes() method, replace the following snippet:

$args = apply_filters(
    'resume_manager_get_application_form_resumes_args',
    [
        'post_type'           => 'resume',
        'post_status'         => [ 'publish', 'hidden' ],
        'ignore_sticky_posts' => 1,
        'posts_per_page'      => -1,
        'orderby'             => 'date',
        'order'               => 'desc',
        'author'              => get_current_user_id(),
    ]
);

With:

// WPML Workaround for compsupp-7819
$args = apply_filters(
    'resume_manager_get_application_form_resumes_args',
    [
        'post_type'           => 'resume',
        'post_status'         => [ 'publish', 'hidden' ],
        'ignore_sticky_posts' => 1,
        'posts_per_page'      => -1,
        'orderby'             => 'date',
        'order'               => 'desc',
        'author'              => get_current_user_id(),
        'suppress_filters' => false, //add this line 
    ]
);
January 30, 2025 at 7:31 pm #16653288

ericH-23

Hi Kor,
Thanks, but sorry,

I don't find a file class-wp-job-manager-applications-apply.php in /wp-job-manager-resumes/includes/.

And the code is the same as at https://wpml.org/errata/wp-job-manager-resume-manager-resume-shown-in-all-languages-when-using-application-form/

So we need still a solution for 2) form which can the admin customize.

I had already this code implemented and for 1) "standard form" it is working, but not for 2) "form which can the admin customize".

If you want you can start a sandbox with the fix and I show you the error with 2).

Or please inform me, if I make something wrong.

Hope on your understanding, thanks, best regards
Eric

January 30, 2025 at 7:43 pm #16653305

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for your response.

I apologize for any confusion. However, please take a look at the page you shared earlier regarding all the resumes in different languages appearing in the dropdown here: hidden link . My apologies for the oversight— the correct errata is actually this one: https://wpml.org/errata/wp-job-manager-applications-resume-shown-in-all-languages-when-using-application-form/ . I've applied it to resolve the issue.

Regarding your second concern about the "form that can be customized by the admin," could you clarify or perhaps provide the URL of the page in question along with any screenshots? I may need to create a separate ticket since this appears to be a different issue.

January 31, 2025 at 4:48 pm #16656792

ericH-23

Hi,
OK, with this code it is solved!
https://wpml.org/errata/wp-job-manager-applications-resume-shown-in-all-languages-when-using-application-form/
Thanks a lot!
Kind regards