Automattic / Automattic/WP-Job-Manager

Edit an expired Listing

Open
#1,734 6 comments 0 reactions 0 assignees View on GitHub
[Status] Accepted Enhancement ready-for-human
Dominant language
PHP
Stars
899
Forks
369
Avg merge
11h 37m
Merged PRs (30d)
12

Description

#### Steps to Reproduce
1. Give the customer the option to edit his expired listing via this
$actions['edit'] = array( 'label' => esc_html__( 'Edit', 'wp-job-manager' ), 'nonce' => false );

add this code in line 63 after
case 'expired' :
:

/wp-job-manager/templates/job-dashboard.php
in

#### What I Expected
Customer is able to edit his listing which is expired

#### What Happened Instead
It´s not working with the WC Paid listing add on,
When using just WPJM it works

#### WordPress / WP Job Manager Version
5.1.1/ 3.2.2

#### Browser / OS Version

#### Screenshot / Video

#### Context / Source

Would be a great feature if this would work with WC Paid listings. This is much more comfortable for the customer, to edit his listing which is expired, instead of choosing a package. So the customer has some kind of "preview" of the listing. Is even more usefull for big companies where lot of different people take care of the listings. So everyone is able to have a quick view on the listing, and can check if this is the right one he has to relist

Contributor guide

Open the contributing guide

Research direction

Start in /wp-job-manager/templates/job-dashboard.php around case 'expired' and the proposed $actions['edit'] entry. Reproduce the expired-listing flow with the WC Paid Listings add-on, then compare it with WP Job Manager alone. Done means a customer can edit an expired listing while the add-on remains compatible and the listing can still be relisted.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.