Contact Listing for WP Job Manager - Version 1.2.0

Version Description

Download this release

Release Info

Developer adampickering
Plugin Icon wp plugin Contact Listing for WP Job Manager
Version 1.2.0
Comparing to
See all releases

Code changes from version 1.1.0 to 1.2.0

includes/forms/ninjaforms.php CHANGED
@@ -117,8 +117,13 @@ class Astoundify_Job_Manager_Contact_Listing_Form_NinjaForms extends Astoundify_
117
  */
118
  public function get_forms() {
119
  $forms = array( 0 => __( 'Please select a form', 'wp-job-manager-contact-listing' ) );
 
120
 
121
- $_forms = ninja_forms_get_all_forms();
 
 
 
 
122
 
123
  if ( ! empty( $_forms ) ) {
124
 
117
  */
118
  public function get_forms() {
119
  $forms = array( 0 => __( 'Please select a form', 'wp-job-manager-contact-listing' ) );
120
+ $_forms = array();
121
 
122
+ if ( class_exists( 'Ninja_Forms' ) ) {
123
+ $_forms = Ninja_Forms()->forms->get_all();
124
+ } elseif ( function_exists( 'ninja_forms_get_all_forms' ) ) {
125
+ $_forms = ninja_forms_get_all_forms();
126
+ }
127
 
128
  if ( ! empty( $_forms ) ) {
129
 
readme.txt CHANGED
@@ -6,8 +6,8 @@ Donate link: https://www.paypal.me/astoundify
6
  Contributors: Astoundify
7
  Tags: job, job listing, job apply, gravity forms, wp job manager, gravity forms, gravityforms, ninja forms, ninjaforms, contact form 7, cf7
8
  Requires at least: 4.4
9
- Tested up to: 4.4.*
10
- Stable Tag: 1.1.0
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
13
 
@@ -75,6 +75,10 @@ If you have purchased Jobify and still have questions, please post on our dedica
75
 
76
  == Changelog ==
77
 
 
 
 
 
78
  = 1.1.0: February 25, 2016 =
79
 
80
  * New: Fall back to the listing owner's user account email if no `_application` field value exists.
6
  Contributors: Astoundify
7
  Tags: job, job listing, job apply, gravity forms, wp job manager, gravity forms, gravityforms, ninja forms, ninjaforms, contact form 7, cf7
8
  Requires at least: 4.4
9
+ Tested up to: 4.5.*
10
+ Stable Tag: 1.2.0
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
13
 
75
 
76
  == Changelog ==
77
 
78
+ = 1.2.0: June 16, 2016 =
79
+
80
+ * Ninja Forms 3 compatibility.
81
+
82
  = 1.1.0: February 25, 2016 =
83
 
84
  * New: Fall back to the listing owner's user account email if no `_application` field value exists.
wp-job-manager-contact-listing.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Contact job listings or resume listings with your choice of Gravity Forms, Ninja Forms, or Contact Form 7
6
  * Author: Astoundify
7
  * Author URI: http://astoundify.com
8
- * Version: 1.1.0
9
  * Text Domain: wp-job-manager-contact-listing
10
  */
11
 
5
  * Description: Contact job listings or resume listings with your choice of Gravity Forms, Ninja Forms, or Contact Form 7
6
  * Author: Astoundify
7
  * Author URI: http://astoundify.com
8
+ * Version: 1.2.0
9
  * Text Domain: wp-job-manager-contact-listing
10
  */
11