Version Description
- Feature - Support posts_per_page in feed.
- Fix - Correctly set menu_order when creating a new job, or updating featured status.
- Fix - Updater when there are no featured jobs.
- Fix - Add geolocation_street_number to clear_location_data.
Download this release
Release Info
| Developer | mikejolley |
| Plugin | |
| Version | 1.21.3 |
| Comparing to | |
| See all releases | |
Code changes from version 1.21.2 to 1.21.3
- includes/admin/class-wp-job-manager-writepanels.php +0 -8
- includes/class-wp-job-manager-geocode.php +1 -0
- includes/class-wp-job-manager-install.php +7 -3
- includes/class-wp-job-manager-post-types.php +18 -3
- includes/forms/class-wp-job-manager-form-submit-job.php +2 -1
- languages/wp-job-manager.pot +60 -60
- readme.txt +7 -1
- wp-job-manager.php +2 -2
includes/admin/class-wp-job-manager-writepanels.php
CHANGED
|
@@ -436,14 +436,6 @@ class WP_Job_Manager_Writepanels {
|
|
| 436 |
break;
|
| 437 |
}
|
| 438 |
}
|
| 439 |
-
|
| 440 |
-
if ( '_featured' === $key ) {
|
| 441 |
-
if ( ! empty( $_POST[ $key ] ) ) {
|
| 442 |
-
$wpdb->update( $wpdb->posts, array( 'menu_order' => 0 ), array( 'ID' => $post_id ) );
|
| 443 |
-
} else {
|
| 444 |
-
$wpdb->update( $wpdb->posts, array( 'menu_order' => 1 ), array( 'ID' => $post_id, 'menu_order' => 0 ) );
|
| 445 |
-
}
|
| 446 |
-
}
|
| 447 |
}
|
| 448 |
}
|
| 449 |
}
|
| 436 |
break;
|
| 437 |
}
|
| 438 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 439 |
}
|
| 440 |
}
|
| 441 |
}
|
includes/class-wp-job-manager-geocode.php
CHANGED
|
@@ -74,6 +74,7 @@ class WP_Job_Manager_Geocode {
|
|
| 74 |
delete_post_meta( $job_id, 'geolocation_state_long' );
|
| 75 |
delete_post_meta( $job_id, 'geolocation_state_short' );
|
| 76 |
delete_post_meta( $job_id, 'geolocation_street' );
|
|
|
|
| 77 |
delete_post_meta( $job_id, 'geolocation_zipcode' );
|
| 78 |
delete_post_meta( $job_id, 'geolocation_postcode' );
|
| 79 |
}
|
| 74 |
delete_post_meta( $job_id, 'geolocation_state_long' );
|
| 75 |
delete_post_meta( $job_id, 'geolocation_state_short' );
|
| 76 |
delete_post_meta( $job_id, 'geolocation_street' );
|
| 77 |
+
delete_post_meta( $job_id, 'geolocation_street_number' );
|
| 78 |
delete_post_meta( $job_id, 'geolocation_zipcode' );
|
| 79 |
delete_post_meta( $job_id, 'geolocation_postcode' );
|
| 80 |
}
|
includes/class-wp-job-manager-install.php
CHANGED
|
@@ -27,10 +27,14 @@ class WP_Job_Manager_Install {
|
|
| 27 |
}
|
| 28 |
|
| 29 |
// Update featured posts ordering
|
| 30 |
-
if ( version_compare( get_option( 'wp_job_manager_version', JOB_MANAGER_VERSION ), '1.
|
|
|
|
|
|
|
| 31 |
$featured_ids = array_map( 'absint', $wpdb->get_col( "SELECT post_id FROM {$wpdb->postmeta} WHERE meta_key='_featured' AND meta_value='1';" ) );
|
| 32 |
-
|
| 33 |
-
|
|
|
|
|
|
|
| 34 |
}
|
| 35 |
|
| 36 |
// Update legacy options
|
| 27 |
}
|
| 28 |
|
| 29 |
// Update featured posts ordering
|
| 30 |
+
if ( version_compare( get_option( 'wp_job_manager_version', JOB_MANAGER_VERSION ), '1.22.3', '<' ) ) {
|
| 31 |
+
$wpdb->query( "UPDATE {$wpdb->posts} SET menu_order = 1 WHERE post_type='job_listing';" );
|
| 32 |
+
|
| 33 |
$featured_ids = array_map( 'absint', $wpdb->get_col( "SELECT post_id FROM {$wpdb->postmeta} WHERE meta_key='_featured' AND meta_value='1';" ) );
|
| 34 |
+
|
| 35 |
+
if ( $featured_ids ) {
|
| 36 |
+
$wpdb->query( "UPDATE {$wpdb->posts} SET menu_order = 0 WHERE ID IN (" . implode( ',', $featured_ids ) . ") AND post_type='job_listing';" );
|
| 37 |
+
}
|
| 38 |
}
|
| 39 |
|
| 40 |
// Update legacy options
|
includes/class-wp-job-manager-post-types.php
CHANGED
|
@@ -32,6 +32,7 @@ class WP_Job_Manager_Post_Types {
|
|
| 32 |
add_filter( 'wp_insert_post_data', array( $this, 'fix_post_name' ), 10, 2 );
|
| 33 |
add_action( 'add_post_meta', array( $this, 'maybe_add_geolocation_data' ), 10, 3 );
|
| 34 |
add_action( 'update_post_meta', array( $this, 'maybe_update_geolocation_data' ), 10, 4 );
|
|
|
|
| 35 |
add_action( 'wp_insert_post', array( $this, 'maybe_add_default_meta_data' ), 10, 2 );
|
| 36 |
|
| 37 |
// WP ALL Import
|
|
@@ -287,7 +288,7 @@ class WP_Job_Manager_Post_Types {
|
|
| 287 |
'post_type' => 'job_listing',
|
| 288 |
'post_status' => 'publish',
|
| 289 |
'ignore_sticky_posts' => 1,
|
| 290 |
-
'posts_per_page' => 10,
|
| 291 |
's' => isset( $_GET['s'] ) ? sanitize_text_field( $_GET['s'] ) : '',
|
| 292 |
'meta_query' => array(),
|
| 293 |
'tax_query' => array()
|
|
@@ -499,8 +500,6 @@ class WP_Job_Manager_Post_Types {
|
|
| 499 |
|
| 500 |
/**
|
| 501 |
* Generate location data if a post is updated
|
| 502 |
-
* @param int $post_id
|
| 503 |
-
* @param array $post
|
| 504 |
*/
|
| 505 |
public function maybe_update_geolocation_data( $meta_id, $object_id, $meta_key, $_meta_value ) {
|
| 506 |
if ( '_job_location' !== $meta_key || 'job_listing' !== get_post_type( $object_id ) ) {
|
|
@@ -509,6 +508,22 @@ class WP_Job_Manager_Post_Types {
|
|
| 509 |
do_action( 'job_manager_job_location_edited', $object_id, $_meta_value );
|
| 510 |
}
|
| 511 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 512 |
/**
|
| 513 |
* Legacy
|
| 514 |
* @deprecated 1.19.1
|
| 32 |
add_filter( 'wp_insert_post_data', array( $this, 'fix_post_name' ), 10, 2 );
|
| 33 |
add_action( 'add_post_meta', array( $this, 'maybe_add_geolocation_data' ), 10, 3 );
|
| 34 |
add_action( 'update_post_meta', array( $this, 'maybe_update_geolocation_data' ), 10, 4 );
|
| 35 |
+
add_action( 'update_post_meta', array( $this, 'maybe_update_menu_order' ), 10, 4 );
|
| 36 |
add_action( 'wp_insert_post', array( $this, 'maybe_add_default_meta_data' ), 10, 2 );
|
| 37 |
|
| 38 |
// WP ALL Import
|
| 288 |
'post_type' => 'job_listing',
|
| 289 |
'post_status' => 'publish',
|
| 290 |
'ignore_sticky_posts' => 1,
|
| 291 |
+
'posts_per_page' => isset( $_GET['posts_per_page'] ) ? absint( $_GET['posts_per_page'] ) : 10,
|
| 292 |
's' => isset( $_GET['s'] ) ? sanitize_text_field( $_GET['s'] ) : '',
|
| 293 |
'meta_query' => array(),
|
| 294 |
'tax_query' => array()
|
| 500 |
|
| 501 |
/**
|
| 502 |
* Generate location data if a post is updated
|
|
|
|
|
|
|
| 503 |
*/
|
| 504 |
public function maybe_update_geolocation_data( $meta_id, $object_id, $meta_key, $_meta_value ) {
|
| 505 |
if ( '_job_location' !== $meta_key || 'job_listing' !== get_post_type( $object_id ) ) {
|
| 508 |
do_action( 'job_manager_job_location_edited', $object_id, $_meta_value );
|
| 509 |
}
|
| 510 |
|
| 511 |
+
/**
|
| 512 |
+
* Maybe set menu_order if the featured status of a job is changed
|
| 513 |
+
*/
|
| 514 |
+
public function maybe_update_menu_order( $meta_id, $object_id, $meta_key, $_meta_value ) {
|
| 515 |
+
if ( '_featured' !== $meta_key || 'job_listing' !== get_post_type( $object_id ) ) {
|
| 516 |
+
return;
|
| 517 |
+
}
|
| 518 |
+
global $wpdb;
|
| 519 |
+
|
| 520 |
+
if ( '1' == $_meta_value ) {
|
| 521 |
+
$wpdb->update( $wpdb->posts, array( 'menu_order' => 0 ), array( 'ID' => $object_id ) );
|
| 522 |
+
} else {
|
| 523 |
+
$wpdb->update( $wpdb->posts, array( 'menu_order' => 1 ), array( 'ID' => $object_id, 'menu_order' => 0 ) );
|
| 524 |
+
}
|
| 525 |
+
}
|
| 526 |
+
|
| 527 |
/**
|
| 528 |
* Legacy
|
| 529 |
* @deprecated 1.19.1
|
includes/forms/class-wp-job-manager-form-submit-job.php
CHANGED
|
@@ -645,7 +645,8 @@ class WP_Job_Manager_Form_Submit_Job extends WP_Job_Manager_Form {
|
|
| 645 |
'post_title' => $post_title,
|
| 646 |
'post_content' => $post_content,
|
| 647 |
'post_type' => 'job_listing',
|
| 648 |
-
'comment_status' => 'closed'
|
|
|
|
| 649 |
);
|
| 650 |
|
| 651 |
if ( $update_slug ) {
|
| 645 |
'post_title' => $post_title,
|
| 646 |
'post_content' => $post_content,
|
| 647 |
'post_type' => 'job_listing',
|
| 648 |
+
'comment_status' => 'closed',
|
| 649 |
+
'menu_order' => 1
|
| 650 |
);
|
| 651 |
|
| 652 |
if ( $update_slug ) {
|
languages/wp-job-manager.pot
CHANGED
|
@@ -2,9 +2,9 @@
|
|
| 2 |
# This file is distributed under the same license as the WP Job Manager package.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
-
"Project-Id-Version: WP Job Manager 1.21.
|
| 6 |
-
"Report-Msgid-Bugs-To: http://wordpress.org/
|
| 7 |
-
"POT-Creation-Date: 2015-03-
|
| 8 |
"MIME-Version: 1.0\n"
|
| 9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
| 10 |
"Content-Transfer-Encoding: 8bit\n"
|
|
@@ -177,7 +177,7 @@ msgid "View"
|
|
| 177 |
msgstr ""
|
| 178 |
|
| 179 |
#: includes/admin/class-wp-job-manager-cpt.php:352
|
| 180 |
-
#: includes/class-wp-job-manager-post-types.php:
|
| 181 |
#: templates/job-dashboard.php:33 templates/job-dashboard.php:49
|
| 182 |
msgid "Edit"
|
| 183 |
msgstr ""
|
|
@@ -188,8 +188,8 @@ msgid "Delete"
|
|
| 188 |
msgstr ""
|
| 189 |
|
| 190 |
#: includes/admin/class-wp-job-manager-settings.php:42
|
| 191 |
-
#: includes/class-wp-job-manager-post-types.php:
|
| 192 |
-
#: includes/class-wp-job-manager-post-types.php:
|
| 193 |
msgid "Job Listings"
|
| 194 |
msgstr ""
|
| 195 |
|
|
@@ -747,150 +747,150 @@ msgstr ""
|
|
| 747 |
msgid "Showing all %s"
|
| 748 |
msgstr ""
|
| 749 |
|
| 750 |
-
#: includes/class-wp-job-manager-geocode.php:
|
| 751 |
msgid "No results found"
|
| 752 |
msgstr ""
|
| 753 |
|
| 754 |
-
#: includes/class-wp-job-manager-geocode.php:
|
| 755 |
msgid "Query limit reached"
|
| 756 |
msgstr ""
|
| 757 |
|
| 758 |
-
#: includes/class-wp-job-manager-geocode.php:
|
| 759 |
-
#: includes/class-wp-job-manager-geocode.php:
|
| 760 |
-
#: includes/class-wp-job-manager-geocode.php:
|
| 761 |
msgid "Geocoding error"
|
| 762 |
msgstr ""
|
| 763 |
|
| 764 |
-
#: includes/class-wp-job-manager-install.php:
|
| 765 |
msgid "Employer"
|
| 766 |
msgstr ""
|
| 767 |
|
| 768 |
-
#: includes/class-wp-job-manager-post-types.php:
|
| 769 |
#: includes/forms/class-wp-job-manager-form-submit-job.php:166
|
| 770 |
msgid "Job category"
|
| 771 |
msgstr ""
|
| 772 |
|
| 773 |
-
#: includes/class-wp-job-manager-post-types.php:
|
| 774 |
msgid "Job categories"
|
| 775 |
msgstr ""
|
| 776 |
|
| 777 |
-
#: includes/class-wp-job-manager-post-types.php:
|
| 778 |
msgctxt "Job category slug - resave permalinks after changing this"
|
| 779 |
msgid "job-category"
|
| 780 |
msgstr ""
|
| 781 |
|
| 782 |
-
#: includes/class-wp-job-manager-post-types.php:87
|
| 783 |
-
#: includes/class-wp-job-manager-post-types.php:133
|
| 784 |
-
#: includes/class-wp-job-manager-post-types.php:187
|
| 785 |
-
msgid "Search %s"
|
| 786 |
-
msgstr ""
|
| 787 |
-
|
| 788 |
#: includes/class-wp-job-manager-post-types.php:88
|
| 789 |
#: includes/class-wp-job-manager-post-types.php:134
|
| 790 |
-
#: includes/class-wp-job-manager-post-types.php:
|
| 791 |
-
msgid "
|
| 792 |
msgstr ""
|
| 793 |
|
| 794 |
#: includes/class-wp-job-manager-post-types.php:89
|
| 795 |
#: includes/class-wp-job-manager-post-types.php:135
|
| 796 |
-
#: includes/class-wp-job-manager-post-types.php:
|
| 797 |
-
msgid "
|
| 798 |
msgstr ""
|
| 799 |
|
| 800 |
#: includes/class-wp-job-manager-post-types.php:90
|
| 801 |
#: includes/class-wp-job-manager-post-types.php:136
|
| 802 |
-
|
|
|
|
| 803 |
msgstr ""
|
| 804 |
|
| 805 |
#: includes/class-wp-job-manager-post-types.php:91
|
| 806 |
#: includes/class-wp-job-manager-post-types.php:137
|
| 807 |
-
|
| 808 |
-
msgid "Edit %s"
|
| 809 |
msgstr ""
|
| 810 |
|
| 811 |
#: includes/class-wp-job-manager-post-types.php:92
|
| 812 |
#: includes/class-wp-job-manager-post-types.php:138
|
| 813 |
-
|
|
|
|
| 814 |
msgstr ""
|
| 815 |
|
| 816 |
#: includes/class-wp-job-manager-post-types.php:93
|
| 817 |
#: includes/class-wp-job-manager-post-types.php:139
|
| 818 |
-
msgid "
|
| 819 |
msgstr ""
|
| 820 |
|
| 821 |
#: includes/class-wp-job-manager-post-types.php:94
|
| 822 |
#: includes/class-wp-job-manager-post-types.php:140
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 823 |
msgid "New %s Name"
|
| 824 |
msgstr ""
|
| 825 |
|
| 826 |
-
#: includes/class-wp-job-manager-post-types.php:
|
| 827 |
#: includes/forms/class-wp-job-manager-form-submit-job.php:157
|
| 828 |
msgid "Job type"
|
| 829 |
msgstr ""
|
| 830 |
|
| 831 |
-
#: includes/class-wp-job-manager-post-types.php:
|
| 832 |
msgid "Job types"
|
| 833 |
msgstr ""
|
| 834 |
|
| 835 |
-
#: includes/class-wp-job-manager-post-types.php:
|
| 836 |
msgctxt "Job type slug - resave permalinks after changing this"
|
| 837 |
msgid "job-type"
|
| 838 |
msgstr ""
|
| 839 |
|
| 840 |
-
#: includes/class-wp-job-manager-post-types.php:
|
| 841 |
msgid "Job"
|
| 842 |
msgstr ""
|
| 843 |
|
| 844 |
-
#: includes/class-wp-job-manager-post-types.php:
|
| 845 |
msgid "Jobs"
|
| 846 |
msgstr ""
|
| 847 |
|
| 848 |
-
#: includes/class-wp-job-manager-post-types.php:
|
| 849 |
msgctxt "Post type archive slug - resave permalinks after changing this"
|
| 850 |
msgid "jobs"
|
| 851 |
msgstr ""
|
| 852 |
|
| 853 |
-
#: includes/class-wp-job-manager-post-types.php:
|
| 854 |
msgctxt "Job permalink - resave permalinks after changing this"
|
| 855 |
msgid "job"
|
| 856 |
msgstr ""
|
| 857 |
|
| 858 |
-
#: includes/class-wp-job-manager-post-types.php:
|
| 859 |
msgid "Add New"
|
| 860 |
msgstr ""
|
| 861 |
|
| 862 |
-
#: includes/class-wp-job-manager-post-types.php:
|
| 863 |
msgid "Add %s"
|
| 864 |
msgstr ""
|
| 865 |
|
| 866 |
-
#: includes/class-wp-job-manager-post-types.php:
|
| 867 |
msgid "New %s"
|
| 868 |
msgstr ""
|
| 869 |
|
| 870 |
-
#: includes/class-wp-job-manager-post-types.php:185
|
| 871 |
#: includes/class-wp-job-manager-post-types.php:186
|
|
|
|
| 872 |
msgid "View %s"
|
| 873 |
msgstr ""
|
| 874 |
|
| 875 |
-
#: includes/class-wp-job-manager-post-types.php:
|
| 876 |
msgid "No %s found"
|
| 877 |
msgstr ""
|
| 878 |
|
| 879 |
-
#: includes/class-wp-job-manager-post-types.php:
|
| 880 |
msgid "No %s found in trash"
|
| 881 |
msgstr ""
|
| 882 |
|
| 883 |
-
#: includes/class-wp-job-manager-post-types.php:
|
| 884 |
msgid "This is where you can create and manage %s."
|
| 885 |
msgstr ""
|
| 886 |
|
| 887 |
-
#: includes/class-wp-job-manager-post-types.php:
|
| 888 |
#: wp-job-manager-functions.php:180
|
| 889 |
msgctxt "post status"
|
| 890 |
msgid "Expired"
|
| 891 |
msgstr ""
|
| 892 |
|
| 893 |
-
#: includes/class-wp-job-manager-post-types.php:
|
| 894 |
msgid "Expired <span class=\"count\">(%s)</span>"
|
| 895 |
msgid_plural "Expired <span class=\"count\">(%s)</span>"
|
| 896 |
msgstr[0] ""
|
|
@@ -990,7 +990,7 @@ msgid "Submit Details"
|
|
| 990 |
msgstr ""
|
| 991 |
|
| 992 |
#: includes/forms/class-wp-job-manager-form-submit-job.php:28
|
| 993 |
-
#: includes/forms/class-wp-job-manager-form-submit-job.php:
|
| 994 |
msgid "Preview"
|
| 995 |
msgstr ""
|
| 996 |
|
|
@@ -1069,44 +1069,44 @@ msgstr ""
|
|
| 1069 |
msgid "%s is invalid"
|
| 1070 |
msgstr ""
|
| 1071 |
|
| 1072 |
-
#: includes/forms/class-wp-job-manager-form-submit-job.php:
|
| 1073 |
#: wp-job-manager-functions.php:640
|
| 1074 |
msgid "\"%s\" (filetype %s) needs to be one of the following file types: %s"
|
| 1075 |
msgstr ""
|
| 1076 |
|
| 1077 |
-
#: includes/forms/class-wp-job-manager-form-submit-job.php:
|
| 1078 |
msgid "Please enter a valid application email address"
|
| 1079 |
msgstr ""
|
| 1080 |
|
| 1081 |
-
#: includes/forms/class-wp-job-manager-form-submit-job.php:
|
| 1082 |
msgid "Please enter a valid application URL"
|
| 1083 |
msgstr ""
|
| 1084 |
|
| 1085 |
-
#: includes/forms/class-wp-job-manager-form-submit-job.php:
|
| 1086 |
msgid "Please enter a valid application email address or URL"
|
| 1087 |
msgstr ""
|
| 1088 |
|
| 1089 |
-
#: includes/forms/class-wp-job-manager-form-submit-job.php:
|
| 1090 |
msgid "Preview →"
|
| 1091 |
msgstr ""
|
| 1092 |
|
| 1093 |
-
#: includes/forms/class-wp-job-manager-form-submit-job.php:
|
| 1094 |
msgid "Please enter a username."
|
| 1095 |
msgstr ""
|
| 1096 |
|
| 1097 |
-
#: includes/forms/class-wp-job-manager-form-submit-job.php:
|
| 1098 |
msgid "Please enter your email address."
|
| 1099 |
msgstr ""
|
| 1100 |
|
| 1101 |
-
#: includes/forms/class-wp-job-manager-form-submit-job.php:
|
| 1102 |
msgid "You must be signed in to post a new listing."
|
| 1103 |
msgstr ""
|
| 1104 |
|
| 1105 |
-
#: includes/forms/class-wp-job-manager-form-submit-job.php:
|
| 1106 |
msgid "Submit Listing →"
|
| 1107 |
msgstr ""
|
| 1108 |
|
| 1109 |
-
#: includes/forms/class-wp-job-manager-form-submit-job.php:
|
| 1110 |
msgid "← Edit listing"
|
| 1111 |
msgstr ""
|
| 1112 |
|
|
@@ -1169,16 +1169,16 @@ msgstr ""
|
|
| 1169 |
msgid "There are currently no vacancies."
|
| 1170 |
msgstr ""
|
| 1171 |
|
| 1172 |
-
#: templates/content-single-job_listing-meta.php:
|
| 1173 |
#: templates/content-summary-job_listing.php:14
|
| 1174 |
msgid "Posted %s ago"
|
| 1175 |
msgstr ""
|
| 1176 |
|
| 1177 |
-
#: templates/content-single-job_listing-meta.php:
|
| 1178 |
msgid "This position has been filled"
|
| 1179 |
msgstr ""
|
| 1180 |
|
| 1181 |
-
#: templates/content-single-job_listing-meta.php:
|
| 1182 |
msgid "Applications have closed"
|
| 1183 |
msgstr ""
|
| 1184 |
|
| 2 |
# This file is distributed under the same license as the WP Job Manager package.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
+
"Project-Id-Version: WP Job Manager 1.21.3\n"
|
| 6 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/WP-Job-Manager\n"
|
| 7 |
+
"POT-Creation-Date: 2015-03-17 17:10:12+00:00\n"
|
| 8 |
"MIME-Version: 1.0\n"
|
| 9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
| 10 |
"Content-Transfer-Encoding: 8bit\n"
|
| 177 |
msgstr ""
|
| 178 |
|
| 179 |
#: includes/admin/class-wp-job-manager-cpt.php:352
|
| 180 |
+
#: includes/class-wp-job-manager-post-types.php:183
|
| 181 |
#: templates/job-dashboard.php:33 templates/job-dashboard.php:49
|
| 182 |
msgid "Edit"
|
| 183 |
msgstr ""
|
| 188 |
msgstr ""
|
| 189 |
|
| 190 |
#: includes/admin/class-wp-job-manager-settings.php:42
|
| 191 |
+
#: includes/class-wp-job-manager-post-types.php:179
|
| 192 |
+
#: includes/class-wp-job-manager-post-types.php:239
|
| 193 |
msgid "Job Listings"
|
| 194 |
msgstr ""
|
| 195 |
|
| 747 |
msgid "Showing all %s"
|
| 748 |
msgstr ""
|
| 749 |
|
| 750 |
+
#: includes/class-wp-job-manager-geocode.php:141
|
| 751 |
msgid "No results found"
|
| 752 |
msgstr ""
|
| 753 |
|
| 754 |
+
#: includes/class-wp-job-manager-geocode.php:145
|
| 755 |
msgid "Query limit reached"
|
| 756 |
msgstr ""
|
| 757 |
|
| 758 |
+
#: includes/class-wp-job-manager-geocode.php:151
|
| 759 |
+
#: includes/class-wp-job-manager-geocode.php:155
|
| 760 |
+
#: includes/class-wp-job-manager-geocode.php:159
|
| 761 |
msgid "Geocoding error"
|
| 762 |
msgstr ""
|
| 763 |
|
| 764 |
+
#: includes/class-wp-job-manager-install.php:67
|
| 765 |
msgid "Employer"
|
| 766 |
msgstr ""
|
| 767 |
|
| 768 |
+
#: includes/class-wp-job-manager-post-types.php:63
|
| 769 |
#: includes/forms/class-wp-job-manager-form-submit-job.php:166
|
| 770 |
msgid "Job category"
|
| 771 |
msgstr ""
|
| 772 |
|
| 773 |
+
#: includes/class-wp-job-manager-post-types.php:64
|
| 774 |
msgid "Job categories"
|
| 775 |
msgstr ""
|
| 776 |
|
| 777 |
+
#: includes/class-wp-job-manager-post-types.php:68
|
| 778 |
msgctxt "Job category slug - resave permalinks after changing this"
|
| 779 |
msgid "job-category"
|
| 780 |
msgstr ""
|
| 781 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 782 |
#: includes/class-wp-job-manager-post-types.php:88
|
| 783 |
#: includes/class-wp-job-manager-post-types.php:134
|
| 784 |
+
#: includes/class-wp-job-manager-post-types.php:188
|
| 785 |
+
msgid "Search %s"
|
| 786 |
msgstr ""
|
| 787 |
|
| 788 |
#: includes/class-wp-job-manager-post-types.php:89
|
| 789 |
#: includes/class-wp-job-manager-post-types.php:135
|
| 790 |
+
#: includes/class-wp-job-manager-post-types.php:180
|
| 791 |
+
msgid "All %s"
|
| 792 |
msgstr ""
|
| 793 |
|
| 794 |
#: includes/class-wp-job-manager-post-types.php:90
|
| 795 |
#: includes/class-wp-job-manager-post-types.php:136
|
| 796 |
+
#: includes/class-wp-job-manager-post-types.php:191
|
| 797 |
+
msgid "Parent %s"
|
| 798 |
msgstr ""
|
| 799 |
|
| 800 |
#: includes/class-wp-job-manager-post-types.php:91
|
| 801 |
#: includes/class-wp-job-manager-post-types.php:137
|
| 802 |
+
msgid "Parent %s:"
|
|
|
|
| 803 |
msgstr ""
|
| 804 |
|
| 805 |
#: includes/class-wp-job-manager-post-types.php:92
|
| 806 |
#: includes/class-wp-job-manager-post-types.php:138
|
| 807 |
+
#: includes/class-wp-job-manager-post-types.php:184
|
| 808 |
+
msgid "Edit %s"
|
| 809 |
msgstr ""
|
| 810 |
|
| 811 |
#: includes/class-wp-job-manager-post-types.php:93
|
| 812 |
#: includes/class-wp-job-manager-post-types.php:139
|
| 813 |
+
msgid "Update %s"
|
| 814 |
msgstr ""
|
| 815 |
|
| 816 |
#: includes/class-wp-job-manager-post-types.php:94
|
| 817 |
#: includes/class-wp-job-manager-post-types.php:140
|
| 818 |
+
msgid "Add New %s"
|
| 819 |
+
msgstr ""
|
| 820 |
+
|
| 821 |
+
#: includes/class-wp-job-manager-post-types.php:95
|
| 822 |
+
#: includes/class-wp-job-manager-post-types.php:141
|
| 823 |
msgid "New %s Name"
|
| 824 |
msgstr ""
|
| 825 |
|
| 826 |
+
#: includes/class-wp-job-manager-post-types.php:110
|
| 827 |
#: includes/forms/class-wp-job-manager-form-submit-job.php:157
|
| 828 |
msgid "Job type"
|
| 829 |
msgstr ""
|
| 830 |
|
| 831 |
+
#: includes/class-wp-job-manager-post-types.php:111
|
| 832 |
msgid "Job types"
|
| 833 |
msgstr ""
|
| 834 |
|
| 835 |
+
#: includes/class-wp-job-manager-post-types.php:115
|
| 836 |
msgctxt "Job type slug - resave permalinks after changing this"
|
| 837 |
msgid "job-type"
|
| 838 |
msgstr ""
|
| 839 |
|
| 840 |
+
#: includes/class-wp-job-manager-post-types.php:158
|
| 841 |
msgid "Job"
|
| 842 |
msgstr ""
|
| 843 |
|
| 844 |
+
#: includes/class-wp-job-manager-post-types.php:159
|
| 845 |
msgid "Jobs"
|
| 846 |
msgstr ""
|
| 847 |
|
| 848 |
+
#: includes/class-wp-job-manager-post-types.php:162
|
| 849 |
msgctxt "Post type archive slug - resave permalinks after changing this"
|
| 850 |
msgid "jobs"
|
| 851 |
msgstr ""
|
| 852 |
|
| 853 |
+
#: includes/class-wp-job-manager-post-types.php:168
|
| 854 |
msgctxt "Job permalink - resave permalinks after changing this"
|
| 855 |
msgid "job"
|
| 856 |
msgstr ""
|
| 857 |
|
| 858 |
+
#: includes/class-wp-job-manager-post-types.php:181
|
| 859 |
msgid "Add New"
|
| 860 |
msgstr ""
|
| 861 |
|
| 862 |
+
#: includes/class-wp-job-manager-post-types.php:182
|
| 863 |
msgid "Add %s"
|
| 864 |
msgstr ""
|
| 865 |
|
| 866 |
+
#: includes/class-wp-job-manager-post-types.php:185
|
| 867 |
msgid "New %s"
|
| 868 |
msgstr ""
|
| 869 |
|
|
|
|
| 870 |
#: includes/class-wp-job-manager-post-types.php:186
|
| 871 |
+
#: includes/class-wp-job-manager-post-types.php:187
|
| 872 |
msgid "View %s"
|
| 873 |
msgstr ""
|
| 874 |
|
| 875 |
+
#: includes/class-wp-job-manager-post-types.php:189
|
| 876 |
msgid "No %s found"
|
| 877 |
msgstr ""
|
| 878 |
|
| 879 |
+
#: includes/class-wp-job-manager-post-types.php:190
|
| 880 |
msgid "No %s found in trash"
|
| 881 |
msgstr ""
|
| 882 |
|
| 883 |
+
#: includes/class-wp-job-manager-post-types.php:193
|
| 884 |
msgid "This is where you can create and manage %s."
|
| 885 |
msgstr ""
|
| 886 |
|
| 887 |
+
#: includes/class-wp-job-manager-post-types.php:218
|
| 888 |
#: wp-job-manager-functions.php:180
|
| 889 |
msgctxt "post status"
|
| 890 |
msgid "Expired"
|
| 891 |
msgstr ""
|
| 892 |
|
| 893 |
+
#: includes/class-wp-job-manager-post-types.php:223
|
| 894 |
msgid "Expired <span class=\"count\">(%s)</span>"
|
| 895 |
msgid_plural "Expired <span class=\"count\">(%s)</span>"
|
| 896 |
msgstr[0] ""
|
| 990 |
msgstr ""
|
| 991 |
|
| 992 |
#: includes/forms/class-wp-job-manager-form-submit-job.php:28
|
| 993 |
+
#: includes/forms/class-wp-job-manager-form-submit-job.php:814
|
| 994 |
msgid "Preview"
|
| 995 |
msgstr ""
|
| 996 |
|
| 1069 |
msgid "%s is invalid"
|
| 1070 |
msgstr ""
|
| 1071 |
|
| 1072 |
+
#: includes/forms/class-wp-job-manager-form-submit-job.php:424
|
| 1073 |
#: wp-job-manager-functions.php:640
|
| 1074 |
msgid "\"%s\" (filetype %s) needs to be one of the following file types: %s"
|
| 1075 |
msgstr ""
|
| 1076 |
|
| 1077 |
+
#: includes/forms/class-wp-job-manager-form-submit-job.php:439
|
| 1078 |
msgid "Please enter a valid application email address"
|
| 1079 |
msgstr ""
|
| 1080 |
|
| 1081 |
+
#: includes/forms/class-wp-job-manager-form-submit-job.php:448
|
| 1082 |
msgid "Please enter a valid application URL"
|
| 1083 |
msgstr ""
|
| 1084 |
|
| 1085 |
+
#: includes/forms/class-wp-job-manager-form-submit-job.php:458
|
| 1086 |
msgid "Please enter a valid application email address or URL"
|
| 1087 |
msgstr ""
|
| 1088 |
|
| 1089 |
+
#: includes/forms/class-wp-job-manager-form-submit-job.php:566
|
| 1090 |
msgid "Preview →"
|
| 1091 |
msgstr ""
|
| 1092 |
|
| 1093 |
+
#: includes/forms/class-wp-job-manager-form-submit-job.php:597
|
| 1094 |
msgid "Please enter a username."
|
| 1095 |
msgstr ""
|
| 1096 |
|
| 1097 |
+
#: includes/forms/class-wp-job-manager-form-submit-job.php:600
|
| 1098 |
msgid "Please enter your email address."
|
| 1099 |
msgstr ""
|
| 1100 |
|
| 1101 |
+
#: includes/forms/class-wp-job-manager-form-submit-job.php:618
|
| 1102 |
msgid "You must be signed in to post a new listing."
|
| 1103 |
msgstr ""
|
| 1104 |
|
| 1105 |
+
#: includes/forms/class-wp-job-manager-form-submit-job.php:808
|
| 1106 |
msgid "Submit Listing →"
|
| 1107 |
msgstr ""
|
| 1108 |
|
| 1109 |
+
#: includes/forms/class-wp-job-manager-form-submit-job.php:809
|
| 1110 |
msgid "← Edit listing"
|
| 1111 |
msgstr ""
|
| 1112 |
|
| 1169 |
msgid "There are currently no vacancies."
|
| 1170 |
msgstr ""
|
| 1171 |
|
| 1172 |
+
#: templates/content-single-job_listing-meta.php:20
|
| 1173 |
#: templates/content-summary-job_listing.php:14
|
| 1174 |
msgid "Posted %s ago"
|
| 1175 |
msgstr ""
|
| 1176 |
|
| 1177 |
+
#: templates/content-single-job_listing-meta.php:23
|
| 1178 |
msgid "This position has been filled"
|
| 1179 |
msgstr ""
|
| 1180 |
|
| 1181 |
+
#: templates/content-single-job_listing-meta.php:25
|
| 1182 |
msgid "Applications have closed"
|
| 1183 |
msgstr ""
|
| 1184 |
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=mike.jol
|
|
| 4 |
Tags: job listing, job board, job, jobs, company, hiring, employment, employees, candidate, freelance, internship
|
| 5 |
Requires at least: 4.1
|
| 6 |
Tested up to: 4.1
|
| 7 |
-
Stable tag: 1.21.
|
| 8 |
|
| 9 |
Manage job listings from the WordPress admin panel, and allow users to post jobs directly to your site.
|
| 10 |
|
|
@@ -119,6 +119,12 @@ You can view (and contribute) translations via the [Transifex project here](http
|
|
| 119 |
|
| 120 |
== Changelog ==
|
| 121 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 122 |
= 1.21.2 =
|
| 123 |
* Fix - Remove requried attribute from file input.
|
| 124 |
|
| 4 |
Tags: job listing, job board, job, jobs, company, hiring, employment, employees, candidate, freelance, internship
|
| 5 |
Requires at least: 4.1
|
| 6 |
Tested up to: 4.1
|
| 7 |
+
Stable tag: 1.21.3
|
| 8 |
|
| 9 |
Manage job listings from the WordPress admin panel, and allow users to post jobs directly to your site.
|
| 10 |
|
| 119 |
|
| 120 |
== Changelog ==
|
| 121 |
|
| 122 |
+
= 1.21.3 =
|
| 123 |
+
* Feature - Support posts_per_page in feed.
|
| 124 |
+
* Fix - Correctly set menu_order when creating a new job, or updating featured status.
|
| 125 |
+
* Fix - Updater when there are no featured jobs.
|
| 126 |
+
* Fix - Add geolocation_street_number to clear_location_data.
|
| 127 |
+
|
| 128 |
= 1.21.2 =
|
| 129 |
* Fix - Remove requried attribute from file input.
|
| 130 |
|
wp-job-manager.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 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.21.
|
| 7 |
Author: Mike Jolley
|
| 8 |
Author URI: http://mikejolley.com
|
| 9 |
Requires at least: 4.1
|
|
@@ -31,7 +31,7 @@ class WP_Job_Manager {
|
|
| 31 |
*/
|
| 32 |
public function __construct() {
|
| 33 |
// Define constants
|
| 34 |
-
define( 'JOB_MANAGER_VERSION', '1.21.
|
| 35 |
define( 'JOB_MANAGER_PLUGIN_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
|
| 36 |
define( 'JOB_MANAGER_PLUGIN_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) );
|
| 37 |
|
| 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.21.3
|
| 7 |
Author: Mike Jolley
|
| 8 |
Author URI: http://mikejolley.com
|
| 9 |
Requires at least: 4.1
|
| 31 |
*/
|
| 32 |
public function __construct() {
|
| 33 |
// Define constants
|
| 34 |
+
define( 'JOB_MANAGER_VERSION', '1.21.3' );
|
| 35 |
define( 'JOB_MANAGER_PLUGIN_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
|
| 36 |
define( 'JOB_MANAGER_PLUGIN_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) );
|
| 37 |
|
