• Resolved braehler

    (@braehler)


    Hey
    I′ve got an issue with the job-dashboard.php. the link to the statistic seems to be broken, cause this part here does not point to the statistic, it leeds to my blog, and not to the job id

    foreach ( $actions as $action => $value ) {
    												$action_url = add_query_arg( array( 'action' => $action, 'job_id' => $job->ID ) );
    												if ( $value['nonce'] ) {
    													$action_url = wp_nonce_url( $action_url, 'job_manager_my_job_actions' );
    												}
    												echo '<li><a href="' . esc_url( $action_url ) . '" class="job-dashboard-action-' . esc_attr( $action ) . '">' . esc_html( $value['label'] ) . '</a></li>';
    											}

    Anyone an idea?

    • This topic was modified 5 years, 6 months ago by braehler.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Richard Archambault

    (@richardmtl)

    Hi!

    I’m sorry, but I don’t quite follow the question. The code you posted shows 'job_id' => $job->ID so I’m not clear on what you mean. Have you customized job-dashboard.php? If so, note that our support policy normally precludes from supporting that kind of customization, but if you care to paste the full contents of your file somewhere such as on pastebin.com (do *not* post it here directly in the thread) and share the link to it, I’ll take a look and see if I spot anything obvious (with no guarantees that I’ll be able to help). Thanks!

    Thread Starter braehler

    (@braehler)

    Hey Richard,

    I′m sorry, but the code tags seem to be not showing the code correctly. To get this short: there is no customization on the lines its just the lines 82-89 from the original job-dashboard php, where I think that there is something wrong

    Plugin Contributor Richard Archambault

    (@richardmtl)

    Hi!

    But you said:

    the link to the statistic seems to be broken

    What link to what statistics?

    Thread Starter braehler

    (@braehler)

    Solved it, was a conflict with some code changes of mine regarding the statistic function

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Job-dashboard.php statistic link error’ is closed to new replies.