WP Job Manager - Version 1.25.3

Version Description

  • Enhancement: Allow job types to be optional, just like categories. https://github.com/automattic/wp-job-manager/pull/789 Props Donncha.
  • Enhancement: Add get_job_listing_types filter. https://github.com/automattic/wp-job-manager/pull/824 Props Adam Heckler.
  • Enhancement: Various date format setting improvements. See https://github.com/automattic/wp-job-manager/pull/757 Props Christian Nolen.
  • Enhancement: Pass search values with the job_manager_get_listings_custom_filter_text filter. https://github.com/automattic/wp-job-manager/pull/845 Props Kraft.
  • Fix: Prevent a potential CSRF vector. https://github.com/automattic/wp-job-manager/pull/891 Props Jay Patel for the responsible disclosure.
  • Fix: Improve load time by removing unnecessary oEmbed call. https://github.com/automattic/wp-job-manager/pull/768 Props Myles McNamara.
  • Fix: Improve WPML compatability. https://github.com/automattic/wp-job-manager/pull/787 Props Spencer Finnell.
  • Fix: Add an implicit whitelist for API requests. https://github.com/automattic/wp-job-manager/pull/855 Props muddletoes.
  • Fix: Fixed taxonomy search conditions. See https://github.com/automattic/wp-job-manager/pull/859/ Props Jonas Vogel.
Download this release

Release Info

Developer kraftbj
Plugin Icon 128x128 WP Job Manager
Version 1.25.3
Comparing to
See all releases

Code changes from version 1.25.2 to 1.25.3

changelog.txt CHANGED
@@ -1,3 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
1
  = 1.25.2 =
