Version Description
- Enhancement: Show notice when user is using an older version of WordPress.
- Enhancement: Hide unnecessary view mode in WP Admin's Job Listings page. (@RajeebTheGreat)
- Enhancement: Add support for the
paged
parameter in the RSS feed. (@RajeebTheGreat) - Fix: Minor PHP 7.2 compatibility fixes.
- Dev: Allow
parent
attribute to be passed tojob_manager_dropdown_categories()
. (@RajeebTheGreat)
Download this release
Release Info
Developer | jakeom |
Plugin | WP Job Manager |
Version | 1.30.2 |
Comparing to | |
See all releases |
Code changes from version 1.30.1 to 1.30.2
- changelog.txt +70 -63
- includes/admin/class-wp-job-manager-admin.php +34 -0
- includes/admin/class-wp-job-manager-cpt.php +12 -0
- includes/class-wp-job-manager-post-types.php +1 -0
- languages/wp-job-manager.pot +77 -66
- readme.txt +73 -71
- wp-job-manager-functions.php +8 -1
- wp-job-manager.php +5 -3
changelog.txt
CHANGED
@@ -1,109 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
= 1.30.1 =
|
2 |
-
* Fix: Minor issue with a strict standard error being displayed on some instances.
|
3 |
|
4 |
= 1.30.0 =
|
5 |
-
* Enhancement: Adds ability to have a reCAPTCHA field to check if job listing author is human.
|
6 |
-
* Enhancement: Allows for option to make edits to job listings force listing back into pending approval status.
|
7 |
-
* Enhancement: Adds spinner and disables form when user submits job listing.
|
8 |
-
* Enhancement: Update the add-ons page of the plugin.
|
9 |
-
* Enhancement: Added the ability to sort jobs randomly on the Featured Jobs Widget.
|
10 |
-
* Enhancement: Improved handling of alternative date formats when editing job expiration field in WP admin.
|
11 |
-
* Enhancement: Added star indicator next to featured listings on `[job_dashboard]`.
|
12 |
-
* Enhancement: Opt-in to usage tracking so we can better improve the plugin.
|
13 |
-
* Enhancement: Introduced new asset enqueuing strategy that will be turned on in 1.32.0. Requires plugin and theme updates. (
|
14 |
* Fix: Use WordPress core checks for image formats to not confuse `docx` as an image. (@tripflex)
|
15 |
-
* Fix: Issue with `[jobs]` shortcode when `categories` argument is provided.
|
16 |
-
* Fix: Issue with double encoding HTML entities in custom text area fields.
|
17 |
-
* Fix: Updates `job-dashboard.php` template with `colspan` fix on no active listings message.
|
18 |
-
* Fix: Clear job listings cache when deleting a user and their job listings.
|
19 |
-
* Dev: Adds `is_wpjm()` and related functions to test if we're on a WPJM related page.
|
20 |
-
* Dev: Adds `job_manager_user_edit_job_listing` action that fires after a user edits a job listing.
|
21 |
-
* Dev: Adds `job_manager_enable_job_archive_page` filter to enable job archive page.
|
22 |
-
* Dev: Adds `date` field for custom job listing form fields.
|
23 |
|
24 |
= 1.29.3 =
|
25 |
-
* Fix: When retrieving job listing results, cache only the post results and not all of `WP_Query` (
|
26 |
|
27 |
= 1.29.2 =
|
28 |
* Fix: PHP Notice when sanitizing multiple inputs (bug in 1.29.1 release). (@albionselimaj)
|
29 |
|
30 |
= 1.29.1 =
|
31 |
-
* Enhancement: When retrieving listings in `[jobs]` shortcode, setting `orderby` to `rand_featured` will still place featured listings at the top.
|
32 |
-
* Enhancement: Scroll to show application details when clicking on "Apply for Job" button.
|
33 |
-
* Change: Updates `account-signin.php` template to warn users email will be confirmed only if that is enabled.
|
34 |
-
* Fix: Sanitize URLs and emails differently on the application method job listing field.
|
35 |
* Fix: Remove PHP notice in Featured Jobs widget. (@himanshuahuja96)
|
36 |
* Fix: String fix for consistent spelling of "license" when appearing in strings. (@garrett-eclipse)
|
37 |
-
* Fix: Issue with paid add-on licenses not showing up when some third-party plugins were installed.
|
38 |
-
* Dev: Runs new actions (`job_manager_recent_jobs_widget_before` and `job_manager_recent_jobs_widget_after`) inside Recent Jobs widget.
|
39 |
-
* Dev: Change `wpjm_get_the_job_types()` to return an empty array when job types are disabled.
|
40 |
* See all: https://github.com/Automattic/WP-Job-Manager/milestone/15?closed=1
|
41 |
|
42 |
= 1.29.0 =
|
43 |
-
* Enhancement: Moves license and update management for official add-ons to the core plugin.
|
44 |
-
* Enhancement: Update language for setup wizard with more clear descriptions.
|
45 |
* Fix: Prevent duplicate attachments to job listing posts for non-image media. (@tripflex)
|
46 |
-
* Fix: PHP error on registration form due to missing placeholder text.
|
47 |
* Fix: Apply `the_job_application_method` filter even when no default is available. (@turtlepod)
|
48 |
-
* Fix: Properly reset category selector on `[jobs]` shortcode.
|
49 |
|
50 |
= 1.28.0 =
|
51 |
-
* Enhancement: Improves support for Google Job Search by adding `JobPosting` structured data.
|
52 |
-
* Enhancement: Adds ability for job types to be mapped to an employment type as defined for Google Job Search.
|
53 |
-
* Enhancement: Requests search engines no longer index expired and filled job listings.
|
54 |
-
* Enhancement: Improves support with third-party sitemap generation in Jetpack, Yoast SEO, and All in One SEO.
|
55 |
-
* Enhancement: Updated descriptions and help text on settings page.
|
56 |
-
* Enhancement: Lower cache expiration times across plugin and limit use of autoloaded cache transients.
|
57 |
-
* Fix: Localization issue with WPML in the [jobs] shortcode.
|
58 |
-
* Fix: Show job listings' published date in localized format.
|
59 |
-
* Fix: Job submission form allows users to select multiple job types when they go back a step.
|
60 |
-
* Fix: Some themes that overloaded functions would break in previous release.
|
61 |
-
* Dev: Adds versions to template files so it is easier to tell when they are updated.
|
62 |
-
* Dev: Adds a new `wpjm_notify_new_user` action that allows you to override default behavior.
|
63 |
* Dev: Early version of REST API is bundled but disabled by default. Requires PHP 5.3+ and `WPJM_REST_API_ENABLED` constant must be set to true. Do not use in production; endpoints may change. (@pkg)
|
64 |
|
65 |
= 1.27.0 =
|
66 |
-
* Enhancement: Admins can now allow users to specify an account password when posting their first job listing.
|
67 |
* Enhancement: Pending job listing counts are now cached for improved WP Admin performance. (@tripflex)
|
68 |
-
* Enhancement: Allows users to override permalink slugs in WP Admin's Permalink Settings screen.
|
69 |
-
* Enhancement: Allows admins to perform bulk updating of jobs as filled/not filled.
|
70 |
-
* Enhancement: Adds job listing status CSS classes on single job listings.
|
71 |
-
* Enhancement: Adds `wpjm_the_job_title` filter for inserting non-escaped HTML alongside job titles in templates.
|
72 |
-
* Enhancement: Allows admins to filter by `post_status` in `[jobs]` shortcode.
|
73 |
* Enhancement: Allows accessing settings tab from hash in URL. (@tripflex)
|
74 |
-
* Fix: Make sure cron jobs for checking/cleaning expired listings are always in place.
|
75 |
* Fix: Better handling of multiple job types. (@spencerfinnell)
|
76 |
-
* Fix: Issue with deleting company logos from job listings submission form.
|
77 |
* Fix: Warning thrown on job submission form when user not logged in. (@piersb)
|
78 |
-
* Fix: Issue with WPML not syncing some meta fields.
|
79 |
* Fix: Better handling of AJAX upload errors. (@tripflex)
|
80 |
-
* Fix: Remove job posting cookies on logout.
|
81 |
* Fix: Expiration date can be cleared if default job duration option is empty. (@spencerfinnell)
|
82 |
-
* Fix: Issue with Safari and expiration datepicker.
|
83 |
|
84 |
= 1.26.2 =
|
85 |
* Fix: Prevents use of Ajax file upload endpoint for visitors who aren't logged in. Themes should check with `job_manager_user_can_upload_file_via_ajax()` if using endpoint in templates.
|
86 |
* Fix: Escape post title in WP Admin's Job Listings page and template segments. (Props to @EhsanCod3r)
|
87 |
|
88 |
= 1.26.1 =
|
89 |
-
* Enhancement: Add language using WordPress's current locale to geocode requests.
|
90 |
* Fix: Allow attempts to use Google Maps Geocode API without an API key. (@spencerfinnell)
|
91 |
-
* Fix: Issue affecting job expiry date when editing a job listing. (@spencerfinnell
|
92 |
-
* Fix: Show correct total count of results on `[jobs]` shortcode.
|
93 |
|
94 |
= 1.26.0 =
|
95 |
-
* Enhancement: Warn the user if they're editing an existing job.
|
96 |
* Enhancement: WP Admin Job Listing page's table is now responsive. (@turtlepod)
|
97 |
* Enhancement: New setting for hiding expired listings from `[jobs]` filter. (@turtlepod)
|
98 |
-
* Enhancement: Use WP Query's built in search function to improve searching in `[jobs]`.
|
99 |
* Fix: Job Listing filter only searches meta fields with relevant content. Add custom fields with `job_listing_searchable_meta_keys` filter. (@turtlepod)
|
100 |
-
* Fix: Improved support for WPML and Polylang.
|
101 |
* Fix: Expired field no longer forces admins to choose a date in the future. (@turtlepod)
|
102 |
-
* Fix: Listings with expiration date in past will immediately expire; moving to Active status will extend if necessary. (@turtlepod
|
103 |
-
* Fix: Google Maps API key setting added to fix geolocation retrieval on new sites.
|
104 |
* Fix: Issue when duplicating a job listing with a field for multiple file uploads. (@turtlepod)
|
105 |
-
* Fix: Hide page results when adding links in the `[submit_job_form]` shortcode.
|
106 |
-
* Fix: Job feed now loads when a site has no posts.
|
107 |
* Fix: No error is thrown when deleting a user. (@tripflex)
|
108 |
* Dev: Plugins and themes can now retrieve JSON of Job Listings results without HTML. (@spencerfinnell)
|
109 |
* Dev: Updated inline documentation.
|
1 |
+
= 1.30.2 =
|
2 |
+
* Enhancement: Show notice when user is using an older version of WordPress.
|
3 |
+
* Enhancement: Hide unnecessary view mode in WP Admin's Job Listings page. (@RajeebTheGreat)
|
4 |
+
* Enhancement: Add support for the `paged` parameter in the RSS feed. (@RajeebTheGreat)
|
5 |
+
* Fix: Minor PHP 7.2 compatibility fixes.
|
6 |
+
* Dev: Allow `parent` attribute to be passed to `job_manager_dropdown_categories()`. (@RajeebTheGreat)
|
7 |
+
|
8 |
= 1.30.1 =
|
9 |
+
* Fix: Minor issue with a strict standard error being displayed on some instances.
|
10 |
|
11 |
= 1.30.0 =
|
12 |
+
* Enhancement: Adds ability to have a reCAPTCHA field to check if job listing author is human.
|
13 |
+
* Enhancement: Allows for option to make edits to job listings force listing back into pending approval status.
|
14 |
+
* Enhancement: Adds spinner and disables form when user submits job listing.
|
15 |
+
* Enhancement: Update the add-ons page of the plugin.
|
16 |
+
* Enhancement: Added the ability to sort jobs randomly on the Featured Jobs Widget.
|
17 |
+
* Enhancement: Improved handling of alternative date formats when editing job expiration field in WP admin.
|
18 |
+
* Enhancement: Added star indicator next to featured listings on `[job_dashboard]`.
|
19 |
+
* Enhancement: Opt-in to usage tracking so we can better improve the plugin.
|
20 |
+
* Enhancement: Introduced new asset enqueuing strategy that will be turned on in 1.32.0. Requires plugin and theme updates. (Dev notes: https://github.com/Automattic/WP-Job-Manager/pull/1354)
|
21 |
* Fix: Use WordPress core checks for image formats to not confuse `docx` as an image. (@tripflex)
|
22 |
+
* Fix: Issue with `[jobs]` shortcode when `categories` argument is provided.
|
23 |
+
* Fix: Issue with double encoding HTML entities in custom text area fields.
|
24 |
+
* Fix: Updates `job-dashboard.php` template with `colspan` fix on no active listings message.
|
25 |
+
* Fix: Clear job listings cache when deleting a user and their job listings.
|
26 |
+
* Dev: Adds `is_wpjm()` and related functions to test if we're on a WPJM related page.
|
27 |
+
* Dev: Adds `job_manager_user_edit_job_listing` action that fires after a user edits a job listing.
|
28 |
+
* Dev: Adds `job_manager_enable_job_archive_page` filter to enable job archive page.
|
29 |
+
* Dev: Adds `date` field for custom job listing form fields.
|
30 |
|
31 |
= 1.29.3 =
|
32 |
+
* Fix: When retrieving job listing results, cache only the post results and not all of `WP_Query` (props slavco)
|
33 |
|
34 |
= 1.29.2 =
|
35 |
* Fix: PHP Notice when sanitizing multiple inputs (bug in 1.29.1 release). (@albionselimaj)
|
36 |
|
37 |
= 1.29.1 =
|
38 |
+
* Enhancement: When retrieving listings in `[jobs]` shortcode, setting `orderby` to `rand_featured` will still place featured listings at the top.
|
39 |
+
* Enhancement: Scroll to show application details when clicking on "Apply for Job" button.
|
40 |
+
* Change: Updates `account-signin.php` template to warn users email will be confirmed only if that is enabled.
|
41 |
+
* Fix: Sanitize URLs and emails differently on the application method job listing field.
|
42 |
* Fix: Remove PHP notice in Featured Jobs widget. (@himanshuahuja96)
|
43 |
* Fix: String fix for consistent spelling of "license" when appearing in strings. (@garrett-eclipse)
|
44 |
+
* Fix: Issue with paid add-on licenses not showing up when some third-party plugins were installed.
|
45 |
+
* Dev: Runs new actions (`job_manager_recent_jobs_widget_before` and `job_manager_recent_jobs_widget_after`) inside Recent Jobs widget.
|
46 |
+
* Dev: Change `wpjm_get_the_job_types()` to return an empty array when job types are disabled.
|
47 |
* See all: https://github.com/Automattic/WP-Job-Manager/milestone/15?closed=1
|
48 |
|
49 |
= 1.29.0 =
|
50 |
+
* Enhancement: Moves license and update management for official add-ons to the core plugin.
|
51 |
+
* Enhancement: Update language for setup wizard with more clear descriptions.
|
52 |
* Fix: Prevent duplicate attachments to job listing posts for non-image media. (@tripflex)
|
53 |
+
* Fix: PHP error on registration form due to missing placeholder text.
|
54 |
* Fix: Apply `the_job_application_method` filter even when no default is available. (@turtlepod)
|
55 |
+
* Fix: Properly reset category selector on `[jobs]` shortcode.
|
56 |
|
57 |
= 1.28.0 =
|
58 |
+
* Enhancement: Improves support for Google Job Search by adding `JobPosting` structured data.
|
59 |
+
* Enhancement: Adds ability for job types to be mapped to an employment type as defined for Google Job Search.
|
60 |
+
* Enhancement: Requests search engines no longer index expired and filled job listings.
|
61 |
+
* Enhancement: Improves support with third-party sitemap generation in Jetpack, Yoast SEO, and All in One SEO.
|
62 |
+
* Enhancement: Updated descriptions and help text on settings page.
|
63 |
+
* Enhancement: Lower cache expiration times across plugin and limit use of autoloaded cache transients.
|
64 |
+
* Fix: Localization issue with WPML in the [jobs] shortcode.
|
65 |
+
* Fix: Show job listings' published date in localized format.
|
66 |
+
* Fix: Job submission form allows users to select multiple job types when they go back a step.
|
67 |
+
* Fix: Some themes that overloaded functions would break in previous release.
|
68 |
+
* Dev: Adds versions to template files so it is easier to tell when they are updated.
|
69 |
+
* Dev: Adds a new `wpjm_notify_new_user` action that allows you to override default behavior.
|
70 |
* Dev: Early version of REST API is bundled but disabled by default. Requires PHP 5.3+ and `WPJM_REST_API_ENABLED` constant must be set to true. Do not use in production; endpoints may change. (@pkg)
|
71 |
|
72 |
= 1.27.0 =
|
73 |
+
* Enhancement: Admins can now allow users to specify an account password when posting their first job listing.
|
74 |
* Enhancement: Pending job listing counts are now cached for improved WP Admin performance. (@tripflex)
|
75 |
+
* Enhancement: Allows users to override permalink slugs in WP Admin's Permalink Settings screen.
|
76 |
+
* Enhancement: Allows admins to perform bulk updating of jobs as filled/not filled.
|
77 |
+
* Enhancement: Adds job listing status CSS classes on single job listings.
|
78 |
+
* Enhancement: Adds `wpjm_the_job_title` filter for inserting non-escaped HTML alongside job titles in templates.
|
79 |
+
* Enhancement: Allows admins to filter by `post_status` in `[jobs]` shortcode.
|
80 |
* Enhancement: Allows accessing settings tab from hash in URL. (@tripflex)
|
81 |
+
* Fix: Make sure cron jobs for checking/cleaning expired listings are always in place.
|
82 |
* Fix: Better handling of multiple job types. (@spencerfinnell)
|
83 |
+
* Fix: Issue with deleting company logos from job listings submission form.
|
84 |
* Fix: Warning thrown on job submission form when user not logged in. (@piersb)
|
85 |
+
* Fix: Issue with WPML not syncing some meta fields.
|
86 |
* Fix: Better handling of AJAX upload errors. (@tripflex)
|
87 |
+
* Fix: Remove job posting cookies on logout.
|
88 |
* Fix: Expiration date can be cleared if default job duration option is empty. (@spencerfinnell)
|
89 |
+
* Fix: Issue with Safari and expiration datepicker.
|
90 |
|
91 |
= 1.26.2 =
|
92 |
* Fix: Prevents use of Ajax file upload endpoint for visitors who aren't logged in. Themes should check with `job_manager_user_can_upload_file_via_ajax()` if using endpoint in templates.
|
93 |
* Fix: Escape post title in WP Admin's Job Listings page and template segments. (Props to @EhsanCod3r)
|
94 |
|
95 |
= 1.26.1 =
|
96 |
+
* Enhancement: Add language using WordPress's current locale to geocode requests.
|
97 |
* Fix: Allow attempts to use Google Maps Geocode API without an API key. (@spencerfinnell)
|
98 |
+
* Fix: Issue affecting job expiry date when editing a job listing. (@spencerfinnell)
|
99 |
+
* Fix: Show correct total count of results on `[jobs]` shortcode.
|
100 |
|
101 |
= 1.26.0 =
|
102 |
+
* Enhancement: Warn the user if they're editing an existing job.
|
103 |
* Enhancement: WP Admin Job Listing page's table is now responsive. (@turtlepod)
|
104 |
* Enhancement: New setting for hiding expired listings from `[jobs]` filter. (@turtlepod)
|
105 |
+
* Enhancement: Use WP Query's built in search function to improve searching in `[jobs]`.
|
106 |
* Fix: Job Listing filter only searches meta fields with relevant content. Add custom fields with `job_listing_searchable_meta_keys` filter. (@turtlepod)
|
107 |
+
* Fix: Improved support for WPML and Polylang.
|
108 |
* Fix: Expired field no longer forces admins to choose a date in the future. (@turtlepod)
|
109 |
+
* Fix: Listings with expiration date in past will immediately expire; moving to Active status will extend if necessary. (@turtlepod)
|
110 |
+
* Fix: Google Maps API key setting added to fix geolocation retrieval on new sites.
|
111 |
* Fix: Issue when duplicating a job listing with a field for multiple file uploads. (@turtlepod)
|
112 |
+
* Fix: Hide page results when adding links in the `[submit_job_form]` shortcode.
|
113 |
+
* Fix: Job feed now loads when a site has no posts.
|
114 |
* Fix: No error is thrown when deleting a user. (@tripflex)
|
115 |
* Dev: Plugins and themes can now retrieve JSON of Job Listings results without HTML. (@spencerfinnell)
|
116 |
* Dev: Updated inline documentation.
|
includes/admin/class-wp-job-manager-admin.php
CHANGED
@@ -61,7 +61,41 @@ class WP_Job_Manager_Admin {
|
|
61 |
* Set up actions during admin initialization.
|
62 |
*/
|
63 |
public function admin_init() {
|
|
|
|
|
64 |
include_once( dirname( __FILE__ ) . '/class-wp-job-manager-taxonomy-meta.php' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
}
|
66 |
|
67 |
/**
|
61 |
* Set up actions during admin initialization.
|
62 |
*/
|
63 |
public function admin_init() {
|
64 |
+
global $wp_version;
|
65 |
+
|
66 |
include_once( dirname( __FILE__ ) . '/class-wp-job-manager-taxonomy-meta.php' );
|
67 |
+
|
68 |
+
if ( version_compare( $wp_version, JOB_MANAGER_MINIMUM_WP_VERSION, '<' ) ) {
|
69 |
+
add_action( 'admin_notices', array( $this, 'wp_version_admin_notice' ) );
|
70 |
+
add_filter( 'plugin_action_links_' . JOB_MANAGER_PLUGIN_BASENAME, array( $this, 'wp_version_plugin_action_notice' ) );
|
71 |
+
}
|
72 |
+
}
|
73 |
+
|
74 |
+
/**
|
75 |
+
* Display notice if WordPress core is out-of-date in admin notice section.
|
76 |
+
*/
|
77 |
+
public function wp_version_admin_notice() {
|
78 |
+
// We only want to show the notices on the plugins page and WPJM admin pages.
|
79 |
+
$screen = get_current_screen();
|
80 |
+
$valid_screens = array( 'plugins', 'edit-job_listing', 'job_listing_page_job-manager-settings', 'edit-job_listing_type', 'edit-job_listing_category', 'job_listing' );
|
81 |
+
if ( null === $screen || ! in_array( $screen->id, $valid_screens ) ) {
|
82 |
+
return;
|
83 |
+
}
|
84 |
+
|
85 |
+
echo '<div class="error">';
|
86 |
+
echo '<p>' . sprintf( __( 'The upcoming release of <strong>WP Job Manager 1.31.0</strong> will require a more recent version of WordPress. <a href="%s">Please update WordPress</a> before updating WP Job Manager.', 'wp-job-manager' ), esc_url( self_admin_url( 'update-core.php' ) ) ) . '</p>';
|
87 |
+
echo '</div>';
|
88 |
+
}
|
89 |
+
|
90 |
+
/**
|
91 |
+
* Add admin notice when WP upgrade is required.
|
92 |
+
*
|
93 |
+
* @param array $actions
|
94 |
+
* @return array
|
95 |
+
*/
|
96 |
+
public function wp_version_plugin_action_notice( $actions ) {
|
97 |
+
$actions[] = sprintf( __( '<a href="%s" style="color: red">WordPress Update Required</a>', 'wp-job-manager' ), esc_url( self_admin_url( 'update-core.php' ) ) );
|
98 |
+
return $actions;
|
99 |
}
|
100 |
|
101 |
/**
|
includes/admin/class-wp-job-manager-cpt.php
CHANGED
@@ -50,6 +50,7 @@ class WP_Job_Manager_CPT {
|
|
50 |
add_action( 'handle_bulk_actions-edit-job_listing', array( $this, 'do_bulk_actions' ), 10, 3 );
|
51 |
add_action( 'admin_init', array( $this, 'approve_job' ) );
|
52 |
add_action( 'admin_notices', array( $this, 'action_notices' ) );
|
|
|
53 |
|
54 |
if ( get_option( 'job_manager_enable_categories' ) ) {
|
55 |
add_action( "restrict_manage_posts", array( $this, "jobs_by_category" ) );
|
@@ -647,4 +648,15 @@ class WP_Job_Manager_CPT {
|
|
647 |
</script>
|
648 |
<?php
|
649 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
650 |
}
|
50 |
add_action( 'handle_bulk_actions-edit-job_listing', array( $this, 'do_bulk_actions' ), 10, 3 );
|
51 |
add_action( 'admin_init', array( $this, 'approve_job' ) );
|
52 |
add_action( 'admin_notices', array( $this, 'action_notices' ) );
|
53 |
+
add_action( 'view_mode_post_types', array( $this, 'disable_view_mode' ) );
|
54 |
|
55 |
if ( get_option( 'job_manager_enable_categories' ) ) {
|
56 |
add_action( "restrict_manage_posts", array( $this, "jobs_by_category" ) );
|
648 |
</script>
|
649 |
<?php
|
650 |
}
|
651 |
+
|
652 |
+
/**
|
653 |
+
* Removes job_listing from the list of post types that support "View Mode" option
|
654 |
+
*
|
655 |
+
* @param array $post_types Array of post types that support view mode
|
656 |
+
* @return array Array of post types that support view mode, without job_listing post type
|
657 |
+
*/
|
658 |
+
public function disable_view_mode( $post_types ) {
|
659 |
+
unset( $post_types['job_listing'] );
|
660 |
+
return $post_types;
|
661 |
+
}
|
662 |
}
|
includes/class-wp-job-manager-post-types.php
CHANGED
@@ -352,6 +352,7 @@ class WP_Job_Manager_Post_Types {
|
|
352 |
'post_status' => 'publish',
|
353 |
'ignore_sticky_posts' => 1,
|
354 |
'posts_per_page' => isset( $_GET['posts_per_page'] ) ? absint( $_GET['posts_per_page'] ) : 10,
|
|
|
355 |
'tax_query' => array(),
|
356 |
'meta_query' => array()
|
357 |
);
|
352 |
'post_status' => 'publish',
|
353 |
'ignore_sticky_posts' => 1,
|
354 |
'posts_per_page' => isset( $_GET['posts_per_page'] ) ? absint( $_GET['posts_per_page'] ) : 10,
|
355 |
+
'paged' => absint( get_query_var( 'paged', 1 ) ),
|
356 |
'tax_query' => array(),
|
357 |
'meta_query' => array()
|
358 |
);
|
languages/wp-job-manager.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the GPL2+.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: WP Job Manager 1.30.
|
6 |
"Report-Msgid-Bugs-To: https://github.com/Automattic/WP-Job-Manager/issues\n"
|
7 |
-
"POT-Creation-Date: 2018-03-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -19,7 +19,7 @@ msgid "\"%s\" check failed. Please try again."
|
|
19 |
msgstr ""
|
20 |
|
21 |
#: includes/admin/class-wp-job-manager-addons.php:111
|
22 |
-
#: includes/admin/class-wp-job-manager-admin.php:
|
23 |
#: includes/admin/views/html-admin-page-addons.php:2
|
24 |
msgid "WP Job Manager Add-ons"
|
25 |
msgstr ""
|
@@ -29,102 +29,113 @@ msgstr ""
|
|
29 |
msgid "Licenses"
|
30 |
msgstr ""
|
31 |
|
32 |
-
#: includes/admin/class-wp-job-manager-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
msgid "Settings"
|
34 |
msgstr ""
|
35 |
|
36 |
-
#: includes/admin/class-wp-job-manager-admin.php:
|
37 |
msgid "Add-ons"
|
38 |
msgstr ""
|
39 |
|
40 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
41 |
msgid "Approve %s"
|
42 |
msgstr ""
|
43 |
|
44 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
45 |
msgid "%s approved"
|
46 |
msgstr ""
|
47 |
|
48 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
49 |
msgid "Expire %s"
|
50 |
msgstr ""
|
51 |
|
52 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
53 |
msgid "%s expired"
|
54 |
msgstr ""
|
55 |
|
56 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
57 |
msgid "Mark %s Filled"
|
58 |
msgstr ""
|
59 |
|
60 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
61 |
msgid "%s marked as filled"
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
65 |
msgid "Mark %s Not Filled"
|
66 |
msgstr ""
|
67 |
|
68 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
69 |
msgid "%s marked as not filled"
|
70 |
msgstr ""
|
71 |
|
72 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
73 |
msgid "Select category"
|
74 |
msgstr ""
|
75 |
|
76 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
77 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
78 |
msgid "Position"
|
79 |
msgstr ""
|
80 |
|
81 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
82 |
msgid "%s updated. <a href=\"%s\">View</a>"
|
83 |
msgstr ""
|
84 |
|
85 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
86 |
msgid "Custom field updated."
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
90 |
msgid "Custom field deleted."
|
91 |
msgstr ""
|
92 |
|
93 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
94 |
msgid "%s updated."
|
95 |
msgstr ""
|
96 |
|
97 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
98 |
msgid "%s restored to revision from %s"
|
99 |
msgstr ""
|
100 |
|
101 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
102 |
msgid "%s published. <a href=\"%s\">View</a>"
|
103 |
msgstr ""
|
104 |
|
105 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
106 |
msgid "%s saved."
|
107 |
msgstr ""
|
108 |
|
109 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
110 |
msgid "%s submitted. <a target=\"_blank\" href=\"%s\">Preview</a>"
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
114 |
msgid ""
|
115 |
"%s scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" "
|
116 |
"href=\"%2$s\">Preview</a>"
|
117 |
msgstr ""
|
118 |
|
119 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
120 |
msgid "%s draft updated. <a target=\"_blank\" href=\"%s\">Preview</a>"
|
121 |
msgstr ""
|
122 |
|
123 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
124 |
msgid "Type"
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
128 |
#: includes/admin/class-wp-job-manager-writepanels.php:55
|
129 |
#: includes/forms/class-wp-job-manager-form-submit-job.php:178
|
130 |
#: includes/widgets/class-wp-job-manager-widget-recent-jobs.php:38
|
@@ -132,66 +143,66 @@ msgstr ""
|
|
132 |
msgid "Location"
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
136 |
msgid "Status"
|
137 |
msgstr ""
|
138 |
|
139 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
140 |
msgid "Posted"
|
141 |
msgstr ""
|
142 |
|
143 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
144 |
msgid "Expires"
|
145 |
msgstr ""
|
146 |
|
147 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
148 |
#: includes/admin/class-wp-job-manager-settings.php:145
|
149 |
msgid "Categories"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
153 |
msgid "Featured?"
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
157 |
#: includes/class-wp-job-manager-shortcodes.php:218
|
158 |
msgid "Filled?"
|
159 |
msgstr ""
|
160 |
|
161 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
162 |
msgid "Actions"
|
163 |
msgstr ""
|
164 |
|
165 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
166 |
msgid "ID: %d"
|
167 |
msgstr ""
|
168 |
|
169 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
170 |
msgid "by a guest"
|
171 |
msgstr ""
|
172 |
|
173 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
174 |
msgid "by %s"
|
175 |
msgstr ""
|
176 |
|
177 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
178 |
msgid "Approve"
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
182 |
#: includes/admin/class-wp-job-manager-writepanels.php:257
|
183 |
#: includes/admin/class-wp-job-manager-writepanels.php:260
|
184 |
#: includes/admin/class-wp-job-manager-writepanels.php:263
|
185 |
msgid "View"
|
186 |
msgstr ""
|
187 |
|
188 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
189 |
#: includes/class-wp-job-manager-post-types.php:221
|
190 |
#: templates/job-dashboard.php:52 templates/job-dashboard.php:70
|
191 |
msgid "Edit"
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: includes/admin/class-wp-job-manager-cpt.php:
|
195 |
#: templates/job-dashboard.php:75
|
196 |
msgid "Delete"
|
197 |
msgstr ""
|
@@ -1307,7 +1318,7 @@ msgid "%s is invalid"
|
|
1307 |
msgstr ""
|
1308 |
|
1309 |
#: includes/forms/class-wp-job-manager-form-submit-job.php:332
|
1310 |
-
#: wp-job-manager-functions.php:
|
1311 |
msgid "\"%s\" (filetype %s) needs to be one of the following file types: %s"
|
1312 |
msgstr ""
|
1313 |
|
@@ -1587,12 +1598,12 @@ msgid "Maximum file size: %s."
|
|
1587 |
msgstr ""
|
1588 |
|
1589 |
#: templates/form-fields/multiselect-field.php:20
|
1590 |
-
#: wp-job-manager-functions.php:
|
1591 |
msgid "No results match"
|
1592 |
msgstr ""
|
1593 |
|
1594 |
#: templates/form-fields/multiselect-field.php:20
|
1595 |
-
#: wp-job-manager-functions.php:
|
1596 |
msgid "Select Some Options"
|
1597 |
msgstr ""
|
1598 |
|
@@ -1701,59 +1712,59 @@ msgstr ""
|
|
1701 |
msgid "RSS"
|
1702 |
msgstr ""
|
1703 |
|
1704 |
-
#: wp-job-manager-functions.php:
|
1705 |
msgid "Invalid email address."
|
1706 |
msgstr ""
|
1707 |
|
1708 |
-
#: wp-job-manager-functions.php:
|
1709 |
msgid "Your email address isn’t correct."
|
1710 |
msgstr ""
|
1711 |
|
1712 |
-
#: wp-job-manager-functions.php:
|
1713 |
msgid "This email is already registered, please choose another one."
|
1714 |
msgstr ""
|
1715 |
|
1716 |
-
#: wp-job-manager-functions.php:
|
1717 |
msgid "Full Time"
|
1718 |
msgstr ""
|
1719 |
|
1720 |
-
#: wp-job-manager-functions.php:
|
1721 |
msgid "Part Time"
|
1722 |
msgstr ""
|
1723 |
|
1724 |
-
#: wp-job-manager-functions.php:
|
1725 |
msgid "Contractor"
|
1726 |
msgstr ""
|
1727 |
|
1728 |
-
#: wp-job-manager-functions.php:
|
1729 |
msgid "Temporary"
|
1730 |
msgstr ""
|
1731 |
|
1732 |
-
#: wp-job-manager-functions.php:
|
1733 |
msgid "Intern"
|
1734 |
msgstr ""
|
1735 |
|
1736 |
-
#: wp-job-manager-functions.php:
|
1737 |
msgid "Volunteer"
|
1738 |
msgstr ""
|
1739 |
|
1740 |
-
#: wp-job-manager-functions.php:
|
1741 |
msgid "Per Diem"
|
1742 |
msgstr ""
|
1743 |
|
1744 |
-
#: wp-job-manager-functions.php:
|
1745 |
msgid "Other"
|
1746 |
msgstr ""
|
1747 |
|
1748 |
-
#: wp-job-manager-functions.php:
|
1749 |
msgid "Passwords must be at least 8 characters long."
|
1750 |
msgstr ""
|
1751 |
|
1752 |
-
#: wp-job-manager-functions.php:
|
1753 |
msgid "Choose a category…"
|
1754 |
msgstr ""
|
1755 |
|
1756 |
-
#: wp-job-manager-functions.php:
|
1757 |
msgid "Uploaded files need to be one of the following file types: %s"
|
1758 |
msgstr ""
|
1759 |
|
@@ -1793,15 +1804,15 @@ msgstr ""
|
|
1793 |
msgid "Anywhere"
|
1794 |
msgstr ""
|
1795 |
|
1796 |
-
#: wp-job-manager.php:
|
1797 |
msgid "Load previous listings"
|
1798 |
msgstr ""
|
1799 |
|
1800 |
-
#: wp-job-manager.php:
|
1801 |
msgid "Invalid file type. Accepted types:"
|
1802 |
msgstr ""
|
1803 |
|
1804 |
-
#: wp-job-manager.php:
|
1805 |
msgid "Are you sure you want to delete this listing?"
|
1806 |
msgstr ""
|
1807 |
|
@@ -1823,7 +1834,7 @@ msgstr ""
|
|
1823 |
msgid "Automattic"
|
1824 |
msgstr ""
|
1825 |
|
1826 |
-
#: includes/admin/class-wp-job-manager-admin.php:
|
1827 |
#: includes/forms/class-wp-job-manager-form-submit-job.php:401
|
1828 |
#. translators: jQuery date format, see
|
1829 |
#. http:api.jqueryui.com/datepicker/#utility-formatDate
|
@@ -1832,19 +1843,19 @@ msgid "yy-mm-dd"
|
|
1832 |
msgstr ""
|
1833 |
|
1834 |
#: includes/admin/class-wp-job-manager-permalink-settings.php:81
|
1835 |
-
#: includes/class-wp-job-manager-post-types.php:
|
1836 |
msgctxt "Job permalink - resave permalinks after changing this"
|
1837 |
msgid "job"
|
1838 |
msgstr ""
|
1839 |
|
1840 |
#: includes/admin/class-wp-job-manager-permalink-settings.php:90
|
1841 |
-
#: includes/class-wp-job-manager-post-types.php:
|
1842 |
msgctxt "Job category slug - resave permalinks after changing this"
|
1843 |
msgid "job-category"
|
1844 |
msgstr ""
|
1845 |
|
1846 |
#: includes/admin/class-wp-job-manager-permalink-settings.php:99
|
1847 |
-
#: includes/class-wp-job-manager-post-types.php:
|
1848 |
msgctxt "Job type slug - resave permalinks after changing this"
|
1849 |
msgid "job-type"
|
1850 |
msgstr ""
|
2 |
# This file is distributed under the GPL2+.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: WP Job Manager 1.30.2\n"
|
6 |
"Report-Msgid-Bugs-To: https://github.com/Automattic/WP-Job-Manager/issues\n"
|
7 |
+
"POT-Creation-Date: 2018-03-28 10:44:19+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
19 |
msgstr ""
|
20 |
|
21 |
#: includes/admin/class-wp-job-manager-addons.php:111
|
22 |
+
#: includes/admin/class-wp-job-manager-admin.php:150
|
23 |
#: includes/admin/views/html-admin-page-addons.php:2
|
24 |
msgid "WP Job Manager Add-ons"
|
25 |
msgstr ""
|
29 |
msgid "Licenses"
|
30 |
msgstr ""
|
31 |
|
32 |
+
#: includes/admin/class-wp-job-manager-admin.php:86
|
33 |
+
msgid ""
|
34 |
+
"The upcoming release of <strong>WP Job Manager 1.31.0</strong> will require "
|
35 |
+
"a more recent version of WordPress. <a href=\"%s\">Please update "
|
36 |
+
"WordPress</a> before updating WP Job Manager."
|
37 |
+
msgstr ""
|
38 |
+
|
39 |
+
#: includes/admin/class-wp-job-manager-admin.php:97
|
40 |
+
msgid "<a href=\"%s\" style=\"color: red\">WordPress Update Required</a>"
|
41 |
+
msgstr ""
|
42 |
+
|
43 |
+
#: includes/admin/class-wp-job-manager-admin.php:147
|
44 |
msgid "Settings"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: includes/admin/class-wp-job-manager-admin.php:150
|
48 |
msgid "Add-ons"
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: includes/admin/class-wp-job-manager-cpt.php:72
|
52 |
msgid "Approve %s"
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: includes/admin/class-wp-job-manager-cpt.php:73
|
56 |
msgid "%s approved"
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: includes/admin/class-wp-job-manager-cpt.php:77
|
60 |
msgid "Expire %s"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: includes/admin/class-wp-job-manager-cpt.php:78
|
64 |
msgid "%s expired"
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: includes/admin/class-wp-job-manager-cpt.php:82
|
68 |
msgid "Mark %s Filled"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: includes/admin/class-wp-job-manager-cpt.php:83
|
72 |
msgid "%s marked as filled"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: includes/admin/class-wp-job-manager-cpt.php:87
|
76 |
msgid "Mark %s Not Filled"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: includes/admin/class-wp-job-manager-cpt.php:88
|
80 |
msgid "%s marked as not filled"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: includes/admin/class-wp-job-manager-cpt.php:299
|
84 |
msgid "Select category"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: includes/admin/class-wp-job-manager-cpt.php:315
|
88 |
+
#: includes/admin/class-wp-job-manager-cpt.php:359
|
89 |
msgid "Position"
|
90 |
msgstr ""
|
91 |
|
92 |
+
#: includes/admin/class-wp-job-manager-cpt.php:330
|
93 |
msgid "%s updated. <a href=\"%s\">View</a>"
|
94 |
msgstr ""
|
95 |
|
96 |
+
#: includes/admin/class-wp-job-manager-cpt.php:331
|
97 |
msgid "Custom field updated."
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: includes/admin/class-wp-job-manager-cpt.php:332
|
101 |
msgid "Custom field deleted."
|
102 |
msgstr ""
|
103 |
|
104 |
+
#: includes/admin/class-wp-job-manager-cpt.php:333
|
105 |
msgid "%s updated."
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: includes/admin/class-wp-job-manager-cpt.php:334
|
109 |
msgid "%s restored to revision from %s"
|
110 |
msgstr ""
|
111 |
|
112 |
+
#: includes/admin/class-wp-job-manager-cpt.php:335
|
113 |
msgid "%s published. <a href=\"%s\">View</a>"
|
114 |
msgstr ""
|
115 |
|
116 |
+
#: includes/admin/class-wp-job-manager-cpt.php:336
|
117 |
msgid "%s saved."
|
118 |
msgstr ""
|
119 |
|
120 |
+
#: includes/admin/class-wp-job-manager-cpt.php:337
|
121 |
msgid "%s submitted. <a target=\"_blank\" href=\"%s\">Preview</a>"
|
122 |
msgstr ""
|
123 |
|
124 |
+
#: includes/admin/class-wp-job-manager-cpt.php:338
|
125 |
msgid ""
|
126 |
"%s scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" "
|
127 |
"href=\"%2$s\">Preview</a>"
|
128 |
msgstr ""
|
129 |
|
130 |
+
#: includes/admin/class-wp-job-manager-cpt.php:340
|
131 |
msgid "%s draft updated. <a target=\"_blank\" href=\"%s\">Preview</a>"
|
132 |
msgstr ""
|
133 |
|
134 |
+
#: includes/admin/class-wp-job-manager-cpt.php:360
|
135 |
msgid "Type"
|
136 |
msgstr ""
|
137 |
|
138 |
+
#: includes/admin/class-wp-job-manager-cpt.php:361
|
139 |
#: includes/admin/class-wp-job-manager-writepanels.php:55
|
140 |
#: includes/forms/class-wp-job-manager-form-submit-job.php:178
|
141 |
#: includes/widgets/class-wp-job-manager-widget-recent-jobs.php:38
|
143 |
msgid "Location"
|
144 |
msgstr ""
|
145 |
|
146 |
+
#: includes/admin/class-wp-job-manager-cpt.php:362
|
147 |
msgid "Status"
|
148 |
msgstr ""
|
149 |
|
150 |
+
#: includes/admin/class-wp-job-manager-cpt.php:363
|
151 |
msgid "Posted"
|
152 |
msgstr ""
|
153 |
|
154 |
+
#: includes/admin/class-wp-job-manager-cpt.php:364
|
155 |
msgid "Expires"
|
156 |
msgstr ""
|
157 |
|
158 |
+
#: includes/admin/class-wp-job-manager-cpt.php:365
|
159 |
#: includes/admin/class-wp-job-manager-settings.php:145
|
160 |
msgid "Categories"
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: includes/admin/class-wp-job-manager-cpt.php:366
|
164 |
msgid "Featured?"
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: includes/admin/class-wp-job-manager-cpt.php:367
|
168 |
#: includes/class-wp-job-manager-shortcodes.php:218
|
169 |
msgid "Filled?"
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: includes/admin/class-wp-job-manager-cpt.php:368
|
173 |
msgid "Actions"
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: includes/admin/class-wp-job-manager-cpt.php:432
|
177 |
msgid "ID: %d"
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: includes/admin/class-wp-job-manager-cpt.php:462
|
181 |
msgid "by a guest"
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: includes/admin/class-wp-job-manager-cpt.php:462
|
185 |
msgid "by %s"
|
186 |
msgstr ""
|
187 |
|
188 |
+
#: includes/admin/class-wp-job-manager-cpt.php:480
|
189 |
msgid "Approve"
|
190 |
msgstr ""
|
191 |
|
192 |
+
#: includes/admin/class-wp-job-manager-cpt.php:488
|
193 |
#: includes/admin/class-wp-job-manager-writepanels.php:257
|
194 |
#: includes/admin/class-wp-job-manager-writepanels.php:260
|
195 |
#: includes/admin/class-wp-job-manager-writepanels.php:263
|
196 |
msgid "View"
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: includes/admin/class-wp-job-manager-cpt.php:495
|
200 |
#: includes/class-wp-job-manager-post-types.php:221
|
201 |
#: templates/job-dashboard.php:52 templates/job-dashboard.php:70
|
202 |
msgid "Edit"
|
203 |
msgstr ""
|
204 |
|
205 |
+
#: includes/admin/class-wp-job-manager-cpt.php:502
|
206 |
#: templates/job-dashboard.php:75
|
207 |
msgid "Delete"
|
208 |
msgstr ""
|
1318 |
msgstr ""
|
1319 |
|
1320 |
#: includes/forms/class-wp-job-manager-form-submit-job.php:332
|
1321 |
+
#: wp-job-manager-functions.php:1242
|
1322 |
msgid "\"%s\" (filetype %s) needs to be one of the following file types: %s"
|
1323 |
msgstr ""
|
1324 |
|
1598 |
msgstr ""
|
1599 |
|
1600 |
#: templates/form-fields/multiselect-field.php:20
|
1601 |
+
#: wp-job-manager-functions.php:1029
|
1602 |
msgid "No results match"
|
1603 |
msgstr ""
|
1604 |
|
1605 |
#: templates/form-fields/multiselect-field.php:20
|
1606 |
+
#: wp-job-manager-functions.php:1030
|
1607 |
msgid "Select Some Options"
|
1608 |
msgstr ""
|
1609 |
|
1712 |
msgid "RSS"
|
1713 |
msgstr ""
|
1714 |
|
1715 |
+
#: wp-job-manager-functions.php:525
|
1716 |
msgid "Invalid email address."
|
1717 |
msgstr ""
|
1718 |
|
1719 |
+
#: wp-job-manager-functions.php:533
|
1720 |
msgid "Your email address isn’t correct."
|
1721 |
msgstr ""
|
1722 |
|
1723 |
+
#: wp-job-manager-functions.php:537
|
1724 |
msgid "This email is already registered, please choose another one."
|
1725 |
msgstr ""
|
1726 |
|
1727 |
+
#: wp-job-manager-functions.php:835
|
1728 |
msgid "Full Time"
|
1729 |
msgstr ""
|
1730 |
|
1731 |
+
#: wp-job-manager-functions.php:836
|
1732 |
msgid "Part Time"
|
1733 |
msgstr ""
|
1734 |
|
1735 |
+
#: wp-job-manager-functions.php:837
|
1736 |
msgid "Contractor"
|
1737 |
msgstr ""
|
1738 |
|
1739 |
+
#: wp-job-manager-functions.php:838
|
1740 |
msgid "Temporary"
|
1741 |
msgstr ""
|
1742 |
|
1743 |
+
#: wp-job-manager-functions.php:839
|
1744 |
msgid "Intern"
|
1745 |
msgstr ""
|
1746 |
|
1747 |
+
#: wp-job-manager-functions.php:840
|
1748 |
msgid "Volunteer"
|
1749 |
msgstr ""
|
1750 |
|
1751 |
+
#: wp-job-manager-functions.php:841
|
1752 |
msgid "Per Diem"
|
1753 |
msgstr ""
|
1754 |
|
1755 |
+
#: wp-job-manager-functions.php:842
|
1756 |
msgid "Other"
|
1757 |
msgstr ""
|
1758 |
|
1759 |
+
#: wp-job-manager-functions.php:909
|
1760 |
msgid "Passwords must be at least 8 characters long."
|
1761 |
msgstr ""
|
1762 |
|
1763 |
+
#: wp-job-manager-functions.php:1028
|
1764 |
msgid "Choose a category…"
|
1765 |
msgstr ""
|
1766 |
|
1767 |
+
#: wp-job-manager-functions.php:1244
|
1768 |
msgid "Uploaded files need to be one of the following file types: %s"
|
1769 |
msgstr ""
|
1770 |
|
1804 |
msgid "Anywhere"
|
1805 |
msgstr ""
|
1806 |
|
1807 |
+
#: wp-job-manager.php:270
|
1808 |
msgid "Load previous listings"
|
1809 |
msgstr ""
|
1810 |
|
1811 |
+
#: wp-job-manager.php:333
|
1812 |
msgid "Invalid file type. Accepted types:"
|
1813 |
msgstr ""
|
1814 |
|
1815 |
+
#: wp-job-manager.php:344
|
1816 |
msgid "Are you sure you want to delete this listing?"
|
1817 |
msgstr ""
|
1818 |
|
1834 |
msgid "Automattic"
|
1835 |
msgstr ""
|
1836 |
|
1837 |
+
#: includes/admin/class-wp-job-manager-admin.php:135
|
1838 |
#: includes/forms/class-wp-job-manager-form-submit-job.php:401
|
1839 |
#. translators: jQuery date format, see
|
1840 |
#. http:api.jqueryui.com/datepicker/#utility-formatDate
|
1843 |
msgstr ""
|
1844 |
|
1845 |
#: includes/admin/class-wp-job-manager-permalink-settings.php:81
|
1846 |
+
#: includes/class-wp-job-manager-post-types.php:641
|
1847 |
msgctxt "Job permalink - resave permalinks after changing this"
|
1848 |
msgid "job"
|
1849 |
msgstr ""
|
1850 |
|
1851 |
#: includes/admin/class-wp-job-manager-permalink-settings.php:90
|
1852 |
+
#: includes/class-wp-job-manager-post-types.php:642
|
1853 |
msgctxt "Job category slug - resave permalinks after changing this"
|
1854 |
msgid "job-category"
|
1855 |
msgstr ""
|
1856 |
|
1857 |
#: includes/admin/class-wp-job-manager-permalink-settings.php:99
|
1858 |
+
#: includes/class-wp-job-manager-post-types.php:643
|
1859 |
msgctxt "Job type slug - resave permalinks after changing this"
|
1860 |
msgid "job-type"
|
1861 |
msgstr ""
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== WP Job Manager ===
|
2 |
-
Contributors: mikejolley, automattic, adamkheckler, annezazu, cena, chaselivingston, csonnek, davor.altman, drawmyface, erania-pinnera, jacobshere, jakeom, jeherve, jenhooks, jgs, jonryan, kraftbj, lamdayap, lschuyler, macmanx, nancythanki, orangesareorange, rachelsquirrel, ryancowles, richardmtl, scarstocea
|
3 |
Tags: job manager, job listing, job board, job management, job lists, job list, job, jobs, company, hiring, employment, employer, employees, candidate, freelance, internship, job listings, positions, board, application, hiring, listing, manager, recruiting, recruitment, talent
|
4 |
-
Requires at least: 4.
|
5 |
Tested up to: 4.9
|
6 |
-
Stable tag: 1.30.
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -141,119 +141,121 @@ You can view (and contribute) translations via the [translate.wordpress.org](htt
|
|
141 |
|
142 |
== Changelog ==
|
143 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
= 1.30.1 =
|
145 |
-
* Fix: Minor issue with a strict standard error being displayed on some instances.
|
146 |
|
147 |
= 1.30.0 =
|
148 |
-
* Enhancement: Adds ability to have a reCAPTCHA field to check if job listing author is human.
|
149 |
-
* Enhancement: Allows for option to make edits to job listings force listing back into pending approval status.
|
150 |
-
* Enhancement: Adds spinner and disables form when user submits job listing.
|
151 |
-
* Enhancement: Update the add-ons page of the plugin.
|
152 |
-
* Enhancement: Added the ability to sort jobs randomly on the Featured Jobs Widget.
|
153 |
-
* Enhancement: Improved handling of alternative date formats when editing job expiration field in WP admin.
|
154 |
-
* Enhancement: Added star indicator next to featured listings on `[job_dashboard]`.
|
155 |
-
* Enhancement: Opt-in to usage tracking so we can better improve the plugin.
|
156 |
-
* Enhancement: Introduced new asset enqueuing strategy that will be turned on in 1.32.0. Requires plugin and theme updates. (
|
157 |
* Fix: Use WordPress core checks for image formats to not confuse `docx` as an image. (@tripflex)
|
158 |
-
* Fix: Issue with `[jobs]` shortcode when `categories` argument is provided.
|
159 |
-
* Fix: Issue with double encoding HTML entities in custom text area fields.
|
160 |
-
* Fix: Updates `job-dashboard.php` template with `colspan` fix on no active listings message.
|
161 |
-
* Fix: Clear job listings cache when deleting a user and their job listings.
|
162 |
-
* Dev: Adds `is_wpjm()` and related functions to test if we're on a WPJM related page.
|
163 |
-
* Dev: Adds `job_manager_user_edit_job_listing` action that fires after a user edits a job listing.
|
164 |
-
* Dev: Adds `job_manager_enable_job_archive_page` filter to enable job archive page.
|
165 |
-
* Dev: Adds `date` field for custom job listing form fields.
|
166 |
|
167 |
= 1.29.3 =
|
168 |
-
* Fix: When retrieving job listing results, cache only the post results and not all of `WP_Query` (
|
169 |
|
170 |
= 1.29.2 =
|
171 |
* Fix: PHP Notice when sanitizing multiple inputs (bug in 1.29.1 release). (@albionselimaj)
|
172 |
|
173 |
= 1.29.1 =
|
174 |
-
* Enhancement: When retrieving listings in `[jobs]` shortcode, setting `orderby` to `rand_featured` will still place featured listings at the top.
|
175 |
-
* Enhancement: Scroll to show application details when clicking on "Apply for Job" button.
|
176 |
-
* Change: Updates `account-signin.php` template to warn users email will be confirmed only if that is enabled.
|
177 |
-
* Fix: Sanitize URLs and emails differently on the application method job listing field.
|
178 |
* Fix: Remove PHP notice in Featured Jobs widget. (@himanshuahuja96)
|
179 |
* Fix: String fix for consistent spelling of "license" when appearing in strings. (@garrett-eclipse)
|
180 |
-
* Fix: Issue with paid add-on licenses not showing up when some third-party plugins were installed.
|
181 |
-
* Dev: Runs new actions (`job_manager_recent_jobs_widget_before` and `job_manager_recent_jobs_widget_after`) inside Recent Jobs widget.
|
182 |
-
* Dev: Change `wpjm_get_the_job_types()` to return an empty array when job types are disabled.
|
183 |
* See all: https://github.com/Automattic/WP-Job-Manager/milestone/15?closed=1
|
184 |
|
185 |
= 1.29.0 =
|
186 |
-
* Enhancement: Moves license and update management for official add-ons to the core plugin.
|
187 |
-
* Enhancement: Update language for setup wizard with more clear descriptions.
|
188 |
* Fix: Prevent duplicate attachments to job listing posts for non-image media. (@tripflex)
|
189 |
-
* Fix: PHP error on registration form due to missing placeholder text.
|
190 |
* Fix: Apply `the_job_application_method` filter even when no default is available. (@turtlepod)
|
191 |
-
* Fix: Properly reset category selector on `[jobs]` shortcode.
|
192 |
|
193 |
= 1.28.0 =
|
194 |
-
* Enhancement: Improves support for Google Job Search by adding `JobPosting` structured data.
|
195 |
-
* Enhancement: Adds ability for job types to be mapped to an employment type as defined for Google Job Search.
|
196 |
-
* Enhancement: Requests search engines no longer index expired and filled job listings.
|
197 |
-
* Enhancement: Improves support with third-party sitemap generation in Jetpack, Yoast SEO, and All in One SEO.
|
198 |
-
* Enhancement: Updated descriptions and help text on settings page.
|
199 |
-
* Enhancement: Lower cache expiration times across plugin and limit use of autoloaded cache transients.
|
200 |
-
* Fix: Localization issue with WPML in the [jobs] shortcode.
|
201 |
-
* Fix: Show job listings' published date in localized format.
|
202 |
-
* Fix: Job submission form allows users to select multiple job types when they go back a step.
|
203 |
-
* Fix: Some themes that overloaded functions would break in previous release.
|
204 |
-
* Dev: Adds versions to template files so it is easier to tell when they are updated.
|
205 |
-
* Dev: Adds a new `wpjm_notify_new_user` action that allows you to override default behavior.
|
206 |
* Dev: Early version of REST API is bundled but disabled by default. Requires PHP 5.3+ and `WPJM_REST_API_ENABLED` constant must be set to true. Do not use in production; endpoints may change. (@pkg)
|
207 |
|
208 |
= 1.27.0 =
|
209 |
-
* Enhancement: Admins can now allow users to specify an account password when posting their first job listing.
|
210 |
* Enhancement: Pending job listing counts are now cached for improved WP Admin performance. (@tripflex)
|
211 |
-
* Enhancement: Allows users to override permalink slugs in WP Admin's Permalink Settings screen.
|
212 |
-
* Enhancement: Allows admins to perform bulk updating of jobs as filled/not filled.
|
213 |
-
* Enhancement: Adds job listing status CSS classes on single job listings.
|
214 |
-
* Enhancement: Adds `wpjm_the_job_title` filter for inserting non-escaped HTML alongside job titles in templates.
|
215 |
-
* Enhancement: Allows admins to filter by `post_status` in `[jobs]` shortcode.
|
216 |
* Enhancement: Allows accessing settings tab from hash in URL. (@tripflex)
|
217 |
-
* Fix: Make sure cron jobs for checking/cleaning expired listings are always in place.
|
218 |
* Fix: Better handling of multiple job types. (@spencerfinnell)
|
219 |
-
* Fix: Issue with deleting company logos from job listings submission form.
|
220 |
* Fix: Warning thrown on job submission form when user not logged in. (@piersb)
|
221 |
-
* Fix: Issue with WPML not syncing some meta fields.
|
222 |
* Fix: Better handling of AJAX upload errors. (@tripflex)
|
223 |
-
* Fix: Remove job posting cookies on logout.
|
224 |
* Fix: Expiration date can be cleared if default job duration option is empty. (@spencerfinnell)
|
225 |
-
* Fix: Issue with Safari and expiration datepicker.
|
226 |
|
227 |
= 1.26.2 =
|
228 |
* Fix: Prevents use of Ajax file upload endpoint for visitors who aren't logged in. Themes should check with `job_manager_user_can_upload_file_via_ajax()` if using endpoint in templates.
|
229 |
* Fix: Escape post title in WP Admin's Job Listings page and template segments. (Props to @EhsanCod3r)
|
230 |
|
231 |
= 1.26.1 =
|
232 |
-
* Enhancement: Add language using WordPress's current locale to geocode requests.
|
233 |
* Fix: Allow attempts to use Google Maps Geocode API without an API key. (@spencerfinnell)
|
234 |
-
* Fix: Issue affecting job expiry date when editing a job listing. (@spencerfinnell
|
235 |
-
* Fix: Show correct total count of results on `[jobs]` shortcode.
|
236 |
|
237 |
= 1.26.0 =
|
238 |
-
* Enhancement: Warn the user if they're editing an existing job.
|
239 |
* Enhancement: WP Admin Job Listing page's table is now responsive. (@turtlepod)
|
240 |
* Enhancement: New setting for hiding expired listings from `[jobs]` filter. (@turtlepod)
|
241 |
-
* Enhancement: Use WP Query's built in search function to improve searching in `[jobs]`.
|
242 |
* Fix: Job Listing filter only searches meta fields with relevant content. Add custom fields with `job_listing_searchable_meta_keys` filter. (@turtlepod)
|
243 |
-
* Fix: Improved support for WPML and Polylang.
|
244 |
* Fix: Expired field no longer forces admins to choose a date in the future. (@turtlepod)
|
245 |
-
* Fix: Listings with expiration date in past will immediately expire; moving to Active status will extend if necessary. (@turtlepod
|
246 |
-
* Fix: Google Maps API key setting added to fix geolocation retrieval on new sites.
|
247 |
* Fix: Issue when duplicating a job listing with a field for multiple file uploads. (@turtlepod)
|
248 |
-
* Fix: Hide page results when adding links in the `[submit_job_form]` shortcode.
|
249 |
-
* Fix: Job feed now loads when a site has no posts.
|
250 |
* Fix: No error is thrown when deleting a user. (@tripflex)
|
251 |
* Dev: Plugins and themes can now retrieve JSON of Job Listings results without HTML. (@spencerfinnell)
|
252 |
* Dev: Updated inline documentation.
|
253 |
|
254 |
See additional changelog items in changelog.txt
|
255 |
-
|
256 |
-
== Upgrade Notice ==
|
257 |
-
|
258 |
-
= 1.25.3 =
|
259 |
-
Make job types optional! Date format improvements! Update today!
|
1 |
=== WP Job Manager ===
|
2 |
+
Contributors: mikejolley, automattic, adamkheckler, alexsanford1, annezazu, cena, chaselivingston, csonnek, davor.altman, donnapep, donncha, drawmyface, erania-pinnera, jacobshere, jakeom, jeherve, jenhooks, jgs, jonryan, kraftbj, lamdayap, lschuyler, macmanx, nancythanki, orangesareorange, rachelsquirrel, ryancowles, richardmtl, scarstocea
|
3 |
Tags: job manager, job listing, job board, job management, job lists, job list, job, jobs, company, hiring, employment, employer, employees, candidate, freelance, internship, job listings, positions, board, application, hiring, listing, manager, recruiting, recruitment, talent
|
4 |
+
Requires at least: 4.5.0
|
5 |
Tested up to: 4.9
|
6 |
+
Stable tag: 1.30.2
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
141 |
|
142 |
== Changelog ==
|
143 |
|
144 |
+
= 1.30.2 =
|
145 |
+
* Enhancement: Show notice when user is using an older version of WordPress.
|
146 |
+
* Enhancement: Hide unnecessary view mode in WP Admin's Job Listings page. (@RajeebTheGreat)
|
147 |
+
* Enhancement: Add support for the `paged` parameter in the RSS feed. (@RajeebTheGreat)
|
148 |
+
* Fix: Minor PHP 7.2 compatibility fixes.
|
149 |
+
* Dev: Allow `parent` attribute to be passed to `job_manager_dropdown_categories()`. (@RajeebTheGreat)
|
150 |
+
|
151 |
= 1.30.1 =
|
152 |
+
* Fix: Minor issue with a strict standard error being displayed on some instances.
|
153 |
|
154 |
= 1.30.0 =
|
155 |
+
* Enhancement: Adds ability to have a reCAPTCHA field to check if job listing author is human.
|
156 |
+
* Enhancement: Allows for option to make edits to job listings force listing back into pending approval status.
|
157 |
+
* Enhancement: Adds spinner and disables form when user submits job listing.
|
158 |
+
* Enhancement: Update the add-ons page of the plugin.
|
159 |
+
* Enhancement: Added the ability to sort jobs randomly on the Featured Jobs Widget.
|
160 |
+
* Enhancement: Improved handling of alternative date formats when editing job expiration field in WP admin.
|
161 |
+
* Enhancement: Added star indicator next to featured listings on `[job_dashboard]`.
|
162 |
+
* Enhancement: Opt-in to usage tracking so we can better improve the plugin.
|
163 |
+
* Enhancement: Introduced new asset enqueuing strategy that will be turned on in 1.32.0. Requires plugin and theme updates. (Dev notes: https://github.com/Automattic/WP-Job-Manager/pull/1354)
|
164 |
* Fix: Use WordPress core checks for image formats to not confuse `docx` as an image. (@tripflex)
|
165 |
+
* Fix: Issue with `[jobs]` shortcode when `categories` argument is provided.
|
166 |
+
* Fix: Issue with double encoding HTML entities in custom text area fields.
|
167 |
+
* Fix: Updates `job-dashboard.php` template with `colspan` fix on no active listings message.
|
168 |
+
* Fix: Clear job listings cache when deleting a user and their job listings.
|
169 |
+
* Dev: Adds `is_wpjm()` and related functions to test if we're on a WPJM related page.
|
170 |
+
* Dev: Adds `job_manager_user_edit_job_listing` action that fires after a user edits a job listing.
|
171 |
+
* Dev: Adds `job_manager_enable_job_archive_page` filter to enable job archive page.
|
172 |
+
* Dev: Adds `date` field for custom job listing form fields.
|
173 |
|
174 |
= 1.29.3 =
|
175 |
+
* Fix: When retrieving job listing results, cache only the post results and not all of `WP_Query` (props slavco)
|
176 |
|
177 |
= 1.29.2 =
|
178 |
* Fix: PHP Notice when sanitizing multiple inputs (bug in 1.29.1 release). (@albionselimaj)
|
179 |
|
180 |
= 1.29.1 =
|
181 |
+
* Enhancement: When retrieving listings in `[jobs]` shortcode, setting `orderby` to `rand_featured` will still place featured listings at the top.
|
182 |
+
* Enhancement: Scroll to show application details when clicking on "Apply for Job" button.
|
183 |
+
* Change: Updates `account-signin.php` template to warn users email will be confirmed only if that is enabled.
|
184 |
+
* Fix: Sanitize URLs and emails differently on the application method job listing field.
|
185 |
* Fix: Remove PHP notice in Featured Jobs widget. (@himanshuahuja96)
|
186 |
* Fix: String fix for consistent spelling of "license" when appearing in strings. (@garrett-eclipse)
|
187 |
+
* Fix: Issue with paid add-on licenses not showing up when some third-party plugins were installed.
|
188 |
+
* Dev: Runs new actions (`job_manager_recent_jobs_widget_before` and `job_manager_recent_jobs_widget_after`) inside Recent Jobs widget.
|
189 |
+
* Dev: Change `wpjm_get_the_job_types()` to return an empty array when job types are disabled.
|
190 |
* See all: https://github.com/Automattic/WP-Job-Manager/milestone/15?closed=1
|
191 |
|
192 |
= 1.29.0 =
|
193 |
+
* Enhancement: Moves license and update management for official add-ons to the core plugin.
|
194 |
+
* Enhancement: Update language for setup wizard with more clear descriptions.
|
195 |
* Fix: Prevent duplicate attachments to job listing posts for non-image media. (@tripflex)
|
196 |
+
* Fix: PHP error on registration form due to missing placeholder text.
|
197 |
* Fix: Apply `the_job_application_method` filter even when no default is available. (@turtlepod)
|
198 |
+
* Fix: Properly reset category selector on `[jobs]` shortcode.
|
199 |
|
200 |
= 1.28.0 =
|
201 |
+
* Enhancement: Improves support for Google Job Search by adding `JobPosting` structured data.
|
202 |
+
* Enhancement: Adds ability for job types to be mapped to an employment type as defined for Google Job Search.
|
203 |
+
* Enhancement: Requests search engines no longer index expired and filled job listings.
|
204 |
+
* Enhancement: Improves support with third-party sitemap generation in Jetpack, Yoast SEO, and All in One SEO.
|
205 |
+
* Enhancement: Updated descriptions and help text on settings page.
|
206 |
+
* Enhancement: Lower cache expiration times across plugin and limit use of autoloaded cache transients.
|
207 |
+
* Fix: Localization issue with WPML in the [jobs] shortcode.
|
208 |
+
* Fix: Show job listings' published date in localized format.
|
209 |
+
* Fix: Job submission form allows users to select multiple job types when they go back a step.
|
210 |
+
* Fix: Some themes that overloaded functions would break in previous release.
|
211 |
+
* Dev: Adds versions to template files so it is easier to tell when they are updated.
|
212 |
+
* Dev: Adds a new `wpjm_notify_new_user` action that allows you to override default behavior.
|
213 |
* Dev: Early version of REST API is bundled but disabled by default. Requires PHP 5.3+ and `WPJM_REST_API_ENABLED` constant must be set to true. Do not use in production; endpoints may change. (@pkg)
|
214 |
|
215 |
= 1.27.0 =
|
216 |
+
* Enhancement: Admins can now allow users to specify an account password when posting their first job listing.
|
217 |
* Enhancement: Pending job listing counts are now cached for improved WP Admin performance. (@tripflex)
|
218 |
+
* Enhancement: Allows users to override permalink slugs in WP Admin's Permalink Settings screen.
|
219 |
+
* Enhancement: Allows admins to perform bulk updating of jobs as filled/not filled.
|
220 |
+
* Enhancement: Adds job listing status CSS classes on single job listings.
|
221 |
+
* Enhancement: Adds `wpjm_the_job_title` filter for inserting non-escaped HTML alongside job titles in templates.
|
222 |
+
* Enhancement: Allows admins to filter by `post_status` in `[jobs]` shortcode.
|
223 |
* Enhancement: Allows accessing settings tab from hash in URL. (@tripflex)
|
224 |
+
* Fix: Make sure cron jobs for checking/cleaning expired listings are always in place.
|
225 |
* Fix: Better handling of multiple job types. (@spencerfinnell)
|
226 |
+
* Fix: Issue with deleting company logos from job listings submission form.
|
227 |
* Fix: Warning thrown on job submission form when user not logged in. (@piersb)
|
228 |
+
* Fix: Issue with WPML not syncing some meta fields.
|
229 |
* Fix: Better handling of AJAX upload errors. (@tripflex)
|
230 |
+
* Fix: Remove job posting cookies on logout.
|
231 |
* Fix: Expiration date can be cleared if default job duration option is empty. (@spencerfinnell)
|
232 |
+
* Fix: Issue with Safari and expiration datepicker.
|
233 |
|
234 |
= 1.26.2 =
|
235 |
* Fix: Prevents use of Ajax file upload endpoint for visitors who aren't logged in. Themes should check with `job_manager_user_can_upload_file_via_ajax()` if using endpoint in templates.
|
236 |
* Fix: Escape post title in WP Admin's Job Listings page and template segments. (Props to @EhsanCod3r)
|
237 |
|
238 |
= 1.26.1 =
|
239 |
+
* Enhancement: Add language using WordPress's current locale to geocode requests.
|
240 |
* Fix: Allow attempts to use Google Maps Geocode API without an API key. (@spencerfinnell)
|
241 |
+
* Fix: Issue affecting job expiry date when editing a job listing. (@spencerfinnell)
|
242 |
+
* Fix: Show correct total count of results on `[jobs]` shortcode.
|
243 |
|
244 |
= 1.26.0 =
|
245 |
+
* Enhancement: Warn the user if they're editing an existing job.
|
246 |
* Enhancement: WP Admin Job Listing page's table is now responsive. (@turtlepod)
|
247 |
* Enhancement: New setting for hiding expired listings from `[jobs]` filter. (@turtlepod)
|
248 |
+
* Enhancement: Use WP Query's built in search function to improve searching in `[jobs]`.
|
249 |
* Fix: Job Listing filter only searches meta fields with relevant content. Add custom fields with `job_listing_searchable_meta_keys` filter. (@turtlepod)
|
250 |
+
* Fix: Improved support for WPML and Polylang.
|
251 |
* Fix: Expired field no longer forces admins to choose a date in the future. (@turtlepod)
|
252 |
+
* Fix: Listings with expiration date in past will immediately expire; moving to Active status will extend if necessary. (@turtlepod)
|
253 |
+
* Fix: Google Maps API key setting added to fix geolocation retrieval on new sites.
|
254 |
* Fix: Issue when duplicating a job listing with a field for multiple file uploads. (@turtlepod)
|
255 |
+
* Fix: Hide page results when adding links in the `[submit_job_form]` shortcode.
|
256 |
+
* Fix: Job feed now loads when a site has no posts.
|
257 |
* Fix: No error is thrown when deleting a user. (@tripflex)
|
258 |
* Dev: Plugins and themes can now retrieve JSON of Job Listings results without HTML. (@spencerfinnell)
|
259 |
* Dev: Updated inline documentation.
|
260 |
|
261 |
See additional changelog items in changelog.txt
|
|
|
|
|
|
|
|
|
|
wp-job-manager-functions.php
CHANGED
@@ -432,7 +432,12 @@ function job_manager_get_filtered_links( $args = array() ) {
|
|
432 |
)
|
433 |
), $args );
|
434 |
|
435 |
-
if (
|
|
|
|
|
|
|
|
|
|
|
436 |
unset( $links['reset'] );
|
437 |
}
|
438 |
|
@@ -1006,6 +1011,7 @@ function job_manager_dropdown_categories( $args = '' ) {
|
|
1006 |
'order' => 'ASC',
|
1007 |
'show_count' => 0,
|
1008 |
'hide_empty' => 1,
|
|
|
1009 |
'child_of' => 0,
|
1010 |
'exclude' => '',
|
1011 |
'echo' => 1,
|
@@ -1044,6 +1050,7 @@ function job_manager_dropdown_categories( $args = '' ) {
|
|
1044 |
'orderby' => $r['orderby'],
|
1045 |
'order' => $r['order'],
|
1046 |
'hide_empty' => $r['hide_empty'],
|
|
|
1047 |
'child_of' => $r['child_of'],
|
1048 |
'exclude' => $r['exclude'],
|
1049 |
'hierarchical' => $r['hierarchical']
|
432 |
)
|
433 |
), $args );
|
434 |
|
435 |
+
if ( count( (array) $args['filter_job_types'] ) === count( $types )
|
436 |
+
&& empty( $args['search_keywords'] )
|
437 |
+
&& empty( $args['search_location'] )
|
438 |
+
&& empty( $args['search_categories'] )
|
439 |
+
&& ! apply_filters( 'job_manager_get_listings_custom_filter', false )
|
440 |
+
) {
|
441 |
unset( $links['reset'] );
|
442 |
}
|
443 |
|
1011 |
'order' => 'ASC',
|
1012 |
'show_count' => 0,
|
1013 |
'hide_empty' => 1,
|
1014 |
+
'parent' => '',
|
1015 |
'child_of' => 0,
|
1016 |
'exclude' => '',
|
1017 |
'echo' => 1,
|
1050 |
'orderby' => $r['orderby'],
|
1051 |
'order' => $r['order'],
|
1052 |
'hide_empty' => $r['hide_empty'],
|
1053 |
+
'parent' => $r['parent'],
|
1054 |
'child_of' => $r['child_of'],
|
1055 |
'exclude' => $r['exclude'],
|
1056 |
'hierarchical' => $r['hierarchical']
|
wp-job-manager.php
CHANGED
@@ -3,10 +3,10 @@
|
|
3 |
* Plugin Name: WP Job Manager
|
4 |
* Plugin URI: https://wpjobmanager.com/
|
5 |
* Description: Manage job listings from the WordPress admin panel, and allow users to post jobs directly to your site.
|
6 |
-
* Version: 1.30.
|
7 |
* Author: Automattic
|
8 |
* Author URI: https://wpjobmanager.com/
|
9 |
-
* Requires at least: 4.
|
10 |
* Tested up to: 4.9
|
11 |
* Text Domain: wp-job-manager
|
12 |
* Domain Path: /languages/
|
@@ -58,9 +58,11 @@ class WP_Job_Manager {
|
|
58 |
*/
|
59 |
public function __construct() {
|
60 |
// Define constants
|
61 |
-
define( 'JOB_MANAGER_VERSION', '1.30.
|
|
|
62 |
define( 'JOB_MANAGER_PLUGIN_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
|
63 |
define( 'JOB_MANAGER_PLUGIN_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) );
|
|
|
64 |
|
65 |
// Includes
|
66 |
include_once( JOB_MANAGER_PLUGIN_DIR . '/includes/class-wp-job-manager-install.php' );
|
3 |
* Plugin Name: WP Job Manager
|
4 |
* Plugin URI: https://wpjobmanager.com/
|
5 |
* Description: Manage job listings from the WordPress admin panel, and allow users to post jobs directly to your site.
|
6 |
+
* Version: 1.30.2
|
7 |
* Author: Automattic
|
8 |
* Author URI: https://wpjobmanager.com/
|
9 |
+
* Requires at least: 4.5.0
|
10 |
* Tested up to: 4.9
|
11 |
* Text Domain: wp-job-manager
|
12 |
* Domain Path: /languages/
|
58 |
*/
|
59 |
public function __construct() {
|
60 |
// Define constants
|
61 |
+
define( 'JOB_MANAGER_VERSION', '1.30.2' );
|
62 |
+
define( 'JOB_MANAGER_MINIMUM_WP_VERSION', '4.7' );
|
63 |
define( 'JOB_MANAGER_PLUGIN_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
|
64 |
define( 'JOB_MANAGER_PLUGIN_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) );
|
65 |
+
define( 'JOB_MANAGER_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
66 |
|
67 |
// Includes
|
68 |
include_once( JOB_MANAGER_PLUGIN_DIR . '/includes/class-wp-job-manager-install.php' );
|