WP Job Manager - Version 1.22.1

Version Description

  • Fix - It's 2015, but some people are still running PHP 5.2. Compatibility fix.
Download this release

Release Info

Developer mikejolley
Plugin Icon 128x128 WP Job Manager
Version 1.22.1
Comparing to
See all releases

Code changes from version 1.22.0 to 1.22.1

includes/class-wp-job-manager-forms.php CHANGED
@@ -36,7 +36,7 @@ class WP_Job_Manager_Forms {
36
  $form_file = JOB_MANAGER_PLUGIN_DIR . '/includes/forms/class-wp-job-manager-form-' . $form_name . '.php';
37
 
38
  if ( class_exists( $form_class ) ) {
39
- return $form_class::instance();
40
  }
41
 
42
  if ( ! file_exists( $form_file ) ) {
@@ -48,7 +48,7 @@ class WP_Job_Manager_Forms {
48
  }
49
 
50
  // Init the form
51
- return $form_class::instance();
52
  }
53
 
54
  /**
36
  $form_file = JOB_MANAGER_PLUGIN_DIR . '/includes/forms/class-wp-job-manager-form-' . $form_name . '.php';
37
 
38
  if ( class_exists( $form_class ) ) {
39
+ return call_user_func( array( $form_class, 'instance' ) );
40
  }
41
 
42
  if ( ! file_exists( $form_file ) ) {
48
  }
49
 
50
  // Init the form
51
+ return call_user_func( array( $form_class, 'instance' ) );
52
  }
53
 
54
  /**
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=mike.jol
4
  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
5
  Requires at least: 4.1
6
  Tested up to: 4.2
7
- Stable tag: 1.22.0
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -142,6 +142,9 @@ You can view (and contribute) translations via the [Transifex project here](http
142
 
143
  == Changelog ==
144
 
 
 
 
145
  = 1.22.0 =
146
  * Tweak - Refactored form classes to be instance based rather than static. Reduction in code base.
147
  * Tweak - Admin styling of the job data panels.
4
  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
5
  Requires at least: 4.1
6
  Tested up to: 4.2
7
+ Stable tag: 1.22.1
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
142
 
143
  == Changelog ==
144
 
145
+ = 1.22.1 =
146
+ * Fix - It's 2015, but some people are still running PHP 5.2. Compatibility fix.
147
+
148
  = 1.22.0 =
149
  * Tweak - Refactored form classes to be instance based rather than static. Reduction in code base.
150
  * Tweak - Admin styling of the job data panels.
wp-job-manager.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Job Manager
4
  Plugin URI: https://wpjobmanager.com/
5
  Description: Manage job listings from the WordPress admin panel, and allow users to post jobs directly to your site.
6
- Version: 1.22.0
7
  Author: Mike Jolley
8
  Author URI: http://mikejolley.com
9
  Requires at least: 4.1
@@ -31,7 +31,7 @@ class WP_Job_Manager {
31
  */
32
  public function __construct() {
33
  // Define constants
34
- define( 'JOB_MANAGER_VERSION', '1.22.0' );
35
  define( 'JOB_MANAGER_PLUGIN_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
36
  define( 'JOB_MANAGER_PLUGIN_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) );
37
 
3
  Plugin Name: WP Job Manager
4
  Plugin URI: https://wpjobmanager.com/
5
  Description: Manage job listings from the WordPress admin panel, and allow users to post jobs directly to your site.
6
+ Version: 1.22.1
7
  Author: Mike Jolley
8
  Author URI: http://mikejolley.com
9
  Requires at least: 4.1
31
  */
32
  public function __construct() {
33
  // Define constants
34
+ define( 'JOB_MANAGER_VERSION', '1.22.1' );
35
  define( 'JOB_MANAGER_PLUGIN_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
36
  define( 'JOB_MANAGER_PLUGIN_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) );
37