WP Job Manager - Version 1.30.1

Version Description

  • Fix: Minor issue with a strict standard error being displayed on some instances. (@alexsanford)
Download this release

Release Info

Developer jakeom
Plugin Icon 128x128 WP Job Manager
Version 1.30.1
Comparing to
See all releases

Code changes from version 1.30.0 to 1.30.1

changelog.txt CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  = 1.30.0 =
2
  * Enhancement: Adds ability to have a reCAPTCHA field to check if job listing author is human. (@jom)
3
  * Enhancement: Allows for option to make edits to job listings force listing back into pending approval status. (@jom)
1
+ = 1.30.1 =
2
+ * Fix: Minor issue with a strict standard error being displayed on some instances. (@alexsanford)
3
+
4
  = 1.30.0 =
5
  * Enhancement: Adds ability to have a reCAPTCHA field to check if job listing author is human. (@jom)
6
  * Enhancement: Allows for option to make edits to job listings force listing back into pending approval status. (@jom)
languages/wp-job-manager.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the GPL2+.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WP Job Manager 1.30.0\n"
6
  "Report-Msgid-Bugs-To: https://github.com/Automattic/WP-Job-Manager/issues\n"
7
- "POT-Creation-Date: 2018-02-23 13:04:57+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -1482,27 +1482,27 @@ msgstr ""
1482
  msgid "Keyword"
1483
  msgstr ""
1484
 
1485
- #: lib/usage-tracking/class-usage-tracking-base.php:327
1486
  msgid "Every Two Weeks"
1487
  msgstr ""
1488
 
1489
- #: lib/usage-tracking/class-usage-tracking-base.php:466
1490
  msgid "Enable Usage Tracking"
1491
  msgstr ""
1492
 
1493
- #: lib/usage-tracking/class-usage-tracking-base.php:469
1494
  msgid "Disable Usage Tracking"
1495
  msgstr ""
1496
 
1497
- #: lib/usage-tracking/class-usage-tracking-base.php:475
1498
  msgid "Usage data enabled. Thank you!"
1499
  msgstr ""
1500
 
1501
- #: lib/usage-tracking/class-usage-tracking-base.php:478
1502
  msgid "Disabled usage tracking."
1503
  msgstr ""
1504
 
1505
- #: lib/usage-tracking/class-usage-tracking-base.php:481
1506
  msgid "Something went wrong. Please try again later."
1507
  msgstr ""
1508
 
2
  # This file is distributed under the GPL2+.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WP Job Manager 1.30.1\n"
6
  "Report-Msgid-Bugs-To: https://github.com/Automattic/WP-Job-Manager/issues\n"
7
+ "POT-Creation-Date: 2018-03-12 18:10:30+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
1482
  msgid "Keyword"
1483
  msgstr ""
1484
 
1485
+ #: lib/usage-tracking/class-usage-tracking-base.php:333
1486
  msgid "Every Two Weeks"
1487
  msgstr ""
1488
 
1489
+ #: lib/usage-tracking/class-usage-tracking-base.php:472
1490
  msgid "Enable Usage Tracking"
1491
  msgstr ""
1492
 
1493
+ #: lib/usage-tracking/class-usage-tracking-base.php:475
1494
  msgid "Disable Usage Tracking"
1495
  msgstr ""
1496
 
1497
+ #: lib/usage-tracking/class-usage-tracking-base.php:481
1498
  msgid "Usage data enabled. Thank you!"
1499
  msgstr ""
1500
 
1501
+ #: lib/usage-tracking/class-usage-tracking-base.php:484
1502
  msgid "Disabled usage tracking."
1503
  msgstr ""
1504
 
1505
+ #: lib/usage-tracking/class-usage-tracking-base.php:487
1506
  msgid "Something went wrong. Please try again later."
1507
  msgstr ""
1508
 
lib/usage-tracking/class-usage-tracking-base.php CHANGED
@@ -52,11 +52,6 @@ abstract class WP_Job_Manager_Usage_Tracking_Base {
52
  **/
53
  private static $instances = array();
54
 
55
-
56
- /*
57
- * Abstract methods.
58
- */
59
-
60
  /**
61
  * Gets the singleton instance of this class. Subclasses should implement
62
  * this as follows:
@@ -66,8 +61,19 @@ abstract class WP_Job_Manager_Usage_Tracking_Base {
66
  * return self::get_instance_for_subclass( get_class() );
67
  * }
68
  * ```
 
 
 
69
  */
70
- abstract public static function get_instance();
 
 
 
 
 
 
 
 
71
 
72
  /**
73
  * Get prefix for actions and strings. Should be unique to this plugin.
52
  **/
53
  private static $instances = array();
54
 
 
 
 
 
 
55
  /**
56
  * Gets the singleton instance of this class. Subclasses should implement
57
  * this as follows:
61
  * return self::get_instance_for_subclass( get_class() );
62
  * }
63
  * ```
64
+ *
65
+ * This function cannot be abstract (because it is static) but it *must* be
66
+ * implemented by subclasses.
67
  */
68
+ public static function get_instance() {
69
+ throw new Exception( 'Usage Tracking subclasses must implement get_instance. See class-usage-tracking-base.php' );
70
+ }
71
+
72
+
73
+ /*
74
+ * Abstract methods.
75
+ */
76
+
77
 
78
  /**
79
  * Get prefix for actions and strings. Should be unique to this plugin.
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: mikejolley, automattic, adamkheckler, annezazu, cena, chaselivings
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.3.1
5
  Tested up to: 4.9
6
- Stable tag: 1.30.0
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -141,6 +141,9 @@ You can view (and contribute) translations via the [translate.wordpress.org](htt
141
 
142
  == Changelog ==
143
 
 
 
 
144
  = 1.30.0 =
145
  * Enhancement: Adds ability to have a reCAPTCHA field to check if job listing author is human. (@jom)
146
  * Enhancement: Allows for option to make edits to job listings force listing back into pending approval status. (@jom)
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.3.1
5
  Tested up to: 4.9
6
+ Stable tag: 1.30.1
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
141
 
142
  == Changelog ==
143
 
144
+ = 1.30.1 =
145
+ * Fix: Minor issue with a strict standard error being displayed on some instances. (@alexsanford)
146
+
147
  = 1.30.0 =
148
  * Enhancement: Adds ability to have a reCAPTCHA field to check if job listing author is human. (@jom)
149
  * Enhancement: Allows for option to make edits to job listings force listing back into pending approval status. (@jom)
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.30.0
7
  * Author: Automattic
8
  * Author URI: https://wpjobmanager.com/
9
  * Requires at least: 4.1
@@ -58,7 +58,7 @@ class WP_Job_Manager {
58
  */
59
  public function __construct() {
60
  // Define constants
61
- define( 'JOB_MANAGER_VERSION', '1.30.0' );
62
  define( 'JOB_MANAGER_PLUGIN_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
63
  define( 'JOB_MANAGER_PLUGIN_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) );
64
 
3
  * Plugin Name: WP Job Manager
4
  * Plugin URI: https://wpjobmanager.com/
5
  * Description: Manage job listings from the WordPress admin panel, and allow users to post jobs directly to your site.
6
+ * Version: 1.30.1
7
  * Author: Automattic
8
  * Author URI: https://wpjobmanager.com/
9
  * Requires at least: 4.1
58
  */
59
  public function __construct() {
60
  // Define constants
61
+ define( 'JOB_MANAGER_VERSION', '1.30.1' );
62
  define( 'JOB_MANAGER_PLUGIN_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
63
  define( 'JOB_MANAGER_PLUGIN_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) );
64