WPJobBoard 5.8.2
We have just released WPJB 5.8.2, you should see the update notification in your wp-admin panel, if it will not show up within 24 hours go to the wp-admin / Dashboard / Updates panel and click the “Check Again” button it should show then.
This version includes mainly small improvements and bug fixes and it is a recommended update for all users using the 5.X version (of course as always it is also recommended to do a backup before updating).
Changes in 5.8.2
The calendar in the Education in the Experience section showed a dropdown that allowed selecting only 10 years in the past or in the future (ie the range in the dropdown was from 2011 to 2031), we changed that so the users can open the dropdown and scroll 100 years in the past (that is select year 1920).
In the wp-admin / Settings (WPJB) / Job Board Options panel, there is a new field “Redirect expired jobs” you can enter there an URL to the page where users should be redirected when they view some expired job details page.
Note that this option will work only if you have the “Allow visitors to view expired jobs details pages.” checkbox checked. It is also possible to customize the URL the user will be redirected to using a wpjb_front_redirect_expired filter.
Below is an example code that uses the wpjb_front_redirect_expired filter, you can place it in your theme functions.php file and customize to for example redirect users to other jobs in the same category.
add_filter( "wpjb_front_redirect_expired", function( $url, $job ) {
return $url;
}, 10, 2 );
We’ve added also the ability to disable setting cookies by WPJB, since disabling cookies is more of a feature for advanced users this is possible via the wpjb_transient_id filter only. Adding the code below in the theme functions.php file will do that
add_filter( "wpjb_transient_id", "__return_null" );
Other changes
- Feature: $job variables in the notify_admin_general_application email template
- Fixed: The file uploader scripts were moved to the bottom of the page so they will be loaded always after jQuery.
- Fixed: Search by meta fields not working properly when searching by multiple custom field options.
- Fixed: Incorrect link in the wp-admin / Settings (WPJB) / Google For Jobs panel.
- Fixed: Advanced resumes search section hidden in wp-admin / Settings (WPJB) / Custom Fields panel.
- Fixed: PHP8.0 compatibility in the Widgets definition.
- Fixed: PHP8.0 compatibility job alerts not saving in the [wpjb_candidate_panel]
- Fixed: Free memberships extended twice
- Fixed: Selecting dates in the future when editing a membership
- Fixed: Some warning messages on the membership pricing page.
At this time we do not have an update for the Jobeleon theme but a small one will be also available shortly.