2
  * Fix - The date format of the expiry date picker was incorrect in translations so we added a comment to clarify, and fixed translations. (https://github.com/Automattic/WP-Job-Manager/issues/697)
3
  * Fix - Changing the date of an expired job would forget the date, even though the job would become active. (https://github.com/Automattic/WP-Job-Manager/issues/653)
1
+ = 1.25.3 =
2
+ * Enhancement: Allow job types to be optional, just like categories. https://github.com/automattic/wp-job-manager/pull/789 Props Donncha.
3
+ * Enhancement: Add get_job_listing_types filter. https://github.com/automattic/wp-job-manager/pull/824 Props Adam Heckler.
4
+ * Enhancement: Various date format setting improvements. See https://github.com/automattic/wp-job-manager/pull/757 Props Christian Nolen.
5
+ * Enhancement: Pass search values with the job_manager_get_listings_custom_filter_text filter. https://github.com/automattic/wp-job-manager/pull/845 Props Kraft.
6
+ * Fix: Prevent a potential CSRF vector. https://github.com/automattic/wp-job-manager/pull/891 Props Jay Patel for the responsible disclosure.
7
+ * Fix: Improve load time by removing unnecessary oEmbed call. https://github.com/automattic/wp-job-manager/pull/768 Props Myles McNamara.
8
+ * Fix: Improve WPML compatability. https://github.com/automattic/wp-job-manager/pull/787 Props Spencer Finnell.
9
+ * Fix: Add an implicit whitelist for API requests. https://github.com/automattic/wp-job-manager/pull/855 Props muddletoes.
10
+ * Fix: Fixed taxonomy search conditions. See https://github.com/automattic/wp-job-manager/pull/859/ Props Jonas Vogel.
11
+
12
  = 1.25.2 =
13
  * Fix - The date format of the expiry date picker was incorrect in translations so we added a comment to clarify, and fixed translations. (https://github.com/Automattic/WP-Job-Manager/issues/697)
14
  * Fix - Changing the date of an expired job would forget the date, even though the job would become active. (https://github.com/Automattic/WP-Job-Manager/issues/653)
includes/admin/class-wp-job-manager-cpt.php CHANGED
@@ -268,6 +268,10 @@ class WP_Job_Manager_CPT {
268
  unset( $columns["job_listing_category"] );
269
  }
270
 
 
 
 
 
271
  return $columns;
272
  }
273
 
268
  unset( $columns["job_listing_category"] );
269
  }
270
 
271
+ if ( ! get_option( 'job_manager_enable_types' ) ) {
272
+ unset( $columns["job_listing_type"] );
273
+ }
274
+
275
  return $columns;
276
  }
277
 
includes/admin/class-wp-job-manager-settings.php CHANGED
@@ -96,6 +96,26 @@ class WP_Job_Manager_Settings {
96
  'all' => __( 'Jobs will be shown if within ALL selected categories', 'wp-job-manager' ),
97
  )
98
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
  array(
100
  'name' => 'job_manager_multi_job_type',
101
  'std' => '0',
@@ -331,7 +351,7 @@ class WP_Job_Manager_Settings {
331
  break;
332
  case "password" :
333
 
334
- ?><input id="setting-<?php echo $option['name']; ?>" class="regular-text" type="password" name="<?php echo $option['name']; ?>" value="<?php esc_attr_e( $value ); ?>" <?php echo implode( ' ', $attributes ); ?> <?php echo $placeholder; ?> /><?php
335
 
336
  if ( $option['desc'] ) {
337
  echo ' <p class="description">' . $option['desc'] . '</p>';
@@ -339,7 +359,7 @@ class WP_Job_Manager_Settings {
339
 
340
  break;
341
  case "number" :
342
- ?><input id="setting-<?php echo $option['name']; ?>" class="regular-text" type="number" name="<?php echo $option['name']; ?>" value="<?php esc_attr_e( $value ); ?>" <?php echo implode( ' ', $attributes ); ?> <?php echo $placeholder; ?> /><?php
343
 
344
  if ( $option['desc'] ) {
345
  echo ' <p class="description">' . $option['desc'] . '</p>';
@@ -348,7 +368,7 @@ class WP_Job_Manager_Settings {
348
  case "" :
349
  case "input" :
350
  case "text" :
351
- ?><input id="setting-<?php echo $option['name']; ?>" class="regular-text" type="text" name="<?php echo $option['name']; ?>" value="<?php esc_attr_e( $value ); ?>" <?php echo implode( ' ', $attributes ); ?> <?php echo $placeholder; ?> /><?php
352
 
353
  if ( $option['desc'] ) {
354
  echo ' <p class="description">' . $option['desc'] . '</p>';
96
  'all' => __( 'Jobs will be shown if within ALL selected categories', 'wp-job-manager' ),
97
  )
98
  ),
99
+ array(
100
+ 'name' => 'job_manager_date_format',
101
+ 'std' => 'relative',
102
+ 'label' => __( 'Date Format', 'wp-job-manager' ),
103
+ 'desc' => __( 'Choose how you want the published date for jobs to be displayed on the front-end.', 'wp-job-manager' ),
104
+ 'type' => 'select',
105
+ 'options' => array(
106
+ 'relative' => __( 'Relative to the current date (e.g., 1 day, 1 week, 1 month ago)', 'wp-job-manager' ),
107
+ 'default' => __( 'Default date format as defined in Setttings', 'wp-job-manager' ),
108
+ )
109
+ ),
110
+ array(
111
+ 'name' => 'job_manager_enable_types',
112
+ 'std' => '1',
113
+ 'label' => __( 'Types', 'wp-job-manager' ),
114
+ 'cb_label' => __( 'Enable types for listings', 'wp-job-manager' ),
115
+ 'desc' => __( 'Choose whether to enable types. Types must be setup by an admin to allow users to choose them during submission.', 'wp-job-manager' ),
116
+ 'type' => 'checkbox',
117
+ 'attributes' => array()
118
+ ),
119
  array(
120
  'name' => 'job_manager_multi_job_type',
121
  'std' => '0',
351
  break;
352
  case "password" :
353
 
354
+ ?><input id="setting-<?php echo $option['name']; ?>" class="regular-text" type="password" name="<?php echo $option['name']; ?>" value="<?php echo esc_attr( $value ); ?>" <?php echo implode( ' ', $attributes ); ?> <?php echo $placeholder; ?> /><?php
355
 
356
  if ( $option['desc'] ) {
357
  echo ' <p class="description">' . $option['desc'] . '</p>';
359
 
360
  break;
361
  case "number" :
362
+ ?><input id="setting-<?php echo $option['name']; ?>" class="regular-text" type="number" name="<?php echo $option['name']; ?>" value="<?php echo esc_attr( $value ); ?>" <?php echo implode( ' ', $attributes ); ?> <?php echo $placeholder; ?> /><?php
363
 
364
  if ( $option['desc'] ) {
365
  echo ' <p class="description">' . $option['desc'] . '</p>';
368
  case "" :
369
  case "input" :
370
  case "text" :
371
+ ?><input id="setting-<?php echo $option['name']; ?>" class="regular-text" type="text" name="<?php echo $option['name']; ?>" value="<?php echo esc_attr( $value ); ?>" <?php echo implode( ' ', $attributes ); ?> <?php echo $placeholder; ?> /><?php
372
 
373
  if ( $option['desc'] ) {
374
  echo ' <p class="description">' . $option['desc'] . '</p>';
includes/admin/class-wp-job-manager-setup.php CHANGED
@@ -109,6 +109,8 @@ class WP_Job_Manager_Setup {
109
  $step = ! empty( $_GET['step'] ) ? absint( $_GET['step'] ) : 1;
110
 
111
  if ( 3 === $step && ! empty( $_POST ) ) {
 
 
112
  $create_pages = isset( $_POST['wp-job-manager-create-page'] ) ? $_POST['wp-job-manager-create-page'] : array();
113
  $page_titles = $_POST['wp-job-manager-page-title'];
114
  $pages_to_create = array(
@@ -155,6 +157,7 @@ class WP_Job_Manager_Setup {
155
  <p><?php printf( __( '<em>WP Job Manager</em> includes %1$sshortcodes%2$s which can be used within your %3$spages%2$s to output content. These can be created for you below. For more information on the job shortcodes view the %4$sshortcode documentation%2$s.', 'wp-job-manager' ), '<a href="http://codex.wordpress.org/Shortcode" title="What is a shortcode?" target="_blank" class="help-page-link">', '</a>', '<a href="http://codex.wordpress.org/Pages" target="_blank" class="help-page-link">', '<a href="https://wpjobmanager.com/document/shortcode-reference/" target="_blank" class="help-page-link">' ); ?></p>
156
 
157
  <form action="<?php echo esc_url( add_query_arg( 'step', 3 ) ); ?>" method="post">
 
158
  <table class="wp-job-manager-shortcodes widefat">
159
  <thead>
160
  <tr>
109
  $step = ! empty( $_GET['step'] ) ? absint( $_GET['step'] ) : 1;
110
 
111
  if ( 3 === $step && ! empty( $_POST ) ) {
112
+ if ( false == wp_verify_nonce( $_REQUEST[ 'setup_wizard' ], 'step_3' ) )
113
+ wp_die( 'Error in nonce. Try again.', 'wp-job-manager' );
114
  $create_pages = isset( $_POST['wp-job-manager-create-page'] ) ? $_POST['wp-job-manager-create-page'] : array();
115
  $page_titles = $_POST['wp-job-manager-page-title'];
116
  $pages_to_create = array(
157
  <p><?php printf( __( '<em>WP Job Manager</em> includes %1$sshortcodes%2$s which can be used within your %3$spages%2$s to output content. These can be created for you below. For more information on the job shortcodes view the %4$sshortcode documentation%2$s.', 'wp-job-manager' ), '<a href="http://codex.wordpress.org/Shortcode" title="What is a shortcode?" target="_blank" class="help-page-link">', '</a>', '<a href="http://codex.wordpress.org/Pages" target="_blank" class="help-page-link">', '<a href="https://wpjobmanager.com/document/shortcode-reference/" target="_blank" class="help-page-link">' ); ?></p>
158
 
159
  <form action="<?php echo esc_url( add_query_arg( 'step', 3 ) ); ?>" method="post">
160
+ <?php wp_nonce_field( 'step_3', 'setup_wizard' ); ?>
161
  <table class="wp-job-manager-shortcodes widefat">
162
  <thead>
163
  <tr>
includes/admin/class-wp-job-manager-writepanels.php CHANGED
@@ -124,7 +124,9 @@ class WP_Job_Manager_Writepanels {
124
  global $wp_post_types;
125
 
126
  add_meta_box( 'job_listing_data', sprintf( __( '%s Data', 'wp-job-manager' ), $wp_post_types['job_listing']->labels->singular_name ), array( $this, 'job_listing_data' ), 'job_listing', 'normal', 'high' );
127
- if ( false == job_manager_multi_job_type() ) {
 
 
128
  remove_meta_box( 'job_listing_typediv', 'job_listing', 'side');
129
  add_meta_box( 'job_listing_type', __( 'Job Listings', 'wp-job-manager' ), array( $this, 'job_listing_metabox' ),'job_listing' ,'side','core');
130
  }
124
  global $wp_post_types;
125
 
126
  add_meta_box( 'job_listing_data', sprintf( __( '%s Data', 'wp-job-manager' ), $wp_post_types['job_listing']->labels->singular_name ), array( $this, 'job_listing_data' ), 'job_listing', 'normal', 'high' );
127
+ if ( ! get_option( 'job_manager_enable_types' ) || wp_count_terms( 'job_listing_type' ) == 0 ) {
128
+ remove_meta_box( 'job_listing_typediv', 'job_listing', 'side');
129
+ } elseif ( false == job_manager_multi_job_type() ) {
130
  remove_meta_box( 'job_listing_typediv', 'job_listing', 'side');
131
  add_meta_box( 'job_listing_type', __( 'Job Listings', 'wp-job-manager' ), array( $this, 'job_listing_metabox' ),'job_listing' ,'side','core');
132
  }
includes/class-wp-job-manager-ajax.php CHANGED
@@ -191,7 +191,13 @@ class WP_Job_Manager_Ajax {
191
  } else {
192
  $message = "";
193
  }
194
- $result['showing'] = apply_filters( 'job_manager_get_listings_custom_filter_text', $message );
 
 
 
 
 
 
195
 
196
  // Generate RSS link
197
  $result['showing_links'] = job_manager_get_filtered_links( array(
191
  } else {
192
  $message = "";
193
  }
194
+
195
+ $search_values = array(
196
+ 'location' => $search_location,
197
+ 'keywords' => $search_keywords,
198
+ 'categories' => $search_categories
199
+ );
200
+ $result['showing'] = apply_filters( 'job_manager_get_listings_custom_filter_text', $message, $search_values );
201
 
202
  // Generate RSS link
203
  $result['showing_links'] = job_manager_get_filtered_links( array(
includes/class-wp-job-manager-api.php CHANGED
@@ -61,7 +61,7 @@ class WP_Job_Manager_API {
61
  $api = strtolower( esc_attr( $wp->query_vars['job-manager-api'] ) );
62
 
63
  // Load class if exists
64
- if ( class_exists( $api ) )
65
  $api_class = new $api();
66
 
67
  // Trigger actions
@@ -74,4 +74,4 @@ class WP_Job_Manager_API {
74
  }
75
  }
76
 
77
- new WP_Job_Manager_API();
61
  $api = strtolower( esc_attr( $wp->query_vars['job-manager-api'] ) );
62
 
63
  // Load class if exists
64
+ if ( has_action( 'job_manager_api_' . $api ) && class_exists( $api ) )
65
  $api_class = new $api();
66
 
67
  // Trigger actions
74
  }
75
  }
76
 
77
+ new WP_Job_Manager_API();
includes/class-wp-job-manager-post-types.php CHANGED
@@ -114,52 +114,54 @@ class WP_Job_Manager_Post_Types {
114
  );
115
  }
116
 
117
- $singular = __( 'Job type', 'wp-job-manager' );
118
- $plural = __( 'Job types', 'wp-job-manager' );
 
119
 
120
- if ( current_theme_supports( 'job-manager-templates' ) ) {
121
- $rewrite = array(
122
- 'slug' => _x( 'job-type', 'Job type slug - resave permalinks after changing this', 'wp-job-manager' ),
123
- 'with_front' => false,
124
- 'hierarchical' => false
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
125
  );
126
- $public = true;
127
- } else {
128
- $rewrite = false;
129
- $public = false;
130
  }
131
 
132
- register_taxonomy( "job_listing_type",
133
- apply_filters( 'register_taxonomy_job_listing_type_object_type', array( 'job_listing' ) ),
134
- apply_filters( 'register_taxonomy_job_listing_type_args', array(
135
- 'hierarchical' => true,
136
- 'label' => $plural,
137
- 'labels' => array(
138
- 'name' => $plural,
139
- 'singular_name' => $singular,
140
- 'menu_name' => ucwords( $plural ),
141
- 'search_items' => sprintf( __( 'Search %s', 'wp-job-manager' ), $plural ),
142
- 'all_items' => sprintf( __( 'All %s', 'wp-job-manager' ), $plural ),
143
- 'parent_item' => sprintf( __( 'Parent %s', 'wp-job-manager' ), $singular ),
144
- 'parent_item_colon' => sprintf( __( 'Parent %s:', 'wp-job-manager' ), $singular ),
145
- 'edit_item' => sprintf( __( 'Edit %s', 'wp-job-manager' ), $singular ),
146
- 'update_item' => sprintf( __( 'Update %s', 'wp-job-manager' ), $singular ),
147
- 'add_new_item' => sprintf( __( 'Add New %s', 'wp-job-manager' ), $singular ),
148
- 'new_item_name' => sprintf( __( 'New %s Name', 'wp-job-manager' ), $singular )
149
- ),
150
- 'show_ui' => true,
151
- 'show_tagcloud' => false,
152
- 'public' => $public,
153
- 'capabilities' => array(
154
- 'manage_terms' => $admin_capability,
155
- 'edit_terms' => $admin_capability,
156
- 'delete_terms' => $admin_capability,
157
- 'assign_terms' => $admin_capability,
158
- ),
159
- 'rewrite' => $rewrite,
160
- ) )
161
- );
162
-
163
  /**
164
  * Post types
165
  */
@@ -182,25 +184,25 @@ class WP_Job_Manager_Post_Types {
182
  register_post_type( "job_listing",
183
  apply_filters( "register_post_type_job_listing", array(
184
  'labels' => array(
185
- 'name' => $plural,
186
- 'singular_name' => $singular,
187
  'menu_name' => __( 'Job Listings', 'wp-job-manager' ),
188
  'all_items' => sprintf( __( 'All %s', 'wp-job-manager' ), $plural ),
189
- 'add_new' => __( 'Add New', 'wp-job-manager' ),
190
- 'add_new_item' => sprintf( __( 'Add %s', 'wp-job-manager' ), $singular ),
191
- 'edit' => __( 'Edit', 'wp-job-manager' ),
192
- 'edit_item' => sprintf( __( 'Edit %s', 'wp-job-manager' ), $singular ),
193
- 'new_item' => sprintf( __( 'New %s', 'wp-job-manager' ), $singular ),
194
- 'view' => sprintf( __( 'View %s', 'wp-job-manager' ), $singular ),
195
- 'view_item' => sprintf( __( 'View %s', 'wp-job-manager' ), $singular ),
196
- 'search_items' => sprintf( __( 'Search %s', 'wp-job-manager' ), $plural ),
197
- 'not_found' => sprintf( __( 'No %s found', 'wp-job-manager' ), $plural ),
198
  'not_found_in_trash' => sprintf( __( 'No %s found in trash', 'wp-job-manager' ), $plural ),
199
- 'parent' => sprintf( __( 'Parent %s', 'wp-job-manager' ), $singular ),
200
- 'featured_image' => __( 'Company Logo', 'woocommerce' ),
201
- 'set_featured_image' => __( 'Set company logo', 'woocommerce' ),
202
- 'remove_featured_image' => __( 'Remove company logo', 'woocommerce' ),
203
- 'use_featured_image' => __( 'Use as company logo', 'woocommerce' ),
204
  ),
205
  'description' => sprintf( __( 'This is where you can create and manage %s.', 'wp-job-manager' ), $plural ),
206
  'public' => true,
114
  );
115
  }
116
 
117
+ if ( get_option( 'job_manager_enable_types' ) ) {
118
+ $singular = __( 'Job type', 'wp-job-manager' );
119
+ $plural = __( 'Job types', 'wp-job-manager' );
120
 
121
+ if ( current_theme_supports( 'job-manager-templates' ) ) {
122
+ $rewrite = array(
123
+ 'slug' => _x( 'job-type', 'Job type slug - resave permalinks after changing this', 'wp-job-manager' ),
124
+ 'with_front' => false,
125
+ 'hierarchical' => false
126
+ );
127
+ $public = true;
128
+ } else {
129
+ $rewrite = false;
130
+ $public = false;
131
+ }
132
+
133
+ register_taxonomy( "job_listing_type",
134
+ apply_filters( 'register_taxonomy_job_listing_type_object_type', array( 'job_listing' ) ),
135
+ apply_filters( 'register_taxonomy_job_listing_type_args', array(
136
+ 'hierarchical' => true,
137
+ 'label' => $plural,
138
+ 'labels' => array(
139
+ 'name' => $plural,
140
+ 'singular_name' => $singular,
141
+ 'menu_name' => ucwords( $plural ),
142
+ 'search_items' => sprintf( __( 'Search %s', 'wp-job-manager' ), $plural ),
143
+ 'all_items' => sprintf( __( 'All %s', 'wp-job-manager' ), $plural ),
144
+ 'parent_item' => sprintf( __( 'Parent %s', 'wp-job-manager' ), $singular ),
145
+ 'parent_item_colon' => sprintf( __( 'Parent %s:', 'wp-job-manager' ), $singular ),
146
+ 'edit_item' => sprintf( __( 'Edit %s', 'wp-job-manager' ), $singular ),
147
+ 'update_item' => sprintf( __( 'Update %s', 'wp-job-manager' ), $singular ),
148
+ 'add_new_item' => sprintf( __( 'Add New %s', 'wp-job-manager' ), $singular ),
149
+ 'new_item_name' => sprintf( __( 'New %s Name', 'wp-job-manager' ), $singular )
150
+ ),
151
+ 'show_ui' => true,
152
+ 'show_tagcloud' => false,
153
+ 'public' => $public,
154
+ 'capabilities' => array(
155
+ 'manage_terms' => $admin_capability,
156
+ 'edit_terms' => $admin_capability,
157
+ 'delete_terms' => $admin_capability,
158
+ 'assign_terms' => $admin_capability,
159
+ ),
160
+ 'rewrite' => $rewrite,
161
+ ) )
162
  );
 
 
 
 
163
  }
164
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
165
  /**
166
  * Post types
167
  */
184
  register_post_type( "job_listing",
185
  apply_filters( "register_post_type_job_listing", array(
186
  'labels' => array(
187
+ 'name' => $plural,
188
+ 'singular_name' => $singular,
189
  'menu_name' => __( 'Job Listings', 'wp-job-manager' ),
190
  'all_items' => sprintf( __( 'All %s', 'wp-job-manager' ), $plural ),
191
+ 'add_new' => __( 'Add New', 'wp-job-manager' ),
192
+ 'add_new_item' => sprintf( __( 'Add %s', 'wp-job-manager' ), $singular ),
193
+ 'edit' => __( 'Edit', 'wp-job-manager' ),
194
+ 'edit_item' => sprintf( __( 'Edit %s', 'wp-job-manager' ), $singular ),
195
+ 'new_item' => sprintf( __( 'New %s', 'wp-job-manager' ), $singular ),
196
+ 'view' => sprintf( __( 'View %s', 'wp-job-manager' ), $singular ),
197
+ 'view_item' => sprintf( __( 'View %s', 'wp-job-manager' ), $singular ),
198
+ 'search_items' => sprintf( __( 'Search %s', 'wp-job-manager' ), $plural ),
199
+ 'not_found' => sprintf( __( 'No %s found', 'wp-job-manager' ), $plural ),
200
  'not_found_in_trash' => sprintf( __( 'No %s found in trash', 'wp-job-manager' ), $plural ),
201
+ 'parent' => sprintf( __( 'Parent %s', 'wp-job-manager' ), $singular ),
202
+ 'featured_image' => __( 'Company Logo', 'wp-job-manager' ),
203
+ 'set_featured_image' => __( 'Set company logo', 'wp-job-manager' ),
204
+ 'remove_featured_image' => __( 'Remove company logo', 'wp-job-manager' ),
205
+ 'use_featured_image' => __( 'Use as company logo', 'wp-job-manager' ),
206
  ),
207
  'description' => sprintf( __( 'This is where you can create and manage %s.', 'wp-job-manager' ), $plural ),
208
  'public' => true,
includes/forms/class-wp-job-manager-form-submit-job.php CHANGED
@@ -258,6 +258,9 @@ class WP_Job_Manager_Form_Submit_Job extends WP_Job_Manager_Form {
258
  if ( ! get_option( 'job_manager_enable_categories' ) || wp_count_terms( 'job_listing_category' ) == 0 ) {
259
  unset( $this->fields['job']['job_category'] );
260
  }
 
 
 
261
  }
262
 
263
  /**
@@ -465,7 +468,7 @@ class WP_Job_Manager_Form_Submit_Job extends WP_Job_Manager_Form {
465
  }
466
 
467
  if ( job_manager_user_requires_account() && ! is_user_logged_in() ) {
468
- throw new Exception( __( 'You must be signed in to post a new listing.' ) );
469
  }
470
 
471
  // Update the job
258
  if ( ! get_option( 'job_manager_enable_categories' ) || wp_count_terms( 'job_listing_category' ) == 0 ) {
259
  unset( $this->fields['job']['job_category'] );
260
  }
261
+ if ( ! get_option( 'job_manager_enable_types' ) || wp_count_terms( 'job_listing_type' ) == 0 ) {
262
+ unset( $this->fields['job']['job_type'] );
263
+ }
264
  }
265
 
266
  /**
468
  }
469
 
470
  if ( job_manager_user_requires_account() && ! is_user_logged_in() ) {
471
+ throw new Exception( __( 'You must be signed in to post a new listing.', 'wp-job-manager' ) );
472
  }
473
 
474
  // Update the job
languages/wp-job-manager.pot CHANGED
@@ -1,19 +1,20 @@
1
- # Copyright (C) 2016 WP Job Manager
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.25.0\n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/WP-Job-Manager\n"
7
- "POT-Creation-Date: 2016-03-11 14:13:03+00:00\n"
8
  "MIME-Version: 1.0\n"
9
- "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
 
14
 
15
  #: includes/admin/class-wp-job-manager-addons.php:57
16
- #: includes/admin/class-wp-job-manager-admin.php:65
17
  msgid "WP Job Manager Add-ons"
18
  msgstr ""
19
 
@@ -25,16 +26,11 @@ msgstr ""
25
  msgid "Check out the core add-on bundle &rarr;"
26
  msgstr ""
27
 
28
- #: includes/admin/class-wp-job-manager-admin.php:48
29
- msgctxt "Date format for jQuery datepicker"
30
- msgid "yy-mm-dd"
31
- msgstr ""
32
-
33
- #: includes/admin/class-wp-job-manager-admin.php:62
34
  msgid "Settings"
35
  msgstr ""
36
 
37
- #: includes/admin/class-wp-job-manager-admin.php:65
38
  msgid "Add-ons"
39
  msgstr ""
40
 
@@ -101,8 +97,8 @@ msgstr ""
101
 
102
  #: includes/admin/class-wp-job-manager-cpt.php:235
103
  msgid ""
104
- "%s scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" href=\"%2$s"
105
- "\">Preview</a>"
106
  msgstr ""
107
 
108
  #: includes/admin/class-wp-job-manager-cpt.php:236
@@ -119,8 +115,8 @@ msgstr ""
119
 
120
  #: includes/admin/class-wp-job-manager-cpt.php:258
121
  #: includes/admin/class-wp-job-manager-writepanels.php:31
122
- #: includes/class-wp-job-manager-widgets.php:165
123
- #: includes/forms/class-wp-job-manager-form-submit-job.php:129
124
  #: templates/job-filters.php:17 templates/job-filters.php:18
125
  msgid "Location"
126
  msgstr ""
@@ -147,7 +143,7 @@ msgid "Featured?"
147
  msgstr ""
148
 
149
  #: includes/admin/class-wp-job-manager-cpt.php:264
150
- #: includes/class-wp-job-manager-shortcodes.php:181
151
  msgid "Filled?"
152
  msgstr ""
153
 
@@ -155,45 +151,49 @@ msgstr ""
155
  msgid "Actions"
156
  msgstr ""
157
 
158
- #: includes/admin/class-wp-job-manager-cpt.php:292
159
  msgid "ID: %d"
160
  msgstr ""
161
 
162
- #: includes/admin/class-wp-job-manager-cpt.php:320
163
- #: includes/admin/class-wp-job-manager-cpt.php:325
164
  msgid "M j, Y"
165
  msgstr ""
166
 
167
- #: includes/admin/class-wp-job-manager-cpt.php:321
168
  msgid "by a guest"
169
  msgstr ""
170
 
171
- #: includes/admin/class-wp-job-manager-cpt.php:321
172
  msgid "by %s"
173
  msgstr ""
174
 
175
- #: includes/admin/class-wp-job-manager-cpt.php:339
176
  msgid "Approve"
177
  msgstr ""
178
 
179
- #: includes/admin/class-wp-job-manager-cpt.php:347
 
 
 
180
  msgid "View"
181
  msgstr ""
182
 
183
- #: includes/admin/class-wp-job-manager-cpt.php:354
184
- #: includes/class-wp-job-manager-post-types.php:189
185
  #: templates/job-dashboard.php:33 templates/job-dashboard.php:51
186
  msgid "Edit"
187
  msgstr ""
188
 
189
- #: includes/admin/class-wp-job-manager-cpt.php:361
190
  #: templates/job-dashboard.php:56
191
  msgid "Delete"
192
  msgstr ""
193
 
194
  #: includes/admin/class-wp-job-manager-settings.php:42
195
- #: includes/class-wp-job-manager-post-types.php:185
196
- #: includes/class-wp-job-manager-post-types.php:252
 
197
  msgid "Job Listings"
198
  msgstr ""
199
 
@@ -237,8 +237,8 @@ msgstr ""
237
 
238
  #: includes/admin/class-wp-job-manager-settings.php:75
239
  msgid ""
240
- "Choose whether to enable categories. Categories must be setup by an admin to "
241
- "allow users to choose them during submission."
242
  msgstr ""
243
 
244
  #: includes/admin/class-wp-job-manager-settings.php:82
@@ -250,7 +250,6 @@ msgid "Enable category multiselect by default"
250
  msgstr ""
251
 
252
  #: includes/admin/class-wp-job-manager-settings.php:84
253
- #: includes/admin/class-wp-job-manager-settings.php:92
254
  msgid ""
255
  "If enabled, the category select box will default to a multiselect on the "
256
  "[jobs] shortcode."
@@ -260,6 +259,12 @@ msgstr ""
260
  msgid "Category Filter Type"
261
  msgstr ""
262
 
 
 
 
 
 
 
263
  #: includes/admin/class-wp-job-manager-settings.php:95
264
  msgid "Jobs will be shown if within ANY selected category"
265
  msgstr ""
@@ -269,366 +274,396 @@ msgid "Jobs will be shown if within ALL selected categories"
269
  msgstr ""
270
 
271
  #: includes/admin/class-wp-job-manager-settings.php:102
272
- msgid "Job Submission"
 
 
 
 
 
 
 
 
 
 
273
  msgstr ""
274
 
275
  #: includes/admin/class-wp-job-manager-settings.php:107
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
276
  msgid "Account Required"
277
  msgstr ""
278
 
279
- #: includes/admin/class-wp-job-manager-settings.php:108
280
  msgid "Submitting listings requires an account"
281
  msgstr ""
282
 
283
- #: includes/admin/class-wp-job-manager-settings.php:109
284
  msgid ""
285
  "If disabled, non-logged in users will be able to submit listings without "
286
  "creating an account."
287
  msgstr ""
288
 
289
- #: includes/admin/class-wp-job-manager-settings.php:116
290
  msgid "Account Creation"
291
  msgstr ""
292
 
293
- #: includes/admin/class-wp-job-manager-settings.php:117
294
  msgid "Allow account creation"
295
  msgstr ""
296
 
297
- #: includes/admin/class-wp-job-manager-settings.php:118
298
  msgid ""
299
  "If enabled, non-logged in users will be able to create an account by "
300
  "entering their email address on the submission form."
301
  msgstr ""
302
 
303
- #: includes/admin/class-wp-job-manager-settings.php:125
304
  msgid "Account Username"
305
  msgstr ""
306
 
307
- #: includes/admin/class-wp-job-manager-settings.php:126
308
  msgid "Automatically Generate Username from Email Address"
309
  msgstr ""
310
 
311
- #: includes/admin/class-wp-job-manager-settings.php:127
312
  msgid ""
313
  "If enabled, a username will be generated from the first part of the user "
314
  "email address. Otherwise, a username field will be shown."
315
  msgstr ""
316
 
317
- #: includes/admin/class-wp-job-manager-settings.php:134
318
  msgid "Account Role"
319
  msgstr ""
320
 
321
- #: includes/admin/class-wp-job-manager-settings.php:135
322
  msgid ""
323
  "If you enable registration on your submission form, choose a role for the "
324
  "new user."
325
  msgstr ""
326
 
327
- #: includes/admin/class-wp-job-manager-settings.php:142
328
  msgid "Moderate New Listings"
329
  msgstr ""
330
 
331
- #: includes/admin/class-wp-job-manager-settings.php:143
332
  msgid "New listing submissions require admin approval"
333
  msgstr ""
334
 
335
- #: includes/admin/class-wp-job-manager-settings.php:144
336
  msgid "If enabled, new submissions will be inactive, pending admin approval."
337
  msgstr ""
338
 
339
- #: includes/admin/class-wp-job-manager-settings.php:151
340
  msgid "Allow Pending Edits"
341
  msgstr ""
342
 
343
- #: includes/admin/class-wp-job-manager-settings.php:152
344
  msgid "Submissions awaiting approval can be edited"
345
  msgstr ""
346
 
347
- #: includes/admin/class-wp-job-manager-settings.php:153
348
- msgid ""
349
- "If enabled, submissions awaiting admin approval can be edited by the user."
350
  msgstr ""
351
 
352
- #: includes/admin/class-wp-job-manager-settings.php:160
353
  msgid "Listing Duration"
354
  msgstr ""
355
 
356
- #: includes/admin/class-wp-job-manager-settings.php:161
357
  msgid ""
358
  "How many <strong>days</strong> listings are live before expiring. Can be "
359
  "left blank to never expire."
360
  msgstr ""
361
 
362
- #: includes/admin/class-wp-job-manager-settings.php:167
363
  msgid "Application Method"
364
  msgstr ""
365
 
366
- #: includes/admin/class-wp-job-manager-settings.php:168
367
  msgid "Choose the contact method for listings."
368
  msgstr ""
369
 
370
- #: includes/admin/class-wp-job-manager-settings.php:171
371
  msgid "Email address or website URL"
372
  msgstr ""
373
 
374
- #: includes/admin/class-wp-job-manager-settings.php:172
375
  msgid "Email addresses only"
376
  msgstr ""
377
 
378
- #: includes/admin/class-wp-job-manager-settings.php:173
379
  msgid "Website URLs only"
380
  msgstr ""
381
 
382
- #: includes/admin/class-wp-job-manager-settings.php:179
383
  msgid "Pages"
384
  msgstr ""
385
 
386
- #: includes/admin/class-wp-job-manager-settings.php:184
387
  msgid "Submit Job Form Page"
388
  msgstr ""
389
 
390
- #: includes/admin/class-wp-job-manager-settings.php:185
391
  msgid ""
392
  "Select the page where you have placed the [submit_job_form] shortcode. This "
393
  "lets the plugin know where the form is located."
394
  msgstr ""
395
 
396
- #: includes/admin/class-wp-job-manager-settings.php:191
397
  msgid "Job Dashboard Page"
398
  msgstr ""
399
 
400
- #: includes/admin/class-wp-job-manager-settings.php:192
401
  msgid ""
402
  "Select the page where you have placed the [job_dashboard] shortcode. This "
403
  "lets the plugin know where the dashboard is located."
404
  msgstr ""
405
 
406
- #: includes/admin/class-wp-job-manager-settings.php:198
407
  msgid "Job Listings Page"
408
  msgstr ""
409
 
410
- #: includes/admin/class-wp-job-manager-settings.php:199
411
  msgid ""
412
  "Select the page where you have placed the [jobs] shortcode. This lets the "
413
  "plugin know where the job listings page is located."
414
  msgstr ""
415
 
416
- #: includes/admin/class-wp-job-manager-settings.php:251
417
  msgid "Settings successfully saved"
418
  msgstr ""
419
 
420
- #: includes/admin/class-wp-job-manager-settings.php:311
421
  msgid "--no page--"
422
  msgstr ""
423
 
424
- #: includes/admin/class-wp-job-manager-settings.php:316
425
  msgid "Select a page&hellip;"
426
  msgstr ""
427
 
428
- #: includes/admin/class-wp-job-manager-settings.php:362
429
  msgid "Save Changes"
430
  msgstr ""
431
 
432
- #: includes/admin/class-wp-job-manager-setup.php:31
433
  msgid "Setup"
434
  msgstr ""
435
 
436
- #: includes/admin/class-wp-job-manager-setup.php:128
437
  msgid "WP Job Manager Setup"
438
  msgstr ""
439
 
440
- #: includes/admin/class-wp-job-manager-setup.php:131
441
  msgid "1. Introduction"
442
  msgstr ""
443
 
444
- #: includes/admin/class-wp-job-manager-setup.php:132
445
  msgid "2. Page Setup"
446
  msgstr ""
447
 
448
- #: includes/admin/class-wp-job-manager-setup.php:133
449
  msgid "3. Done"
450
  msgstr ""
451
 
452
- #: includes/admin/class-wp-job-manager-setup.php:138
453
  msgid "Setup Wizard Introduction"
454
  msgstr ""
455
 
456
- #: includes/admin/class-wp-job-manager-setup.php:140
457
  msgid "Thanks for installing <em>WP Job Manager</em>!"
458
  msgstr ""
459
 
460
- #: includes/admin/class-wp-job-manager-setup.php:141
461
  msgid ""
462
  "This setup wizard will help you get started by creating the pages for job "
463
  "submission, job management, and listing your jobs."
464
  msgstr ""
465
 
466
- #: includes/admin/class-wp-job-manager-setup.php:142
467
  msgid ""
468
  "If you want to skip the wizard and setup the pages and shortcodes yourself "
469
  "manually, the process is still relatively simple. Refer to the "
470
  "%sdocumentation%s for help."
471
  msgstr ""
472
 
473
- #: includes/admin/class-wp-job-manager-setup.php:145
474
  msgid "Continue to page setup"
475
  msgstr ""
476
 
477
- #: includes/admin/class-wp-job-manager-setup.php:146
478
  msgid "Skip setup. I will setup the plugin manually"
479
  msgstr ""
480
 
481
- #: includes/admin/class-wp-job-manager-setup.php:152
482
  msgid "Page Setup"
483
  msgstr ""
484
 
485
- #: includes/admin/class-wp-job-manager-setup.php:154
486
  msgid ""
487
- "<em>WP Job Manager</em> includes %1$sshortcodes%2$s which can be used within "
488
- "your %3$spages%2$s to output content. These can be created for you below. "
489
- "For more information on the job shortcodes view the %4$sshortcode "
490
  "documentation%2$s."
491
  msgstr ""
492
 
493
- #: includes/admin/class-wp-job-manager-setup.php:161
494
  msgid "Page Title"
495
  msgstr ""
496
 
497
- #: includes/admin/class-wp-job-manager-setup.php:162
498
  msgid "Page Description"
499
  msgstr ""
500
 
501
- #: includes/admin/class-wp-job-manager-setup.php:163
502
  msgid "Content Shortcode"
503
  msgstr ""
504
 
505
- #: includes/admin/class-wp-job-manager-setup.php:169
506
- msgctxt "Default page title (wizard)"
507
- msgid "Post a Job"
508
  msgstr ""
509
 
510
- #: includes/admin/class-wp-job-manager-setup.php:171
511
  msgid ""
512
- "This page allows employers to post jobs to your website from the front-end."
513
- msgstr ""
514
-
515
- #: includes/admin/class-wp-job-manager-setup.php:173
516
- msgid ""
517
- "If you do not want to accept submissions from users in this way (for example "
518
- "you just want to post jobs from the admin dashboard) you can skip creating "
519
- "this page."
520
- msgstr ""
521
-
522
- #: includes/admin/class-wp-job-manager-setup.php:179
523
- msgctxt "Default page title (wizard)"
524
- msgid "Job Dashboard"
525
  msgstr ""
526
 
527
- #: includes/admin/class-wp-job-manager-setup.php:181
528
  msgid ""
529
- "This page allows employers to manage and edit their own jobs from the front-"
530
- "end."
531
  msgstr ""
532
 
533
- #: includes/admin/class-wp-job-manager-setup.php:183
534
  msgid ""
535
  "If you plan on managing all listings from the admin dashboard you can skip "
536
  "creating this page."
537
  msgstr ""
538
 
539
- #: includes/admin/class-wp-job-manager-setup.php:189
540
- msgctxt "Default page title (wizard)"
541
- msgid "Jobs"
542
- msgstr ""
543
-
544
- #: includes/admin/class-wp-job-manager-setup.php:190
545
  msgid ""
546
  "This page allows users to browse, search, and filter job listings on the "
547
  "front-end of your site."
548
  msgstr ""
549
 
550
- #: includes/admin/class-wp-job-manager-setup.php:198
551
  msgid "Skip this step"
552
  msgstr ""
553
 
554
- #: includes/admin/class-wp-job-manager-setup.php:208
555
  msgid "All Done!"
556
  msgstr ""
557
 
558
- #: includes/admin/class-wp-job-manager-setup.php:210
559
  msgid ""
560
  "Looks like you're all set to start using the plugin. In case you're "
561
  "wondering where to go next:"
562
  msgstr ""
563
 
564
- #: includes/admin/class-wp-job-manager-setup.php:213
565
  msgid "Tweak the plugin settings"
566
  msgstr ""
567
 
568
- #: includes/admin/class-wp-job-manager-setup.php:214
569
  msgid "Add a job via the back-end"
570
  msgstr ""
571
 
572
- #: includes/admin/class-wp-job-manager-setup.php:217
573
  msgid "Add a job via the front-end"
574
  msgstr ""
575
 
576
- #: includes/admin/class-wp-job-manager-setup.php:219
577
  msgid "Find out more about the front-end job submission form"
578
  msgstr ""
579
 
580
- #: includes/admin/class-wp-job-manager-setup.php:223
581
  msgid "View submitted job listings"
582
  msgstr ""
583
 
584
- #: includes/admin/class-wp-job-manager-setup.php:225
585
  msgid "Add the [jobs] shortcode to a page to list jobs"
586
  msgstr ""
587
 
588
- #: includes/admin/class-wp-job-manager-setup.php:229
589
  msgid "View the job dashboard"
590
  msgstr ""
591
 
592
- #: includes/admin/class-wp-job-manager-setup.php:231
593
  msgid "Find out more about the front-end job dashboard"
594
  msgstr ""
595
 
596
- #: includes/admin/class-wp-job-manager-setup.php:235
597
  msgid ""
598
  "And don't forget, if you need any more help using <em>WP Job Manager</em> "
599
  "you can consult the %1$sdocumentation%2$s or %3$spost on the forums%2$s!"
600
  msgstr ""
601
 
602
- #: includes/admin/class-wp-job-manager-setup.php:238
603
  msgid "Support the Ongoing Development of this Plugin"
604
  msgstr ""
605
 
606
- #: includes/admin/class-wp-job-manager-setup.php:239
607
  msgid ""
608
  "There are many ways to support open-source projects such as WP Job Manager, "
609
- "for example code contribution, translation, or even telling your friends how "
610
- "awesome the plugin (hopefully) is. Thanks in advance for your support - it "
611
- "is much appreciated!"
612
  msgstr ""
613
 
614
- #: includes/admin/class-wp-job-manager-setup.php:241
615
  msgid "Leave a positive review"
616
  msgstr ""
617
 
618
- #: includes/admin/class-wp-job-manager-setup.php:242
619
  msgid "Contribute a localization"
620
  msgstr ""
621
 
622
- #: includes/admin/class-wp-job-manager-setup.php:243
623
  msgid "Contribute code or report a bug"
624
  msgstr ""
625
 
626
- #: includes/admin/class-wp-job-manager-setup.php:244
627
  msgid "Help other users on the forums"
628
  msgstr ""
629
 
630
  #: includes/admin/class-wp-job-manager-writepanels.php:32
631
- #: includes/forms/class-wp-job-manager-form-submit-job.php:133
632
  msgid "e.g. \"London\""
633
  msgstr ""
634
 
@@ -700,44 +735,43 @@ msgstr ""
700
  msgid "Listing Expiry Date"
701
  msgstr ""
702
 
703
- #: includes/admin/class-wp-job-manager-writepanels.php:87
704
- msgctxt "Date format placeholder"
705
- msgid "yyyy-mm-dd"
706
- msgstr ""
707
-
708
- #: includes/admin/class-wp-job-manager-writepanels.php:93
709
  msgid "Posted by"
710
  msgstr ""
711
 
712
- #: includes/admin/class-wp-job-manager-writepanels.php:125
713
  msgid "%s Data"
714
  msgstr ""
715
 
716
- #: includes/admin/class-wp-job-manager-writepanels.php:154
717
- #: includes/admin/class-wp-job-manager-writepanels.php:157
718
  #: includes/admin/class-wp-job-manager-writepanels.php:160
 
 
 
 
 
 
719
  msgid "Use file"
720
  msgstr ""
721
 
722
- #: includes/admin/class-wp-job-manager-writepanels.php:154
723
- #: includes/admin/class-wp-job-manager-writepanels.php:157
724
- #: includes/admin/class-wp-job-manager-writepanels.php:160
725
  msgid "Upload"
726
  msgstr ""
727
 
728
- #: includes/admin/class-wp-job-manager-writepanels.php:160
729
  msgid "Add file"
730
  msgstr ""
731
 
732
- #: includes/admin/class-wp-job-manager-writepanels.php:333
733
  msgid "Guest User"
734
  msgstr ""
735
 
736
- #: includes/admin/class-wp-job-manager-writepanels.php:335
737
  msgid "Change"
738
  msgstr ""
739
 
740
- #: includes/admin/class-wp-job-manager-writepanels.php:339
741
  msgid "Enter the ID of the user, or leave blank if submitted by a guest."
742
  msgstr ""
743
 
@@ -745,9 +779,11 @@ msgstr ""
745
  msgid "located in &ldquo;%s&rdquo;"
746
  msgstr ""
747
 
748
- #: includes/class-wp-job-manager-ajax.php:188
749
- msgid "Showing all %s"
750
- msgstr ""
 
 
751
 
752
  #: includes/class-wp-job-manager-geocode.php:141
753
  msgid "No results found"
@@ -768,7 +804,7 @@ msgid "Employer"
768
  msgstr ""
769
 
770
  #: includes/class-wp-job-manager-post-types.php:69
771
- #: includes/forms/class-wp-job-manager-form-submit-job.php:146
772
  msgid "Job category"
773
  msgstr ""
774
 
@@ -776,377 +812,345 @@ msgstr ""
776
  msgid "Job categories"
777
  msgstr ""
778
 
779
- #: includes/class-wp-job-manager-post-types.php:74
780
- msgctxt "Job category slug - resave permalinks after changing this"
781
- msgid "job-category"
782
- msgstr ""
783
-
784
  #: includes/class-wp-job-manager-post-types.php:94
785
- #: includes/class-wp-job-manager-post-types.php:140
786
- #: includes/class-wp-job-manager-post-types.php:194
787
  msgid "Search %s"
788
  msgstr ""
789
 
790
  #: includes/class-wp-job-manager-post-types.php:95
791
- #: includes/class-wp-job-manager-post-types.php:141
792
- #: includes/class-wp-job-manager-post-types.php:186
793
  msgid "All %s"
794
  msgstr ""
795
 
796
  #: includes/class-wp-job-manager-post-types.php:96
797
- #: includes/class-wp-job-manager-post-types.php:142
798
- #: includes/class-wp-job-manager-post-types.php:197
799
  msgid "Parent %s"
800
  msgstr ""
801
 
802
  #: includes/class-wp-job-manager-post-types.php:97
803
- #: includes/class-wp-job-manager-post-types.php:143
804
  msgid "Parent %s:"
805
  msgstr ""
806
 
807
  #: includes/class-wp-job-manager-post-types.php:98
808
- #: includes/class-wp-job-manager-post-types.php:144
809
- #: includes/class-wp-job-manager-post-types.php:190
810
  msgid "Edit %s"
811
  msgstr ""
812
 
813
  #: includes/class-wp-job-manager-post-types.php:99
814
- #: includes/class-wp-job-manager-post-types.php:145
815
  msgid "Update %s"
816
  msgstr ""
817
 
818
  #: includes/class-wp-job-manager-post-types.php:100
819
- #: includes/class-wp-job-manager-post-types.php:146
820
  msgid "Add New %s"
821
  msgstr ""
822
 
823
  #: includes/class-wp-job-manager-post-types.php:101
824
- #: includes/class-wp-job-manager-post-types.php:147
825
  msgid "New %s Name"
826
  msgstr ""
827
 
828
- #: includes/class-wp-job-manager-post-types.php:116
829
- #: includes/forms/class-wp-job-manager-form-submit-job.php:137
830
  msgid "Job type"
831
  msgstr ""
832
 
833
- #: includes/class-wp-job-manager-post-types.php:117
834
  msgid "Job types"
835
  msgstr ""
836
 
837
- #: includes/class-wp-job-manager-post-types.php:121
838
- msgctxt "Job type slug - resave permalinks after changing this"
839
- msgid "job-type"
840
- msgstr ""
841
-
842
- #: includes/class-wp-job-manager-post-types.php:164
843
  msgid "Job"
844
  msgstr ""
845
 
846
- #: includes/class-wp-job-manager-post-types.php:165
847
  msgid "Jobs"
848
  msgstr ""
849
 
850
- #: includes/class-wp-job-manager-post-types.php:168
851
- msgctxt "Post type archive slug - resave permalinks after changing this"
852
- msgid "jobs"
853
- msgstr ""
854
-
855
- #: includes/class-wp-job-manager-post-types.php:174
856
- msgctxt "Job permalink - resave permalinks after changing this"
857
- msgid "job"
858
- msgstr ""
859
-
860
- #: includes/class-wp-job-manager-post-types.php:187
861
  msgid "Add New"
862
  msgstr ""
863
 
864
- #: includes/class-wp-job-manager-post-types.php:188
865
  msgid "Add %s"
866
  msgstr ""
867
 
868
- #: includes/class-wp-job-manager-post-types.php:191
869
  msgid "New %s"
870
  msgstr ""
871
 
872
- #: includes/class-wp-job-manager-post-types.php:192
873
- #: includes/class-wp-job-manager-post-types.php:193
874
  msgid "View %s"
875
  msgstr ""
876
 
877
- #: includes/class-wp-job-manager-post-types.php:195
878
  msgid "No %s found"
879
  msgstr ""
880
 
881
- #: includes/class-wp-job-manager-post-types.php:196
882
  msgid "No %s found in trash"
883
  msgstr ""
884
 
885
- #: includes/class-wp-job-manager-post-types.php:198
886
  msgid "Company Logo"
887
  msgstr ""
888
 
889
- #: includes/class-wp-job-manager-post-types.php:199
890
  msgid "Set company logo"
891
  msgstr ""
892
 
893
- #: includes/class-wp-job-manager-post-types.php:200
894
  msgid "Remove company logo"
895
  msgstr ""
896
 
897
- #: includes/class-wp-job-manager-post-types.php:201
898
  msgid "Use as company logo"
899
  msgstr ""
900
 
901
- #: includes/class-wp-job-manager-post-types.php:203
902
  msgid "This is where you can create and manage %s."
903
  msgstr ""
904
 
905
- #: includes/class-wp-job-manager-post-types.php:228
906
- #: wp-job-manager-functions.php:203
907
- msgctxt "post status"
908
- msgid "Expired"
909
- msgstr ""
910
-
911
- #: includes/class-wp-job-manager-post-types.php:234
912
  msgid "Expired <span class=\"count\">(%s)</span>"
913
  msgid_plural "Expired <span class=\"count\">(%s)</span>"
914
  msgstr[0] ""
915
  msgstr[1] ""
916
 
917
- #: includes/class-wp-job-manager-post-types.php:237
918
- #: wp-job-manager-functions.php:204
919
- msgctxt "post status"
920
- msgid "Preview"
921
- msgstr ""
922
-
923
- #: includes/class-wp-job-manager-post-types.php:242
924
  msgid "Preview <span class=\"count\">(%s)</span>"
925
  msgid_plural "Preview <span class=\"count\">(%s)</span>"
926
  msgstr[0] ""
927
  msgstr[1] ""
928
 
929
- #: includes/class-wp-job-manager-shortcodes.php:62
930
  msgid "Invalid ID"
931
  msgstr ""
932
 
933
- #: includes/class-wp-job-manager-shortcodes.php:69
934
  msgid "This position has already been filled"
935
  msgstr ""
936
 
937
- #: includes/class-wp-job-manager-shortcodes.php:75
938
  msgid "%s has been filled"
939
  msgstr ""
940
 
941
- #: includes/class-wp-job-manager-shortcodes.php:80
942
  msgid "This position is not filled"
943
  msgstr ""
944
 
945
- #: includes/class-wp-job-manager-shortcodes.php:87
946
  msgid "%s has been marked as not filled"
947
  msgstr ""
948
 
949
- #: includes/class-wp-job-manager-shortcodes.php:94
950
  msgid "%s has been deleted"
951
  msgstr ""
952
 
953
- #: includes/class-wp-job-manager-shortcodes.php:99
954
- #: includes/class-wp-job-manager-shortcodes.php:112
955
  msgid "Missing submission page."
956
  msgstr ""
957
 
958
- #: includes/class-wp-job-manager-shortcodes.php:180
959
- #: includes/class-wp-job-manager-widgets.php:155
960
- #: includes/class-wp-job-manager-widgets.php:260
961
  msgid "Title"
962
  msgstr ""
963
 
964
- #: includes/class-wp-job-manager-shortcodes.php:182
965
  msgid "Date Posted"
966
  msgstr ""
967
 
968
- #: includes/class-wp-job-manager-shortcodes.php:183
969
  msgid "Listing Expires"
970
  msgstr ""
971
 
972
- #: includes/class-wp-job-manager-shortcodes.php:278
973
- #: includes/class-wp-job-manager-shortcodes.php:312
974
  msgid "Load more listings"
975
  msgstr ""
976
 
977
- #: includes/class-wp-job-manager-widgets.php:148
978
  msgid ""
979
  "Display a list of recent listings on your site, optionally matching a "
980
  "keyword and location."
981
  msgstr ""
982
 
983
- #: includes/class-wp-job-manager-widgets.php:150
984
- #: includes/class-wp-job-manager-widgets.php:154
985
  msgid "Recent %s"
986
  msgstr ""
987
 
988
- #: includes/class-wp-job-manager-widgets.php:160
989
  msgid "Keyword"
990
  msgstr ""
991
 
992
- #: includes/class-wp-job-manager-widgets.php:173
993
- #: includes/class-wp-job-manager-widgets.php:268
994
  msgid "Number of listings to show"
995
  msgstr ""
996
 
997
- #: includes/class-wp-job-manager-widgets.php:253
998
  msgid "Display a list of featured listings on your site."
999
  msgstr ""
1000
 
1001
- #: includes/class-wp-job-manager-widgets.php:255
1002
- #: includes/class-wp-job-manager-widgets.php:259
1003
  msgid "Featured %s"
1004
  msgstr ""
1005
 
1006
- #: includes/forms/class-wp-job-manager-form-edit-job.php:51
1007
  msgid "Invalid listing"
1008
  msgstr ""
1009
 
1010
- #: includes/forms/class-wp-job-manager-form-edit-job.php:90
1011
  msgid "Save changes"
1012
  msgstr ""
1013
 
1014
- #: includes/forms/class-wp-job-manager-form-edit-job.php:119
1015
- #: includes/forms/class-wp-job-manager-form-edit-job.php:122
1016
  msgid "Your changes have been saved."
1017
  msgstr ""
1018
 
1019
- #: includes/forms/class-wp-job-manager-form-edit-job.php:119
1020
  msgid "View &rarr;"
1021
  msgstr ""
1022
 
1023
- #: includes/forms/class-wp-job-manager-form-submit-job.php:33
1024
  msgid "Submit Details"
1025
  msgstr ""
1026
 
1027
- #: includes/forms/class-wp-job-manager-form-submit-job.php:39
1028
- #: includes/forms/class-wp-job-manager-form-submit-job.php:382
1029
  #: templates/job-preview.php:5
1030
  msgid "Preview"
1031
  msgstr ""
1032
 
1033
- #: includes/forms/class-wp-job-manager-form-submit-job.php:45
1034
  msgid "Done"
1035
  msgstr ""
1036
 
1037
- #: includes/forms/class-wp-job-manager-form-submit-job.php:106
1038
  msgid "Application email"
1039
  msgstr ""
1040
 
1041
- #: includes/forms/class-wp-job-manager-form-submit-job.php:107
1042
  #: templates/account-signin.php:49
1043
  msgid "you@yourdomain.com"
1044
  msgstr ""
1045
 
1046
- #: includes/forms/class-wp-job-manager-form-submit-job.php:110
1047
  msgid "Application URL"
1048
  msgstr ""
1049
 
1050
- #: includes/forms/class-wp-job-manager-form-submit-job.php:111
1051
- #: includes/forms/class-wp-job-manager-form-submit-job.php:181
1052
  msgid "http://"
1053
  msgstr ""
1054
 
1055
- #: includes/forms/class-wp-job-manager-form-submit-job.php:114
1056
  msgid "Application email/URL"
1057
  msgstr ""
1058
 
1059
- #: includes/forms/class-wp-job-manager-form-submit-job.php:115
1060
  msgid "Enter an email address or website URL"
1061
  msgstr ""
1062
 
1063
- #: includes/forms/class-wp-job-manager-form-submit-job.php:122
1064
  msgid "Job Title"
1065
  msgstr ""
1066
 
1067
- #: includes/forms/class-wp-job-manager-form-submit-job.php:130
1068
  msgid "Leave this blank if the location is not important"
1069
  msgstr ""
1070
 
1071
- #: includes/forms/class-wp-job-manager-form-submit-job.php:155
1072
  msgid "Description"
1073
  msgstr ""
1074
 
1075
- #: includes/forms/class-wp-job-manager-form-submit-job.php:171
1076
  msgid "Company name"
1077
  msgstr ""
1078
 
1079
- #: includes/forms/class-wp-job-manager-form-submit-job.php:174
1080
  msgid "Enter the name of the company"
1081
  msgstr ""
1082
 
1083
- #: includes/forms/class-wp-job-manager-form-submit-job.php:178
1084
  #: templates/content-single-job_listing-company.php:19
1085
  msgid "Website"
1086
  msgstr ""
1087
 
1088
- #: includes/forms/class-wp-job-manager-form-submit-job.php:185
1089
  msgid "Tagline"
1090
  msgstr ""
1091
 
1092
- #: includes/forms/class-wp-job-manager-form-submit-job.php:188
1093
  msgid "Briefly describe your company"
1094
  msgstr ""
1095
 
1096
- #: includes/forms/class-wp-job-manager-form-submit-job.php:193
1097
  msgid "Video"
1098
  msgstr ""
1099
 
1100
- #: includes/forms/class-wp-job-manager-form-submit-job.php:196
1101
  msgid "A link to a video about your company"
1102
  msgstr ""
1103
 
1104
- #: includes/forms/class-wp-job-manager-form-submit-job.php:200
1105
  msgid "Twitter username"
1106
  msgstr ""
1107
 
1108
- #: includes/forms/class-wp-job-manager-form-submit-job.php:203
1109
  msgid "@yourcompany"
1110
  msgstr ""
1111
 
1112
- #: includes/forms/class-wp-job-manager-form-submit-job.php:207
1113
  msgid "Logo"
1114
  msgstr ""
1115
 
1116
- #: includes/forms/class-wp-job-manager-form-submit-job.php:238
1117
  msgid "%s is a required field"
1118
  msgstr ""
1119
 
1120
- #: includes/forms/class-wp-job-manager-form-submit-job.php:248
1121
  msgid "%s is invalid"
1122
  msgstr ""
1123
 
1124
- #: includes/forms/class-wp-job-manager-form-submit-job.php:264
1125
- #: wp-job-manager-functions.php:708
1126
  msgid "\"%s\" (filetype %s) needs to be one of the following file types: %s"
1127
  msgstr ""
1128
 
1129
- #: includes/forms/class-wp-job-manager-form-submit-job.php:279
1130
  msgid "Please enter a valid application email address"
1131
  msgstr ""
1132
 
1133
- #: includes/forms/class-wp-job-manager-form-submit-job.php:288
1134
  msgid "Please enter a valid application URL"
1135
  msgstr ""
1136
 
1137
- #: includes/forms/class-wp-job-manager-form-submit-job.php:298
1138
  msgid "Please enter a valid application email address or URL"
1139
  msgstr ""
1140
 
1141
- #: includes/forms/class-wp-job-manager-form-submit-job.php:413
1142
  msgid "Please enter a username."
1143
  msgstr ""
1144
 
1145
- #: includes/forms/class-wp-job-manager-form-submit-job.php:416
1146
  msgid "Please enter your email address."
1147
  msgstr ""
1148
 
1149
- #: includes/forms/class-wp-job-manager-form-submit-job.php:434
1150
  msgid "You must be signed in to post a new listing."
1151
  msgstr ""
1152
 
@@ -1198,10 +1202,6 @@ msgstr ""
1198
  msgid "Your email"
1199
  msgstr ""
1200
 
1201
- #: templates/content-job_listing.php:19
1202
- msgid "%s ago"
1203
- msgstr ""
1204
-
1205
  #: templates/content-no-jobs-found.php:2
1206
  msgid "There are no listings matching your search."
1207
  msgstr ""
@@ -1210,16 +1210,11 @@ msgstr ""
1210
  msgid "There are currently no vacancies."
1211
  msgstr ""
1212
 
1213
- #: templates/content-single-job_listing-meta.php:20
1214
- #: templates/content-summary-job_listing.php:14
1215
- msgid "Posted %s ago"
1216
- msgstr ""
1217
-
1218
- #: templates/content-single-job_listing-meta.php:23
1219
  msgid "This position has been filled"
1220
  msgstr ""
1221
 
1222
- #: templates/content-single-job_listing-meta.php:25
1223
  msgid "Applications have closed"
1224
  msgstr ""
1225
 
@@ -1232,12 +1227,12 @@ msgid "Maximum file size: %s."
1232
  msgstr ""
1233
 
1234
  #: templates/form-fields/multiselect-field.php:3
1235
- #: wp-job-manager-functions.php:539
1236
  msgid "No results match"
1237
  msgstr ""
1238
 
1239
  #: templates/form-fields/multiselect-field.php:3
1240
- #: wp-job-manager-functions.php:540
1241
  msgid "Select Some Options"
1242
  msgstr ""
1243
 
@@ -1248,8 +1243,8 @@ msgstr ""
1248
 
1249
  #: templates/job-application-email.php:1
1250
  msgid ""
1251
- "To apply for this job <strong>email your details to</strong> <a class="
1252
- "\"job_application_email\" href=\"mailto:%1$s%2$s\">%1$s</a>"
1253
  msgstr ""
1254
 
1255
  #: templates/job-application-email.php:4
@@ -1306,8 +1301,8 @@ msgstr ""
1306
 
1307
  #: templates/job-filters.php:44
1308
  msgid ""
1309
- "Your browser does not support JavaScript, or it is disabled. JavaScript must "
1310
- "be enabled in order to view listings."
1311
  msgstr ""
1312
 
1313
  #: templates/job-preview.php:3
@@ -1323,59 +1318,38 @@ msgid "Company Details"
1323
  msgstr ""
1324
 
1325
  #: templates/job-submitted.php:6
1326
- msgid ""
1327
- "%s listed successfully. To view your listing <a href=\"%s\">click here</a>."
1328
  msgstr ""
1329
 
1330
  #: templates/job-submitted.php:9
1331
  msgid "%s submitted successfully. Your listing will be visible once approved."
1332
  msgstr ""
1333
 
1334
- #: wp-job-manager-functions.php:202
1335
- msgctxt "post status"
1336
- msgid "Draft"
1337
- msgstr ""
1338
-
1339
- #: wp-job-manager-functions.php:205
1340
- msgctxt "post status"
1341
- msgid "Pending approval"
1342
- msgstr ""
1343
-
1344
- #: wp-job-manager-functions.php:206
1345
- msgctxt "post status"
1346
- msgid "Pending payment"
1347
- msgstr ""
1348
-
1349
- #: wp-job-manager-functions.php:207
1350
- msgctxt "post status"
1351
- msgid "Active"
1352
- msgstr ""
1353
-
1354
- #: wp-job-manager-functions.php:292
1355
  msgid "Reset"
1356
  msgstr ""
1357
 
1358
- #: wp-job-manager-functions.php:296
1359
  msgid "RSS"
1360
  msgstr ""
1361
 
1362
- #: wp-job-manager-functions.php:383
1363
  msgid "Invalid email address."
1364
  msgstr ""
1365
 
1366
- #: wp-job-manager-functions.php:391
1367
  msgid "Your email address isn&#8217;t correct."
1368
  msgstr ""
1369
 
1370
- #: wp-job-manager-functions.php:395
1371
  msgid "This email is already registered, please choose another one."
1372
  msgstr ""
1373
 
1374
- #: wp-job-manager-functions.php:538
1375
  msgid "Choose a category&hellip;"
1376
  msgstr ""
1377
 
1378
- #: wp-job-manager-functions.php:710
1379
  msgid "Uploaded files need to be one of the following file types: %s"
1380
  msgstr ""
1381
 
@@ -1387,7 +1361,15 @@ msgstr ""
1387
  msgid "Application via \"%s\" listing on %s"
1388
  msgstr ""
1389
 
1390
- #: wp-job-manager-template.php:285
 
 
 
 
 
 
 
 
1391
  msgid "Anywhere"
1392
  msgstr ""
1393
 
@@ -1407,9 +1389,6 @@ msgstr ""
1407
  msgid "WP Job Manager"
1408
  msgstr ""
1409
 
1410
- #. #-#-#-#-# WP-Job-Manager.pot (WP Job Manager 1.25.0) #-#-#-#-#
1411
- #. Plugin URI of the plugin/theme
1412
- #. #-#-#-#-# WP-Job-Manager.pot (WP Job Manager 1.25.0) #-#-#-#-#
1413
  #. Author URI of the plugin/theme
1414
  msgid "https://wpjobmanager.com/"
1415
  msgstr ""
@@ -1423,3 +1402,83 @@ msgstr ""
1423
  #. Author of the plugin/theme
1424
  msgid "Automattic"
1425
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2017 Automattic
2
+ # This file is distributed under the GPL2+.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WP Job Manager 1.25.3\n"
6
+ "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-job-manager\n"
7
+ "POT-Creation-Date: 2017-03-08 15:09:11+00:00\n"
8
  "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2017-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
+ "X-Generator: grunt-wp-i18n 0.5.4\n"
15
 
16
  #: includes/admin/class-wp-job-manager-addons.php:57
17
+ #: includes/admin/class-wp-job-manager-admin.php:66
18
  msgid "WP Job Manager Add-ons"
19
  msgstr ""
20
 
26
  msgid "Check out the core add-on bundle &rarr;"
27
  msgstr ""
28
 
29
+ #: includes/admin/class-wp-job-manager-admin.php:63
 
 
 
 
 
30
  msgid "Settings"
31
  msgstr ""
32
 
33
+ #: includes/admin/class-wp-job-manager-admin.php:66
34
  msgid "Add-ons"
35
  msgstr ""
36
 
97
 
98
  #: includes/admin/class-wp-job-manager-cpt.php:235
99
  msgid ""
100
+ "%s scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" "
101
+ "href=\"%2$s\">Preview</a>"
102
  msgstr ""
103
 
104
  #: includes/admin/class-wp-job-manager-cpt.php:236
115
 
116
  #: includes/admin/class-wp-job-manager-cpt.php:258
117
  #: includes/admin/class-wp-job-manager-writepanels.php:31
118
+ #: includes/class-wp-job-manager-widgets.php:212
119
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:163
120
  #: templates/job-filters.php:17 templates/job-filters.php:18
121
  msgid "Location"
122
  msgstr ""
143
  msgstr ""
144
 
145
  #: includes/admin/class-wp-job-manager-cpt.php:264
146
+ #: includes/class-wp-job-manager-shortcodes.php:187
147
  msgid "Filled?"
148
  msgstr ""
149
 
151
  msgid "Actions"
152
  msgstr ""
153
 
154
+ #: includes/admin/class-wp-job-manager-cpt.php:296
155
  msgid "ID: %d"
156
  msgstr ""
157
 
158
+ #: includes/admin/class-wp-job-manager-cpt.php:324
159
+ #: includes/admin/class-wp-job-manager-cpt.php:329
160
  msgid "M j, Y"
161
  msgstr ""
162
 
163
+ #: includes/admin/class-wp-job-manager-cpt.php:325
164
  msgid "by a guest"
165
  msgstr ""
166
 
167
+ #: includes/admin/class-wp-job-manager-cpt.php:325
168
  msgid "by %s"
169
  msgstr ""
170
 
171
+ #: includes/admin/class-wp-job-manager-cpt.php:343
172
  msgid "Approve"
173
  msgstr ""
174
 
175
+ #: includes/admin/class-wp-job-manager-cpt.php:351
176
+ #: includes/admin/class-wp-job-manager-writepanels.php:217
177
+ #: includes/admin/class-wp-job-manager-writepanels.php:220
178
+ #: includes/admin/class-wp-job-manager-writepanels.php:223
179
  msgid "View"
180
  msgstr ""
181
 
182
+ #: includes/admin/class-wp-job-manager-cpt.php:358
183
+ #: includes/class-wp-job-manager-post-types.php:193
184
  #: templates/job-dashboard.php:33 templates/job-dashboard.php:51
185
  msgid "Edit"
186
  msgstr ""
187
 
188
+ #: includes/admin/class-wp-job-manager-cpt.php:365
189
  #: templates/job-dashboard.php:56
190
  msgid "Delete"
191
  msgstr ""
192
 
193
  #: includes/admin/class-wp-job-manager-settings.php:42
194
+ #: includes/admin/class-wp-job-manager-writepanels.php:131
195
+ #: includes/class-wp-job-manager-post-types.php:189
196
+ #: includes/class-wp-job-manager-post-types.php:256
197
  msgid "Job Listings"
198
  msgstr ""
199
 
237
 
238
  #: includes/admin/class-wp-job-manager-settings.php:75
239
  msgid ""
240
+ "Choose whether to enable categories. Categories must be setup by an admin "
241
+ "to allow users to choose them during submission."
242
  msgstr ""
243
 
244
  #: includes/admin/class-wp-job-manager-settings.php:82
250
  msgstr ""
251
 
252
  #: includes/admin/class-wp-job-manager-settings.php:84
 
253
  msgid ""
254
  "If enabled, the category select box will default to a multiselect on the "
255
  "[jobs] shortcode."
259
  msgid "Category Filter Type"
260
  msgstr ""
261
 
262
+ #: includes/admin/class-wp-job-manager-settings.php:92
263
+ msgid ""
264
+ "Determines the logic used to display jobs when selecting multiple "
265
+ "categories."
266
+ msgstr ""
267
+
268
  #: includes/admin/class-wp-job-manager-settings.php:95
269
  msgid "Jobs will be shown if within ANY selected category"
270
  msgstr ""
274
  msgstr ""
275
 
276
  #: includes/admin/class-wp-job-manager-settings.php:102
277
+ msgid "Date Format"
278
+ msgstr ""
279
+
280
+ #: includes/admin/class-wp-job-manager-settings.php:103
281
+ msgid ""
282
+ "Choose how you want the published date for jobs to be displayed on the "
283
+ "front-end."
284
+ msgstr ""
285
+
286
+ #: includes/admin/class-wp-job-manager-settings.php:106
287
+ msgid "Relative to the current date (e.g., 1 day, 1 week, 1 month ago)"
288
  msgstr ""
289
 
290
  #: includes/admin/class-wp-job-manager-settings.php:107
291
+ msgid "Default date format as defined in Setttings"
292
+ msgstr ""
293
+
294
+ #: includes/admin/class-wp-job-manager-settings.php:113
295
+ msgid "Types"
296
+ msgstr ""
297
+
298
+ #: includes/admin/class-wp-job-manager-settings.php:114
299
+ msgid "Enable types for listings"
300
+ msgstr ""
301
+
302
+ #: includes/admin/class-wp-job-manager-settings.php:115
303
+ msgid ""
304
+ "Choose whether to enable types. Types must be setup by an admin to allow "
305
+ "users to choose them during submission."
306
+ msgstr ""
307
+
308
+ #: includes/admin/class-wp-job-manager-settings.php:122
309
+ msgid "Multi-select Listing Types"
310
+ msgstr ""
311
+
312
+ #: includes/admin/class-wp-job-manager-settings.php:123
313
+ msgid "Enable multiple types for listings"
314
+ msgstr ""
315
+
316
+ #: includes/admin/class-wp-job-manager-settings.php:124
317
+ msgid ""
318
+ "If enabled each job can have more than one type. The metabox on the post "
319
+ "editor and the select box on the frontend job submission form are changed "
320
+ "by this."
321
+ msgstr ""
322
+
323
+ #: includes/admin/class-wp-job-manager-settings.php:131
324
+ msgid "Job Submission"
325
+ msgstr ""
326
+
327
+ #: includes/admin/class-wp-job-manager-settings.php:136
328
  msgid "Account Required"
329
  msgstr ""
330
 
331
+ #: includes/admin/class-wp-job-manager-settings.php:137
332
  msgid "Submitting listings requires an account"
333
  msgstr ""
334
 
335
+ #: includes/admin/class-wp-job-manager-settings.php:138
336
  msgid ""
337
  "If disabled, non-logged in users will be able to submit listings without "
338
  "creating an account."
339
  msgstr ""
340
 
341
+ #: includes/admin/class-wp-job-manager-settings.php:145
342
  msgid "Account Creation"
343
  msgstr ""
344
 
345
+ #: includes/admin/class-wp-job-manager-settings.php:146
346
  msgid "Allow account creation"
347
  msgstr ""
348
 
349
+ #: includes/admin/class-wp-job-manager-settings.php:147
350
  msgid ""
351
  "If enabled, non-logged in users will be able to create an account by "
352
  "entering their email address on the submission form."
353
  msgstr ""
354
 
355
+ #: includes/admin/class-wp-job-manager-settings.php:154
356
  msgid "Account Username"
357
  msgstr ""
358
 
359
+ #: includes/admin/class-wp-job-manager-settings.php:155
360
  msgid "Automatically Generate Username from Email Address"
361
  msgstr ""
362
 
363
+ #: includes/admin/class-wp-job-manager-settings.php:156
364
  msgid ""
365
  "If enabled, a username will be generated from the first part of the user "
366
  "email address. Otherwise, a username field will be shown."
367
  msgstr ""
368
 
369
+ #: includes/admin/class-wp-job-manager-settings.php:163
370
  msgid "Account Role"
371
  msgstr ""
372
 
373
+ #: includes/admin/class-wp-job-manager-settings.php:164
374
  msgid ""
375
  "If you enable registration on your submission form, choose a role for the "
376
  "new user."
377
  msgstr ""
378
 
379
+ #: includes/admin/class-wp-job-manager-settings.php:171
380
  msgid "Moderate New Listings"
381
  msgstr ""
382
 
383
+ #: includes/admin/class-wp-job-manager-settings.php:172
384
  msgid "New listing submissions require admin approval"
385
  msgstr ""
386
 
387
+ #: includes/admin/class-wp-job-manager-settings.php:173
388
  msgid "If enabled, new submissions will be inactive, pending admin approval."
389
  msgstr ""
390
 
391
+ #: includes/admin/class-wp-job-manager-settings.php:180
392
  msgid "Allow Pending Edits"
393
  msgstr ""
394
 
395
+ #: includes/admin/class-wp-job-manager-settings.php:181
396
  msgid "Submissions awaiting approval can be edited"
397
  msgstr ""
398
 
399
+ #: includes/admin/class-wp-job-manager-settings.php:182
400
+ msgid "If enabled, submissions awaiting admin approval can be edited by the user."
 
401
  msgstr ""
402
 
403
+ #: includes/admin/class-wp-job-manager-settings.php:189
404
  msgid "Listing Duration"
405
  msgstr ""
406
 
407
+ #: includes/admin/class-wp-job-manager-settings.php:190
408
  msgid ""
409
  "How many <strong>days</strong> listings are live before expiring. Can be "
410
  "left blank to never expire."
411
  msgstr ""
412
 
413
+ #: includes/admin/class-wp-job-manager-settings.php:196
414
  msgid "Application Method"
415
  msgstr ""
416
 
417
+ #: includes/admin/class-wp-job-manager-settings.php:197
418
  msgid "Choose the contact method for listings."
419
  msgstr ""
420
 
421
+ #: includes/admin/class-wp-job-manager-settings.php:200
422
  msgid "Email address or website URL"
423
  msgstr ""
424
 
425
+ #: includes/admin/class-wp-job-manager-settings.php:201
426
  msgid "Email addresses only"
427
  msgstr ""
428
 
429
+ #: includes/admin/class-wp-job-manager-settings.php:202
430
  msgid "Website URLs only"
431
  msgstr ""
432
 
433
+ #: includes/admin/class-wp-job-manager-settings.php:208
434
  msgid "Pages"
435
  msgstr ""
436
 
437
+ #: includes/admin/class-wp-job-manager-settings.php:213
438
  msgid "Submit Job Form Page"
439
  msgstr ""
440
 
441
+ #: includes/admin/class-wp-job-manager-settings.php:214
442
  msgid ""
443
  "Select the page where you have placed the [submit_job_form] shortcode. This "
444
  "lets the plugin know where the form is located."
445
  msgstr ""
446
 
447
+ #: includes/admin/class-wp-job-manager-settings.php:220
448
  msgid "Job Dashboard Page"
449
  msgstr ""
450
 
451
+ #: includes/admin/class-wp-job-manager-settings.php:221
452
  msgid ""
453
  "Select the page where you have placed the [job_dashboard] shortcode. This "
454
  "lets the plugin know where the dashboard is located."
455
  msgstr ""
456
 
457
+ #: includes/admin/class-wp-job-manager-settings.php:227
458
  msgid "Job Listings Page"
459
  msgstr ""
460
 
461
+ #: includes/admin/class-wp-job-manager-settings.php:228
462
  msgid ""
463
  "Select the page where you have placed the [jobs] shortcode. This lets the "
464
  "plugin know where the job listings page is located."
465
  msgstr ""
466
 
467
+ #: includes/admin/class-wp-job-manager-settings.php:280
468
  msgid "Settings successfully saved"
469
  msgstr ""
470
 
471
+ #: includes/admin/class-wp-job-manager-settings.php:340
472
  msgid "--no page--"
473
  msgstr ""
474
 
475
+ #: includes/admin/class-wp-job-manager-settings.php:345
476
  msgid "Select a page&hellip;"
477
  msgstr ""
478
 
479
+ #: includes/admin/class-wp-job-manager-settings.php:391
480
  msgid "Save Changes"
481
  msgstr ""
482
 
483
+ #: includes/admin/class-wp-job-manager-setup.php:32
484
  msgid "Setup"
485
  msgstr ""
486
 
487
+ #: includes/admin/class-wp-job-manager-setup.php:131
488
  msgid "WP Job Manager Setup"
489
  msgstr ""
490
 
491
+ #: includes/admin/class-wp-job-manager-setup.php:134
492
  msgid "1. Introduction"
493
  msgstr ""
494
 
495
+ #: includes/admin/class-wp-job-manager-setup.php:135
496
  msgid "2. Page Setup"
497
  msgstr ""
498
 
499
+ #: includes/admin/class-wp-job-manager-setup.php:136
500
  msgid "3. Done"
501
  msgstr ""
502
 
503
+ #: includes/admin/class-wp-job-manager-setup.php:141
504
  msgid "Setup Wizard Introduction"
505
  msgstr ""
506
 
507
+ #: includes/admin/class-wp-job-manager-setup.php:143
508
  msgid "Thanks for installing <em>WP Job Manager</em>!"
509
  msgstr ""
510
 
511
+ #: includes/admin/class-wp-job-manager-setup.php:144
512
  msgid ""
513
  "This setup wizard will help you get started by creating the pages for job "
514
  "submission, job management, and listing your jobs."
515
  msgstr ""
516
 
517
+ #: includes/admin/class-wp-job-manager-setup.php:145
518
  msgid ""
519
  "If you want to skip the wizard and setup the pages and shortcodes yourself "
520
  "manually, the process is still relatively simple. Refer to the "
521
  "%sdocumentation%s for help."
522
  msgstr ""
523
 
524
+ #: includes/admin/class-wp-job-manager-setup.php:148
525
  msgid "Continue to page setup"
526
  msgstr ""
527
 
528
+ #: includes/admin/class-wp-job-manager-setup.php:149
529
  msgid "Skip setup. I will setup the plugin manually"
530
  msgstr ""
531
 
532
+ #: includes/admin/class-wp-job-manager-setup.php:155
533
  msgid "Page Setup"
534
  msgstr ""
535
 
536
+ #: includes/admin/class-wp-job-manager-setup.php:157
537
  msgid ""
538
+ "<em>WP Job Manager</em> includes %1$sshortcodes%2$s which can be used "
539
+ "within your %3$spages%2$s to output content. These can be created for you "
540
+ "below. For more information on the job shortcodes view the %4$sshortcode "
541
  "documentation%2$s."
542
  msgstr ""
543
 
544
+ #: includes/admin/class-wp-job-manager-setup.php:165
545
  msgid "Page Title"
546
  msgstr ""
547
 
548
+ #: includes/admin/class-wp-job-manager-setup.php:166
549
  msgid "Page Description"
550
  msgstr ""
551
 
552
+ #: includes/admin/class-wp-job-manager-setup.php:167
553
  msgid "Content Shortcode"
554
  msgstr ""
555
 
556
+ #: includes/admin/class-wp-job-manager-setup.php:175
557
+ msgid "This page allows employers to post jobs to your website from the front-end."
 
558
  msgstr ""
559
 
560
+ #: includes/admin/class-wp-job-manager-setup.php:177
561
  msgid ""
562
+ "If you do not want to accept submissions from users in this way (for "
563
+ "example you just want to post jobs from the admin dashboard) you can skip "
564
+ "creating this page."
 
 
 
 
 
 
 
 
 
 
565
  msgstr ""
566
 
567
+ #: includes/admin/class-wp-job-manager-setup.php:185
568
  msgid ""
569
+ "This page allows employers to manage and edit their own jobs from the "
570
+ "front-end."
571
  msgstr ""
572
 
573
+ #: includes/admin/class-wp-job-manager-setup.php:187
574
  msgid ""
575
  "If you plan on managing all listings from the admin dashboard you can skip "
576
  "creating this page."
577
  msgstr ""
578
 
579
+ #: includes/admin/class-wp-job-manager-setup.php:194
 
 
 
 
 
580
  msgid ""
581
  "This page allows users to browse, search, and filter job listings on the "
582
  "front-end of your site."
583
  msgstr ""
584
 
585
+ #: includes/admin/class-wp-job-manager-setup.php:202
586
  msgid "Skip this step"
587
  msgstr ""
588
 
589
+ #: includes/admin/class-wp-job-manager-setup.php:212
590
  msgid "All Done!"
591
  msgstr ""
592
 
593
+ #: includes/admin/class-wp-job-manager-setup.php:214
594
  msgid ""
595
  "Looks like you're all set to start using the plugin. In case you're "
596
  "wondering where to go next:"
597
  msgstr ""
598
 
599
+ #: includes/admin/class-wp-job-manager-setup.php:217
600
  msgid "Tweak the plugin settings"
601
  msgstr ""
602
 
603
+ #: includes/admin/class-wp-job-manager-setup.php:218
604
  msgid "Add a job via the back-end"
605
  msgstr ""
606
 
607
+ #: includes/admin/class-wp-job-manager-setup.php:221
608
  msgid "Add a job via the front-end"
609
  msgstr ""
610
 
611
+ #: includes/admin/class-wp-job-manager-setup.php:223
612
  msgid "Find out more about the front-end job submission form"
613
  msgstr ""
614
 
615
+ #: includes/admin/class-wp-job-manager-setup.php:227
616
  msgid "View submitted job listings"
617
  msgstr ""
618
 
619
+ #: includes/admin/class-wp-job-manager-setup.php:229
620
  msgid "Add the [jobs] shortcode to a page to list jobs"
621
  msgstr ""
622
 
623
+ #: includes/admin/class-wp-job-manager-setup.php:233
624
  msgid "View the job dashboard"
625
  msgstr ""
626
 
627
+ #: includes/admin/class-wp-job-manager-setup.php:235
628
  msgid "Find out more about the front-end job dashboard"
629
  msgstr ""
630
 
631
+ #: includes/admin/class-wp-job-manager-setup.php:239
632
  msgid ""
633
  "And don't forget, if you need any more help using <em>WP Job Manager</em> "
634
  "you can consult the %1$sdocumentation%2$s or %3$spost on the forums%2$s!"
635
  msgstr ""
636
 
637
+ #: includes/admin/class-wp-job-manager-setup.php:242
638
  msgid "Support the Ongoing Development of this Plugin"
639
  msgstr ""
640
 
641
+ #: includes/admin/class-wp-job-manager-setup.php:243
642
  msgid ""
643
  "There are many ways to support open-source projects such as WP Job Manager, "
644
+ "for example code contribution, translation, or even telling your friends "
645
+ "how awesome the plugin (hopefully) is. Thanks in advance for your support - "
646
+ "it is much appreciated!"
647
  msgstr ""
648
 
649
+ #: includes/admin/class-wp-job-manager-setup.php:245
650
  msgid "Leave a positive review"
651
  msgstr ""
652
 
653
+ #: includes/admin/class-wp-job-manager-setup.php:246
654
  msgid "Contribute a localization"
655
  msgstr ""
656
 
657
+ #: includes/admin/class-wp-job-manager-setup.php:247
658
  msgid "Contribute code or report a bug"
659
  msgstr ""
660
 
661
+ #: includes/admin/class-wp-job-manager-setup.php:248
662
  msgid "Help other users on the forums"
663
  msgstr ""
664
 
665
  #: includes/admin/class-wp-job-manager-writepanels.php:32
666
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:167
667
  msgid "e.g. \"London\""
668
  msgstr ""
669
 
735
  msgid "Listing Expiry Date"
736
  msgstr ""
737
 
738
+ #: includes/admin/class-wp-job-manager-writepanels.php:94
 
 
 
 
 
739
  msgid "Posted by"
740
  msgstr ""
741
 
742
+ #: includes/admin/class-wp-job-manager-writepanels.php:126
743
  msgid "%s Data"
744
  msgstr ""
745
 
 
 
746
  #: includes/admin/class-wp-job-manager-writepanels.php:160
747
+ msgid "Most Used"
748
+ msgstr ""
749
+
750
+ #: includes/admin/class-wp-job-manager-writepanels.php:217
751
+ #: includes/admin/class-wp-job-manager-writepanels.php:220
752
+ #: includes/admin/class-wp-job-manager-writepanels.php:223
753
  msgid "Use file"
754
  msgstr ""
755
 
756
+ #: includes/admin/class-wp-job-manager-writepanels.php:217
757
+ #: includes/admin/class-wp-job-manager-writepanels.php:220
758
+ #: includes/admin/class-wp-job-manager-writepanels.php:223
759
  msgid "Upload"
760
  msgstr ""
761
 
762
+ #: includes/admin/class-wp-job-manager-writepanels.php:223
763
  msgid "Add file"
764
  msgstr ""
765
 
766
+ #: includes/admin/class-wp-job-manager-writepanels.php:396
767
  msgid "Guest User"
768
  msgstr ""
769
 
770
+ #: includes/admin/class-wp-job-manager-writepanels.php:398
771
  msgid "Change"
772
  msgstr ""
773
 
774
+ #: includes/admin/class-wp-job-manager-writepanels.php:402
775
  msgid "Enter the ID of the user, or leave blank if submitted by a guest."
776
  msgstr ""
777
 
779
  msgid "located in &ldquo;%s&rdquo;"
780
  msgstr ""
781
 
782
+ #: includes/class-wp-job-manager-ajax.php:189
783
+ msgid "Search completed. Found %d matching record."
784
+ msgid_plural "Search completed. Found %d matching records."
785
+ msgstr[0] ""
786
+ msgstr[1] ""
787
 
788
  #: includes/class-wp-job-manager-geocode.php:141
789
  msgid "No results found"
804
  msgstr ""
805
 
806
  #: includes/class-wp-job-manager-post-types.php:69
807
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:180
808
  msgid "Job category"
809
  msgstr ""
810
 
812
  msgid "Job categories"
813
  msgstr ""
814
 
 
 
 
 
 
815
  #: includes/class-wp-job-manager-post-types.php:94
816
+ #: includes/class-wp-job-manager-post-types.php:142
817
+ #: includes/class-wp-job-manager-post-types.php:198
818
  msgid "Search %s"
819
  msgstr ""
820
 
821
  #: includes/class-wp-job-manager-post-types.php:95
822
+ #: includes/class-wp-job-manager-post-types.php:143
823
+ #: includes/class-wp-job-manager-post-types.php:190
824
  msgid "All %s"
825
  msgstr ""
826
 
827
  #: includes/class-wp-job-manager-post-types.php:96
828
+ #: includes/class-wp-job-manager-post-types.php:144
829
+ #: includes/class-wp-job-manager-post-types.php:201
830
  msgid "Parent %s"
831
  msgstr ""
832
 
833
  #: includes/class-wp-job-manager-post-types.php:97
834
+ #: includes/class-wp-job-manager-post-types.php:145
835
  msgid "Parent %s:"
836
  msgstr ""
837
 
838
  #: includes/class-wp-job-manager-post-types.php:98
839
+ #: includes/class-wp-job-manager-post-types.php:146
840
+ #: includes/class-wp-job-manager-post-types.php:194
841
  msgid "Edit %s"
842
  msgstr ""
843
 
844
  #: includes/class-wp-job-manager-post-types.php:99
845
+ #: includes/class-wp-job-manager-post-types.php:147
846
  msgid "Update %s"
847
  msgstr ""
848
 
849
  #: includes/class-wp-job-manager-post-types.php:100
850
+ #: includes/class-wp-job-manager-post-types.php:148
851
  msgid "Add New %s"
852
  msgstr ""
853
 
854
  #: includes/class-wp-job-manager-post-types.php:101
855
+ #: includes/class-wp-job-manager-post-types.php:149
856
  msgid "New %s Name"
857
  msgstr ""
858
 
859
+ #: includes/class-wp-job-manager-post-types.php:118
860
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:171
861
  msgid "Job type"
862
  msgstr ""
863
 
864
+ #: includes/class-wp-job-manager-post-types.php:119
865
  msgid "Job types"
866
  msgstr ""
867
 
868
+ #: includes/class-wp-job-manager-post-types.php:168
 
 
 
 
 
869
  msgid "Job"
870
  msgstr ""
871
 
872
+ #: includes/class-wp-job-manager-post-types.php:169
873
  msgid "Jobs"
874
  msgstr ""
875
 
876
+ #: includes/class-wp-job-manager-post-types.php:191
 
 
 
 
 
 
 
 
 
 
877
  msgid "Add New"
878
  msgstr ""
879
 
880
+ #: includes/class-wp-job-manager-post-types.php:192
881
  msgid "Add %s"
882
  msgstr ""
883
 
884
+ #: includes/class-wp-job-manager-post-types.php:195
885
  msgid "New %s"
886
  msgstr ""
887
 
888
+ #: includes/class-wp-job-manager-post-types.php:196
889
+ #: includes/class-wp-job-manager-post-types.php:197
890
  msgid "View %s"
891
  msgstr ""
892
 
893
+ #: includes/class-wp-job-manager-post-types.php:199
894
  msgid "No %s found"
895
  msgstr ""
896
 
897
+ #: includes/class-wp-job-manager-post-types.php:200
898
  msgid "No %s found in trash"
899
  msgstr ""
900
 
901
+ #: includes/class-wp-job-manager-post-types.php:202
902
  msgid "Company Logo"
903
  msgstr ""
904
 
905
+ #: includes/class-wp-job-manager-post-types.php:203
906
  msgid "Set company logo"
907
  msgstr ""
908
 
909
+ #: includes/class-wp-job-manager-post-types.php:204
910
  msgid "Remove company logo"
911
  msgstr ""
912
 
913
+ #: includes/class-wp-job-manager-post-types.php:205
914
  msgid "Use as company logo"
915
  msgstr ""
916
 
917
+ #: includes/class-wp-job-manager-post-types.php:207
918
  msgid "This is where you can create and manage %s."
919
  msgstr ""
920
 
921
+ #: includes/class-wp-job-manager-post-types.php:238
 
 
 
 
 
 
922
  msgid "Expired <span class=\"count\">(%s)</span>"
923
  msgid_plural "Expired <span class=\"count\">(%s)</span>"
924
  msgstr[0] ""
925
  msgstr[1] ""
926
 
927
+ #: includes/class-wp-job-manager-post-types.php:246
 
 
 
 
 
 
928
  msgid "Preview <span class=\"count\">(%s)</span>"
929
  msgid_plural "Preview <span class=\"count\">(%s)</span>"
930
  msgstr[0] ""
931
  msgstr[1] ""
932
 
933
+ #: includes/class-wp-job-manager-shortcodes.php:68
934
  msgid "Invalid ID"
935
  msgstr ""
936
 
937
+ #: includes/class-wp-job-manager-shortcodes.php:75
938
  msgid "This position has already been filled"
939
  msgstr ""
940
 
941
+ #: includes/class-wp-job-manager-shortcodes.php:81
942
  msgid "%s has been filled"
943
  msgstr ""
944
 
945
+ #: includes/class-wp-job-manager-shortcodes.php:86
946
  msgid "This position is not filled"
947
  msgstr ""
948
 
949
+ #: includes/class-wp-job-manager-shortcodes.php:93
950
  msgid "%s has been marked as not filled"
951
  msgstr ""
952
 
953
+ #: includes/class-wp-job-manager-shortcodes.php:100
954
  msgid "%s has been deleted"
955
  msgstr ""
956
 
957
+ #: includes/class-wp-job-manager-shortcodes.php:105
958
+ #: includes/class-wp-job-manager-shortcodes.php:118
959
  msgid "Missing submission page."
960
  msgstr ""
961
 
962
+ #: includes/class-wp-job-manager-shortcodes.php:186
963
+ #: includes/class-wp-job-manager-widgets.php:202
964
+ #: includes/class-wp-job-manager-widgets.php:307
965
  msgid "Title"
966
  msgstr ""
967
 
968
+ #: includes/class-wp-job-manager-shortcodes.php:188
969
  msgid "Date Posted"
970
  msgstr ""
971
 
972
+ #: includes/class-wp-job-manager-shortcodes.php:189
973
  msgid "Listing Expires"
974
  msgstr ""
975
 
976
+ #: includes/class-wp-job-manager-shortcodes.php:284
977
+ #: includes/class-wp-job-manager-shortcodes.php:318
978
  msgid "Load more listings"
979
  msgstr ""
980
 
981
+ #: includes/class-wp-job-manager-widgets.php:195
982
  msgid ""
983
  "Display a list of recent listings on your site, optionally matching a "
984
  "keyword and location."
985
  msgstr ""
986
 
987
+ #: includes/class-wp-job-manager-widgets.php:197
988
+ #: includes/class-wp-job-manager-widgets.php:201
989
  msgid "Recent %s"
990
  msgstr ""
991
 
992
+ #: includes/class-wp-job-manager-widgets.php:207
993
  msgid "Keyword"
994
  msgstr ""
995
 
996
+ #: includes/class-wp-job-manager-widgets.php:220
997
+ #: includes/class-wp-job-manager-widgets.php:315
998
  msgid "Number of listings to show"
999
  msgstr ""
1000
 
1001
+ #: includes/class-wp-job-manager-widgets.php:300
1002
  msgid "Display a list of featured listings on your site."
1003
  msgstr ""
1004
 
1005
+ #: includes/class-wp-job-manager-widgets.php:302
1006
+ #: includes/class-wp-job-manager-widgets.php:306
1007
  msgid "Featured %s"
1008
  msgstr ""
1009
 
1010
+ #: includes/forms/class-wp-job-manager-form-edit-job.php:62
1011
  msgid "Invalid listing"
1012
  msgstr ""
1013
 
1014
+ #: includes/forms/class-wp-job-manager-form-edit-job.php:101
1015
  msgid "Save changes"
1016
  msgstr ""
1017
 
1018
+ #: includes/forms/class-wp-job-manager-form-edit-job.php:130
1019
+ #: includes/forms/class-wp-job-manager-form-edit-job.php:133
1020
  msgid "Your changes have been saved."
1021
  msgstr ""
1022
 
1023
+ #: includes/forms/class-wp-job-manager-form-edit-job.php:130
1024
  msgid "View &rarr;"
1025
  msgstr ""
1026
 
1027
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:58
1028
  msgid "Submit Details"
1029
  msgstr ""
1030
 
1031
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:64
1032
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:419
1033
  #: templates/job-preview.php:5
1034
  msgid "Preview"
1035
  msgstr ""
1036
 
1037
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:70
1038
  msgid "Done"
1039
  msgstr ""
1040
 
1041
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:135
1042
  msgid "Application email"
1043
  msgstr ""
1044
 
1045
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:136
1046
  #: templates/account-signin.php:49
1047
  msgid "you@yourdomain.com"
1048
  msgstr ""
1049
 
1050
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:139
1051
  msgid "Application URL"
1052
  msgstr ""
1053
 
1054
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:140
1055
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:215
1056
  msgid "http://"
1057
  msgstr ""
1058
 
1059
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:143
1060
  msgid "Application email/URL"
1061
  msgstr ""
1062
 
1063
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:144
1064
  msgid "Enter an email address or website URL"
1065
  msgstr ""
1066
 
1067
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:156
1068
  msgid "Job Title"
1069
  msgstr ""
1070
 
1071
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:164
1072
  msgid "Leave this blank if the location is not important"
1073
  msgstr ""
1074
 
1075
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:189
1076
  msgid "Description"
1077
  msgstr ""
1078
 
1079
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:205
1080
  msgid "Company name"
1081
  msgstr ""
1082
 
1083
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:208
1084
  msgid "Enter the name of the company"
1085
  msgstr ""
1086
 
1087
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:212
1088
  #: templates/content-single-job_listing-company.php:19
1089
  msgid "Website"
1090
  msgstr ""
1091
 
1092
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:219
1093
  msgid "Tagline"
1094
  msgstr ""
1095
 
1096
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:222
1097
  msgid "Briefly describe your company"
1098
  msgstr ""
1099
 
1100
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:227
1101
  msgid "Video"
1102
  msgstr ""
1103
 
1104
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:230
1105
  msgid "A link to a video about your company"
1106
  msgstr ""
1107
 
1108
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:234
1109
  msgid "Twitter username"
1110
  msgstr ""
1111
 
1112
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:237
1113
  msgid "@yourcompany"
1114
  msgstr ""
1115
 
1116
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:241
1117
  msgid "Logo"
1118
  msgstr ""
1119
 
1120
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:275
1121
  msgid "%s is a required field"
1122
  msgstr ""
1123
 
1124
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:285
1125
  msgid "%s is invalid"
1126
  msgstr ""
1127
 
1128
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:301
1129
+ #: wp-job-manager-functions.php:777
1130
  msgid "\"%s\" (filetype %s) needs to be one of the following file types: %s"
1131
  msgstr ""
1132
 
1133
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:316
1134
  msgid "Please enter a valid application email address"
1135
  msgstr ""
1136
 
1137
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:325
1138
  msgid "Please enter a valid application URL"
1139
  msgstr ""
1140
 
1141
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:335
1142
  msgid "Please enter a valid application email address or URL"
1143
  msgstr ""
1144
 
1145
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:450
1146
  msgid "Please enter a username."
1147
  msgstr ""
1148
 
1149
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:453
1150
  msgid "Please enter your email address."
1151
  msgstr ""
1152
 
1153
+ #: includes/forms/class-wp-job-manager-form-submit-job.php:471
1154
  msgid "You must be signed in to post a new listing."
1155
  msgstr ""
1156
 
1202
  msgid "Your email"
1203
  msgstr ""
1204
 
 
 
 
 
1205
  #: templates/content-no-jobs-found.php:2
1206
  msgid "There are no listings matching your search."
1207
  msgstr ""
1210
  msgid "There are currently no vacancies."
1211
  msgstr ""
1212
 
1213
+ #: templates/content-single-job_listing-meta.php:25
 
 
 
 
 
1214
  msgid "This position has been filled"
1215
  msgstr ""
1216
 
1217
+ #: templates/content-single-job_listing-meta.php:27
1218
  msgid "Applications have closed"
1219
  msgstr ""
1220
 
1227
  msgstr ""
1228
 
1229
  #: templates/form-fields/multiselect-field.php:3
1230
+ #: wp-job-manager-functions.php:578
1231
  msgid "No results match"
1232
  msgstr ""
1233
 
1234
  #: templates/form-fields/multiselect-field.php:3
1235
+ #: wp-job-manager-functions.php:579
1236
  msgid "Select Some Options"
1237
  msgstr ""
1238
 
1243
 
1244
  #: templates/job-application-email.php:1
1245
  msgid ""
1246
+ "To apply for this job <strong>email your details to</strong> <a "
1247
+ "class=\"job_application_email\" href=\"mailto:%1$s%2$s\">%1$s</a>"
1248
  msgstr ""
1249
 
1250
  #: templates/job-application-email.php:4
1301
 
1302
  #: templates/job-filters.php:44
1303
  msgid ""
1304
+ "Your browser does not support JavaScript, or it is disabled. JavaScript "
1305
+ "must be enabled in order to view listings."
1306
  msgstr ""
1307
 
1308
  #: templates/job-preview.php:3
1318
  msgstr ""
1319
 
1320
  #: templates/job-submitted.php:6
1321
+ msgid "%s listed successfully. To view your listing <a href=\"%s\">click here</a>."
 
1322
  msgstr ""
1323
 
1324
  #: templates/job-submitted.php:9
1325
  msgid "%s submitted successfully. Your listing will be visible once approved."
1326
  msgstr ""
1327
 
1328
+ #: wp-job-manager-functions.php:322
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1329
  msgid "Reset"
1330
  msgstr ""
1331
 
1332
+ #: wp-job-manager-functions.php:326
1333
  msgid "RSS"
1334
  msgstr ""
1335
 
1336
+ #: wp-job-manager-functions.php:413
1337
  msgid "Invalid email address."
1338
  msgstr ""
1339
 
1340
+ #: wp-job-manager-functions.php:421
1341
  msgid "Your email address isn&#8217;t correct."
1342
  msgstr ""
1343
 
1344
+ #: wp-job-manager-functions.php:425
1345
  msgid "This email is already registered, please choose another one."
1346
  msgstr ""
1347
 
1348
+ #: wp-job-manager-functions.php:577
1349
  msgid "Choose a category&hellip;"
1350
  msgstr ""
1351
 
1352
+ #: wp-job-manager-functions.php:779
1353
  msgid "Uploaded files need to be one of the following file types: %s"
1354
  msgstr ""
1355
 
1361
  msgid "Application via \"%s\" listing on %s"
1362
  msgstr ""
1363
 
1364
+ #: wp-job-manager-template.php:281
1365
+ msgid "Posted on "
1366
+ msgstr ""
1367
+
1368
+ #: wp-job-manager-template.php:283 wp-job-manager-template.php:301
1369
+ msgid "Posted %s ago"
1370
+ msgstr ""
1371
+
1372
+ #: wp-job-manager-template.php:322
1373
  msgid "Anywhere"
1374
  msgstr ""
1375
 
1389
  msgid "WP Job Manager"
1390
  msgstr ""
1391
 
 
 
 
1392
  #. Author URI of the plugin/theme
1393
  msgid "https://wpjobmanager.com/"
1394
  msgstr ""
1402
  #. Author of the plugin/theme
1403
  msgid "Automattic"
1404
  msgstr ""
1405
+
1406
+ #: includes/admin/class-wp-job-manager-admin.php:49
1407
+ #. translators: jQuery date format, see
1408
+ #. http:api.jqueryui.com/datepicker/#utility-formatDate
1409
+ msgctxt "Date format for jQuery datepicker."
1410
+ msgid "yy-mm-dd"
1411
+ msgstr ""
1412
+
1413
+ #: includes/admin/class-wp-job-manager-setup.php:173
1414
+ msgctxt "Default page title (wizard)"
1415
+ msgid "Post a Job"
1416
+ msgstr ""
1417
+
1418
+ #: includes/admin/class-wp-job-manager-setup.php:183
1419
+ msgctxt "Default page title (wizard)"
1420
+ msgid "Job Dashboard"
1421
+ msgstr ""
1422
+
1423
+ #: includes/admin/class-wp-job-manager-setup.php:193
1424
+ msgctxt "Default page title (wizard)"
1425
+ msgid "Jobs"
1426
+ msgstr ""
1427
+
1428
+ #: includes/admin/class-wp-job-manager-writepanels.php:88
1429
+ #. translators: date format placeholder, see https:secure.php.net/date
1430
+ msgctxt "Date format placeholder."
1431
+ msgid "yyyy-mm-dd"
1432
+ msgstr ""
1433
+
1434
+ #: includes/class-wp-job-manager-post-types.php:74
1435
+ msgctxt "Job category slug - resave permalinks after changing this"
1436
+ msgid "job-category"
1437
+ msgstr ""
1438
+
1439
+ #: includes/class-wp-job-manager-post-types.php:123
1440
+ msgctxt "Job type slug - resave permalinks after changing this"
1441
+ msgid "job-type"
1442
+ msgstr ""
1443
+
1444
+ #: includes/class-wp-job-manager-post-types.php:172
1445
+ msgctxt "Post type archive slug - resave permalinks after changing this"
1446
+ msgid "jobs"
1447
+ msgstr ""
1448
+
1449
+ #: includes/class-wp-job-manager-post-types.php:178
1450
+ msgctxt "Job permalink - resave permalinks after changing this"
1451
+ msgid "job"
1452
+ msgstr ""
1453
+
1454
+ #: includes/class-wp-job-manager-post-types.php:232
1455
+ #: wp-job-manager-functions.php:222
1456
+ msgctxt "post status"
1457
+ msgid "Expired"
1458
+ msgstr ""
1459
+
1460
+ #: includes/class-wp-job-manager-post-types.php:241
1461
+ #: wp-job-manager-functions.php:223
1462
+ msgctxt "post status"
1463
+ msgid "Preview"
1464
+ msgstr ""
1465
+
1466
+ #: wp-job-manager-functions.php:221
1467
+ msgctxt "post status"
1468
+ msgid "Draft"
1469
+ msgstr ""
1470
+
1471
+ #: wp-job-manager-functions.php:224
1472
+ msgctxt "post status"
1473
+ msgid "Pending approval"
1474
+ msgstr ""
1475
+
1476
+ #: wp-job-manager-functions.php:225
1477
+ msgctxt "post status"
1478
+ msgid "Pending payment"
1479
+ msgstr ""
1480
+
1481
+ #: wp-job-manager-functions.php:226
1482
+ msgctxt "post status"
1483
+ msgid "Active"
1484
+ msgstr ""
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: mikejolley, automattic, adamkheckler, annezazu, artemitos, bikedorkjon, cena, chaselivingston, csonnek, davor.altman, drawmyface, erania-pinnera, jacobshere, jeherve, jenhooks, jgs, 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.1
5
- Tested up to: 4.6.1
6
- Stable tag: 1.25.2
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -141,6 +141,17 @@ You can view (and contribute) translations via the [translate.wordpress.org](htt
141
 
142
  == Changelog ==
143
 
 
 
 
 
 
 
 
 
 
 
 
144
  = 1.25.2 =
145
  * Fix - The date format of the expiry date picker was incorrect in translations so we added a comment to clarify, and fixed translations. (https://github.com/Automattic/WP-Job-Manager/issues/697)
146
  * Fix - Changing the date of an expired job would forget the date, even though the job would become active. (https://github.com/Automattic/WP-Job-Manager/issues/653)
@@ -159,5 +170,5 @@ See additional changelog items in changelog.txt
159
 
160
  == Upgrade Notice ==
161
 
162
- = 1.25.2 =
163
- Lots of bugs fixed.
2
  Contributors: mikejolley, automattic, adamkheckler, annezazu, artemitos, bikedorkjon, cena, chaselivingston, csonnek, davor.altman, drawmyface, erania-pinnera, jacobshere, jeherve, jenhooks, jgs, 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.1
5
+ Tested up to: 4.7
6
+ Stable tag: 1.25.3
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
141
 
142
  == Changelog ==
143
 
144
+ = 1.25.3 =
145
+ * Enhancement: Allow job types to be optional, just like categories. https://github.com/automattic/wp-job-manager/pull/789 Props Donncha.
146
+ * Enhancement: Add get_job_listing_types filter. https://github.com/automattic/wp-job-manager/pull/824 Props Adam Heckler.
147
+ * Enhancement: Various date format setting improvements. See https://github.com/automattic/wp-job-manager/pull/757 Props Christian Nolen.
148
+ * Enhancement: Pass search values with the job_manager_get_listings_custom_filter_text filter. https://github.com/automattic/wp-job-manager/pull/845 Props Kraft.
149
+ * Fix: Prevent a potential CSRF vector. https://github.com/automattic/wp-job-manager/pull/891 Props Jay Patel for the responsible disclosure.
150
+ * Fix: Improve load time by removing unnecessary oEmbed call. https://github.com/automattic/wp-job-manager/pull/768 Props Myles McNamara.
151
+ * Fix: Improve WPML compatability. https://github.com/automattic/wp-job-manager/pull/787 Props Spencer Finnell.
152
+ * Fix: Add an implicit whitelist for API requests. https://github.com/automattic/wp-job-manager/pull/855 Props muddletoes.
153
+ * Fix: Fixed taxonomy search conditions. See https://github.com/automattic/wp-job-manager/pull/859/ Props Jonas Vogel.
154
+
155
  = 1.25.2 =
156
  * Fix - The date format of the expiry date picker was incorrect in translations so we added a comment to clarify, and fixed translations. (https://github.com/Automattic/WP-Job-Manager/issues/697)
157
  * Fix - Changing the date of an expired job would forget the date, even though the job would become active. (https://github.com/Automattic/WP-Job-Manager/issues/653)
170
 
171
  == Upgrade Notice ==
172
 
173
+ = 1.25.3 =
174
+ Make job types optional! Date format improvements! Update today!
templates/content-job_listing.php CHANGED
@@ -15,10 +15,12 @@
15
  <ul class="meta">
16
  <?php do_action( 'job_listing_meta_start' ); ?>
17
 
 
18
  <li class="job-type <?php echo get_the_job_type() ? sanitize_title( get_the_job_type()->slug ) : ''; ?>"><?php the_job_type(); ?></li>
19
- <li class="date"><date><?php printf( __( '%s ago', 'wp-job-manager' ), human_time_diff( get_post_time( 'U' ), current_time( 'timestamp' ) ) ); ?></date></li>
 
20
 
21
  <?php do_action( 'job_listing_meta_end' ); ?>
22
  </ul>
23
  </a>
24
- </li>
15
  <ul class="meta">
16
  <?php do_action( 'job_listing_meta_start' ); ?>
17
 
18
+ <?php if ( get_option( 'job_manager_enable_types' ) ) { ?>
19
  <li class="job-type <?php echo get_the_job_type() ? sanitize_title( get_the_job_type()->slug ) : ''; ?>"><?php the_job_type(); ?></li>
20
+ <?php } ?>
21
+ <li class="date"><?php the_job_publish_date(); ?></li>
22
 
23
  <?php do_action( 'job_listing_meta_end' ); ?>
24
  </ul>
25
  </a>
26
+ </li>
templates/content-single-job_listing-meta.php CHANGED
@@ -13,11 +13,13 @@ do_action( 'single_job_listing_meta_before' ); ?>
13
  <ul class="job-listing-meta meta">
14
  <?php do_action( 'single_job_listing_meta_start' ); ?>
15
 
 
16
  <li class="job-type <?php echo get_the_job_type() ? sanitize_title( get_the_job_type()->slug ) : ''; ?>" itemprop="employmentType"><?php the_job_type(); ?></li>
 
17
 
18
  <li class="location" itemprop="jobLocation"><?php the_job_location(); ?></li>
19
 
20
- <li class="date-posted" itemprop="datePosted"><date><?php printf( __( 'Posted %s ago', 'wp-job-manager' ), human_time_diff( get_post_time( 'U' ), current_time( 'timestamp' ) ) ); ?></date></li>
21
 
22
  <?php if ( is_position_filled() ) : ?>
23
  <li class="position-filled"><?php _e( 'This position has been filled', 'wp-job-manager' ); ?></li>
13
  <ul class="job-listing-meta meta">
14
  <?php do_action( 'single_job_listing_meta_start' ); ?>
15
 
16
+ <?php if ( get_option( 'job_manager_enable_types' ) ) { ?>
17
  <li class="job-type <?php echo get_the_job_type() ? sanitize_title( get_the_job_type()->slug ) : ''; ?>" itemprop="employmentType"><?php the_job_type(); ?></li>
18
+ <?php } ?>
19
 
20
  <li class="location" itemprop="jobLocation"><?php the_job_location(); ?></li>
21
 
22
+ <li class="date-posted" itemprop="datePosted"><?php the_job_publish_date(); ?></li>
23
 
24
  <?php if ( is_position_filled() ) : ?>
25
  <li class="position-filled"><?php _e( 'This position has been filled', 'wp-job-manager' ); ?></li>
templates/content-summary-job_listing.php CHANGED
@@ -1,7 +1,9 @@
1
  <?php global $job_manager; ?>
2
 
3
  <a href="<?php the_permalink(); ?>">
 
4
  <div class="job-type <?php echo get_the_job_type() ? sanitize_title( get_the_job_type()->slug ) : ''; ?>"><?php the_job_type(); ?></div>
 
5
 
6
  <?php if ( $logo = get_the_company_logo() ) : ?>
7
  <img src="<?php echo esc_attr( $logo ); ?>" alt="<?php the_company_name(); ?>" title="<?php the_company_name(); ?> - <?php the_company_tagline(); ?>" />
@@ -11,7 +13,7 @@
11
 
12
  <h1><?php the_title(); ?></h1>
13
 
14
- <p class="meta"><?php the_job_location( false ); ?> &mdash; <date><?php printf( __( 'Posted %s ago', 'wp-job-manager' ), human_time_diff( get_post_time( 'U' ), current_time( 'timestamp' ) ) ); ?></date></p>
15
 
16
  </div>
17
  </a>
1
  <?php global $job_manager; ?>
2
 
3
  <a href="<?php the_permalink(); ?>">
4
+ <?php if ( get_option( 'job_manager_enable_types' ) ) { ?>
5
  <div class="job-type <?php echo get_the_job_type() ? sanitize_title( get_the_job_type()->slug ) : ''; ?>"><?php the_job_type(); ?></div>
6
+ <?php } ?>
7
 
8
  <?php if ( $logo = get_the_company_logo() ) : ?>
9
  <img src="<?php echo esc_attr( $logo ); ?>" alt="<?php the_company_name(); ?>" title="<?php the_company_name(); ?> - <?php the_company_tagline(); ?>" />
13
 
14
  <h1><?php the_title(); ?></h1>
15
 
16
+ <p class="meta"><?php the_job_location( false ); ?> &mdash; <?php the_job_publish_date(); ?></p>
17
 
18
  </div>
19
  </a>
templates/content-widget-job_listing.php CHANGED
@@ -6,7 +6,9 @@
6
  <ul class="meta">
7
  <li class="location"><?php the_job_location( false ); ?></li>
8
  <li class="company"><?php the_company_name(); ?></li>
 
9
  <li class="job-type <?php echo get_the_job_type() ? sanitize_title( get_the_job_type()->slug ) : ''; ?>"><?php the_job_type(); ?></li>
 
10
  </ul>
11
  </a>
12
- </li>
6
  <ul class="meta">
7
  <li class="location"><?php the_job_location( false ); ?></li>
8
  <li class="company"><?php the_company_name(); ?></li>
9
+ <?php if ( get_option( 'job_manager_enable_types' ) ) { ?>
10
  <li class="job-type <?php echo get_the_job_type() ? sanitize_title( get_the_job_type()->slug ) : ''; ?>"><?php the_job_type(); ?></li>
11
+ <?php } ?>
12
  </ul>
13
  </a>
14
+ </li>
templates/job-submit.php CHANGED
@@ -22,8 +22,8 @@ global $job_manager;
22
  <?php do_action( 'submit_job_form_job_fields_start' ); ?>
23
 
24
  <?php foreach ( $job_fields as $key => $field ) : ?>
25
- <fieldset class="fieldset-<?php esc_attr_e( $key ); ?>">
26
- <label for="<?php esc_attr_e( $key ); ?>"><?php echo $field['label'] . apply_filters( 'submit_job_form_required_label', $field['required'] ? '' : ' <small>' . __( '(optional)', 'wp-job-manager' ) . '</small>', $field ); ?></label>
27
  <div class="field <?php echo $field['required'] ? 'required-field' : ''; ?>">
28
  <?php get_job_manager_template( 'form-fields/' . $field['type'] . '-field.php', array( 'key' => $key, 'field' => $field ) ); ?>
29
  </div>
@@ -39,8 +39,8 @@ global $job_manager;
39
  <?php do_action( 'submit_job_form_company_fields_start' ); ?>
40
 
41
  <?php foreach ( $company_fields as $key => $field ) : ?>
42
- <fieldset class="fieldset-<?php esc_attr_e( $key ); ?>">
43
- <label for="<?php esc_attr_e( $key ); ?>"><?php echo $field['label'] . apply_filters( 'submit_job_form_required_label', $field['required'] ? '' : ' <small>' . __( '(optional)', 'wp-job-manager' ) . '</small>', $field ); ?></label>
44
  <div class="field <?php echo $field['required'] ? 'required-field' : ''; ?>">
45
  <?php get_job_manager_template( 'form-fields/' . $field['type'] . '-field.php', array( 'key' => $key, 'field' => $field ) ); ?>
46
  </div>
@@ -56,7 +56,7 @@ global $job_manager;
56
  <input type="hidden" name="job_manager_form" value="<?php echo $form; ?>" />
57
  <input type="hidden" name="job_id" value="<?php echo esc_attr( $job_id ); ?>" />
58
  <input type="hidden" name="step" value="<?php echo esc_attr( $step ); ?>" />
59
- <input type="submit" name="submit_job" class="button" value="<?php esc_attr_e( $submit_button_text ); ?>" />
60
  </p>
61
 
62
  <?php else : ?>
22
  <?php do_action( 'submit_job_form_job_fields_start' ); ?>
23
 
24
  <?php foreach ( $job_fields as $key => $field ) : ?>
25
+ <fieldset class="fieldset-<?php echo esc_attr( $key ); ?>">
26
+ <label for="<?php echo esc_attr( $key ); ?>"><?php echo $field['label'] . apply_filters( 'submit_job_form_required_label', $field['required'] ? '' : ' <small>' . __( '(optional)', 'wp-job-manager' ) . '</small>', $field ); ?></label>
27
  <div class="field <?php echo $field['required'] ? 'required-field' : ''; ?>">
28
  <?php get_job_manager_template( 'form-fields/' . $field['type'] . '-field.php', array( 'key' => $key, 'field' => $field ) ); ?>
29
  </div>
39
  <?php do_action( 'submit_job_form_company_fields_start' ); ?>
40
 
41
  <?php foreach ( $company_fields as $key => $field ) : ?>
42
+ <fieldset class="fieldset-<?php echo esc_attr( $key ); ?>">
43
+ <label for="<?php echo esc_attr( $key ); ?>"><?php echo $field['label'] . apply_filters( 'submit_job_form_required_label', $field['required'] ? '' : ' <small>' . __( '(optional)', 'wp-job-manager' ) . '</small>', $field ); ?></label>
44
  <div class="field <?php echo $field['required'] ? 'required-field' : ''; ?>">
45
  <?php get_job_manager_template( 'form-fields/' . $field['type'] . '-field.php', array( 'key' => $key, 'field' => $field ) ); ?>
46
  </div>
56
  <input type="hidden" name="job_manager_form" value="<?php echo $form; ?>" />
57
  <input type="hidden" name="job_id" value="<?php echo esc_attr( $job_id ); ?>" />
58
  <input type="hidden" name="step" value="<?php echo esc_attr( $step ); ?>" />
59
+ <input type="submit" name="submit_job" class="button" value="<?php echo esc_attr( $submit_button_text ); ?>" />
60
  </p>
61
 
62
  <?php else : ?>
wp-job-manager-functions.php CHANGED
@@ -180,7 +180,7 @@ if ( ! function_exists( 'get_job_listings_keyword_search' ) ) :
180
  $conditions = array();
181
  $conditions[] = "{$wpdb->posts}.post_title LIKE '%" . esc_sql( $job_manager_keyword ) . "%'";
182
  $conditions[] = "{$wpdb->posts}.ID IN ( SELECT post_id FROM {$wpdb->postmeta} WHERE meta_value LIKE '%" . esc_sql( $job_manager_keyword ) . "%' )";
183
- $conditions[] = "{$wpdb->posts}.ID IN ( SELECT object_id FROM {$wpdb->term_relationships} AS tr LEFT JOIN {$wpdb->terms} AS t ON tr.term_taxonomy_id = t.term_id WHERE t.name LIKE '%" . esc_sql( $job_manager_keyword ) . "%' )";
184
 
185
  if ( ctype_alnum( $job_manager_keyword ) ) {
186
  $conditions[] = "{$wpdb->posts}.post_content RLIKE '[[:<:]]" . esc_sql( $job_manager_keyword ) . "[[:>:]]'";
@@ -255,12 +255,23 @@ if ( ! function_exists( 'get_job_listing_types' ) ) :
255
  * @return array
256
  */
257
  function get_job_listing_types( $fields = 'all' ) {
258
- return get_terms( "job_listing_type", array(
259
- 'orderby' => 'name',
260
- 'order' => 'ASC',
261
- 'hide_empty' => false,
262
- 'fields' => $fields
263
- ) );
 
 
 
 
 
 
 
 
 
 
 
264
  }
265
  endif;
266
 
@@ -640,7 +651,7 @@ function job_manager_dropdown_categories( $args = '' ) {
640
  function job_manager_get_page_id( $page ) {
641
  $page_id = get_option( 'job_manager_' . $page . '_page_id', false );
642
  if ( $page_id ) {
643
- return absint( function_exists( 'pll_get_post' ) ? pll_get_post( $page_id ) : $page_id );
644
  } else {
645
  return 0;
646
  }
180
  $conditions = array();
181
  $conditions[] = "{$wpdb->posts}.post_title LIKE '%" . esc_sql( $job_manager_keyword ) . "%'";
182
  $conditions[] = "{$wpdb->posts}.ID IN ( SELECT post_id FROM {$wpdb->postmeta} WHERE meta_value LIKE '%" . esc_sql( $job_manager_keyword ) . "%' )";
183
+ $conditions[] = "{$wpdb->posts}.ID IN ( SELECT object_id FROM {$wpdb->term_relationships} AS tr LEFT JOIN {$wpdb->term_taxonomy} AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id LEFT JOIN {$wpdb->terms} AS t ON tt.term_id = t.term_id WHERE t.name LIKE '%" . esc_sql( $job_manager_keyword ) . "%' )";
184
 
185
  if ( ctype_alnum( $job_manager_keyword ) ) {
186
  $conditions[] = "{$wpdb->posts}.post_content RLIKE '[[:<:]]" . esc_sql( $job_manager_keyword ) . "[[:>:]]'";
255
  * @return array
256
  */
257
  function get_job_listing_types( $fields = 'all' ) {
258
+ if ( ! get_option( 'job_manager_enable_types' ) ) {
259
+ return array();
260
+ } else {
261
+ $args = array(
262
+ 'fields' => $fields,
263
+ 'hide_empty' => false,
264
+ 'order' => 'ASC',
265
+ 'orderby' => 'name'
266
+ );
267
+
268
+ $args = apply_filters( 'get_job_listing_types_args', $args );
269
+
270
+ // Prevent users from filtering the taxonomy
271
+ $args['taxonomy'] = 'job_listing_type';
272
+
273
+ return get_terms( $args );
274
+ }
275
  }
276
  endif;
277
 
651
  function job_manager_get_page_id( $page ) {
652
  $page_id = get_option( 'job_manager_' . $page . '_page_id', false );
653
  if ( $page_id ) {
654
+ return apply_filters( 'wpml_object_id', absint( function_exists( 'pll_get_post' ) ? pll_get_post( $page_id ) : $page_id ), 'page', TRUE );
655
  } else {
656
  return 0;
657
  }
wp-job-manager-template.php CHANGED
@@ -7,7 +7,7 @@
7
  * @author Mike Jolley
8
  * @category Core
9
  * @package Job Manager/Template
10
- * @version 1.20.0
11
  */
12
 
13
  /**
@@ -236,6 +236,9 @@ function get_the_job_application_method( $post = null ) {
236
  * @return void
237
  */
238
  function the_job_type( $post = null ) {
 
 
 
239
  if ( $job_type = get_the_job_type( $post ) ) {
240
  echo $job_type->name;
241
  }
@@ -266,6 +269,40 @@ function get_the_job_type( $post = null ) {
266
  }
267
 
268
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
269
  /**
270
  * the_job_location function.
271
  * @param boolean $map_link whether or not to link to google maps
@@ -414,16 +451,19 @@ function job_manager_get_resized_image( $logo, $size ) {
414
  * Output the company video
415
  */
416
  function the_company_video( $post = null ) {
417
- $video = get_the_company_video( $post );
418
- $filetype = wp_check_filetype( $video );
419
-
420
- // FV Wordpress Flowplayer Support for advanced video formats
421
- if ( shortcode_exists( 'flowplayer' ) ) {
422
- $video_embed = '[flowplayer src="' . esc_attr( $video ) . '"]';
423
- } elseif ( ! empty( $filetype['ext'] ) ) {
424
- $video_embed = wp_video_shortcode( array( 'src' => $video ) );
425
- } else {
426
- $video_embed = wp_oembed_get( $video );
 
 
 
427
  }
428
 
429
  $video_embed = apply_filters( 'the_company_video_embed', $video_embed, $post );
@@ -610,6 +650,10 @@ function job_listing_class( $class = '', $post_id = null ) {
610
  * @return array
611
  */
612
  function get_job_listing_class( $class = '', $post_id = null ) {
 
 
 
 
613
  $post = get_post( $post_id );
614
 
615
  if ( $post->post_type !== 'job_listing' ) {
7
  * @author Mike Jolley
8
  * @category Core
9
  * @package Job Manager/Template
10
+ * @version 1.25.3
11
  */
12
 
13
  /**
236
  * @return void
237
  */
238
  function the_job_type( $post = null ) {
239
+ if ( ! get_option( 'job_manager_enable_types' ) ) {
240
+ return '';
241
+ }
242
  if ( $job_type = get_the_job_type( $post ) ) {
243
  echo $job_type->name;
244
  }
269
  }
270
 
271
 
272
+ /**
273
+ * the_job_publish_date function.
274
+ * @param mixed $post (default: null)
275
+ * @return [type]
276
+ */
277
+ function the_job_publish_date( $post = null ) {
278
+ $date_format = get_option( 'job_manager_date_format' );
279
+
280
+ if ( $date_format === 'default' ) {
281
+ $display_date = __( 'Posted on ', 'wp-job-manager' ) . get_post_time( get_option( 'date_format' ) );
282
+ } else {
283
+ $display_date = sprintf( __( 'Posted %s ago', 'wp-job-manager' ), human_time_diff( get_post_time( 'U' ), current_time( 'timestamp' ) ) );
284
+ }
285
+
286
+ echo '<time datetime="' . get_post_time( 'Y-m-d' ) . '">' . $display_date . '</time>';
287
+ }
288
+
289
+
290
+ /**
291
+ * get_the_job_publish_date function.
292
+ * @param mixed $post (default: null)
293
+ * @return [type]
294
+ */
295
+ function get_the_job_publish_date( $post = null ) {
296
+ $date_format = get_option( 'job_manager_date_format' );
297
+
298
+ if ( $date_format === 'default' ) {
299
+ return get_post_time( get_option( 'date_format' ) );
300
+ } else {
301
+ return sprintf( __( 'Posted %s ago', 'wp-job-manager' ), human_time_diff( get_post_time( 'U' ), current_time( 'timestamp' ) ) );
302
+ }
303
+ }
304
+
305
+
306
  /**
307
  * the_job_location function.
308
  * @param boolean $map_link whether or not to link to google maps
451
  * Output the company video
452
  */
453
  function the_company_video( $post = null ) {
454
+ $video_embed = false;
455
+ $video = get_the_company_video( $post );
456
+ $filetype = wp_check_filetype( $video );
457
+
458
+ if( ! empty( $video ) ){
459
+ // FV Wordpress Flowplayer Support for advanced video formats
460
+ if ( shortcode_exists( 'flowplayer' ) ) {
461
+ $video_embed = '[flowplayer src="' . esc_attr( $video ) . '"]';
462
+ } elseif ( ! empty( $filetype[ 'ext' ] ) ) {
463
+ $video_embed = wp_video_shortcode( array( 'src' => $video ) );
464
+ } else {
465
+ $video_embed = wp_oembed_get( $video );
466
+ }
467
  }
468
 
469
  $video_embed = apply_filters( 'the_company_video_embed', $video_embed, $post );
650
  * @return array
651
  */
652
  function get_job_listing_class( $class = '', $post_id = null ) {
653
+ if ( ! get_option( 'job_manager_enable_types' ) ) {
654
+ return get_post_class( array( 'job_classes' ), $post_id );
655
+ }
656
+
657
  $post = get_post( $post_id );
658
 
659
  if ( $post->post_type !== 'job_listing' ) {
wp-job-manager.php CHANGED
@@ -3,11 +3,11 @@
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.25.2
7
  * Author: Automattic
8
  * Author URI: https://wpjobmanager.com/
9
  * Requires at least: 4.1
10
- * Tested up to: 4.6.1
11
  * Text Domain: wp-job-manager
12
  * Domain Path: /languages/
13
  * License: GPL2+
@@ -26,7 +26,7 @@ class WP_Job_Manager {
26
  */
27
  public function __construct() {
28
  // Define constants
29
- define( 'JOB_MANAGER_VERSION', '1.25.0' );
30
  define( 'JOB_MANAGER_PLUGIN_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
31
  define( 'JOB_MANAGER_PLUGIN_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) );
32
 
@@ -175,6 +175,6 @@ function job_manager_add_post_types( $types, $id ) {
175
  $types[] = 'job_listing';
176
  return $types;
177
  }
178
- add_filter( 'post_types_to_delete_with_user', 'job_manager_add_post_types' );
179
 
180
  $GLOBALS['job_manager'] = new WP_Job_Manager();
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.25.3
7
  * Author: Automattic
8
  * Author URI: https://wpjobmanager.com/
9
  * Requires at least: 4.1
10
+ * Tested up to: 4.7.4
11
  * Text Domain: wp-job-manager
12
  * Domain Path: /languages/
13
  * License: GPL2+
26
  */
27
  public function __construct() {
28
  // Define constants
29
+ define( 'JOB_MANAGER_VERSION', '1.25.3' );
30
  define( 'JOB_MANAGER_PLUGIN_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
31
  define( 'JOB_MANAGER_PLUGIN_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) );
32
 
175
  $types[] = 'job_listing';
176
  return $types;
177
  }
178
+ add_filter( 'post_types_to_delete_with_user', 'job_manager_add_post_types', 10, 2 );
179
 
180
  $GLOBALS['job_manager'] = new WP_Job_Manager();