WPML
סטטוס
ממתין למפתח
תוסף/ערכת עיצוב קשורים
WP Job Manager
תגיות נושא
Compatibility

סקירה כללית של התקלה

בעת שימוש ב־WPML עם התוסף הנלווה Applications של WP Job Manager, בבקשת המועמדות קורות החיים מופיעים בכל השפות בתפריט הנפתח במקום בשפה שנבחרה כעת.

פתרון עוקף

אנא ודא שיש לך גיבוי מלא של האתר לפני שתמשיך.


  • פתח את הקובץ …/wp-content/plugins/wp-job-manager-applications/includes/class-wp-job-manager-applications-apply.php.

  • חפש את שורה 250.

  • החלף את:
    $args         = apply_filters(
        'resume_manager_get_application_form_resumes_args',
        [
            'post_type'           => 'resume',
            'post_status'         => [ 'publish' ],
            'ignore_sticky_posts' => 1,
            'posts_per_page'      => -1,
            'orderby'             => 'date',
            'order'               => 'desc',
            'author'              => get_current_user_id(),
        ]
    );

  • ב:
    // WPML Workaround for compsupp-7819
    $args         = apply_filters(
        'resume_manager_get_application_form_resumes_args',
        [
            'post_type'           => 'resume',
            'post_status'         => [ 'publish' ],
            'ignore_sticky_posts' => 1,
            'posts_per_page'      => -1,
            'orderby'             => 'date',
            'order'               => 'desc',
            'author'              => get_current_user_id(),
            'suppress_filters'    => false, // add this line
        ]
    );

כל התקלות הידועות →