Skip to content

Commit

Permalink
Fixed path
Browse files Browse the repository at this point in the history
  • Loading branch information
zackkatz committed Mar 10, 2014
1 parent 4fc669e commit 28509f7
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 9 deletions.
6 changes: 3 additions & 3 deletions trunk/gravity-forms-addons.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Plugin URI: http://katz.co/gravity-forms-addons/
Description: Turn <a href="http://katz.si/gravityforms" rel="nofollow">Gravity Forms</a> into a great WordPress directory...and more!
Author: Katz Web Services, Inc.
Version: 3.5.4.1
Version: 3.5.4.2
Author URI: http://www.katzwebservices.com
Copyright 2014 Katz Web Services, Inc. (email: [email protected])
Expand Down Expand Up @@ -32,7 +32,7 @@ class GFDirectory {

private static $path = "gravity-forms-addons/gravity-forms-addons.php";
private static $slug = "gravity-forms-addons";
private static $version = "3.5.4.1";
private static $version = "3.5.4.2";
private static $min_gravityforms_version = "1.5";

public static function directory_defaults($args = array()) {
Expand Down Expand Up @@ -127,7 +127,7 @@ public static function plugins_loaded() {

include_once(WP_PLUGIN_DIR . '/' . basename(dirname( __FILE__ )) .'/edit-form.php');
include_once(WP_PLUGIN_DIR . '/' . basename(dirname( __FILE__ )) .'/admin.php');
include_once(WP_PLUGIN_DIR . '/' . basename(dirname( __FILE__ )) .'/change-lead-creator.php');
include_once(WP_PLUGIN_DIR . '/' . basename(dirname( __FILE__ )) .'/gravity-forms-lead-creator.php');

if(in_array(RG_CURRENT_PAGE, array("gf_entries", "admin.php", "admin-ajax.php"))) {
self::globals_get_approved_column();
Expand Down
10 changes: 5 additions & 5 deletions trunk/gravity-forms-lead-creator.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Plugin URI: http://katz.co/gravity-forms-addons/
Description: This simple addon allows users with Entry-editing capabilities to change who a <a href="http://katz.si/gravityforms" rel="nofollow">Gravity Forms</a> lead is assigned to.
Author: Katz Web Services, Inc.
Version: 3.5.4.1
Version: 3.5.4.2
Author URI: http://www.katzwebservices.com
Copyright 2014 Katz Web Services, Inc. (email: [email protected])
Expand All @@ -31,14 +31,14 @@
if(!function_exists('kws_gf_change_entry_creator_form')) {
function kws_gf_change_entry_creator_form($form_id, $lead) {
if(GFCommon::current_user_can_any("gravityforms_edit_entries")) {

//@since 3.5.3 - filter possible creators
$users = apply_filters( 'kws_gf_entry_creator_users', '', $form_id );

if( empty( $users ) ) {
$users = get_users();
}

$output = '<label for="change_created_by">';
$output .= __('Change Entry Creator:', 'gravity-forms-addons');
$output .= '</label>
Expand All @@ -51,7 +51,7 @@ function kws_gf_change_entry_creator_form($form_id, $lead) {
echo $output;
}
}
}
}

add_action("gform_after_update_entry", 'kws_gf_update_entry_creator', 10, 2);
if(!function_exists('kws_gf_update_entry_creator')) {
Expand Down
13 changes: 12 additions & 1 deletion trunk/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Tags: gravity forms, gravity form, forms, gravity, form, crm, directory, business, business directory, list, listings, sort, submissions, table, tables, member, contact, contacts, directorypress, business directory, directory plugin, wordpress directory, classifieds, captcha, cforms, contact, contact form, contact form 7, contact forms, CRM, email, enhanced wp contact form, feedback, form, forms, gravity, gravity form, gravity forms, secure form, simplemodal contact form, wp contact form, widget
Requires at least: 3.3
Tested up to: 3.8.1
Stable tag: 3.5.4.1
Stable tag: 3.5.4.2
Contributors: katzwebdesign, katzwebservices
License: GPLv2 or later
Donate link:https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=zackkatz%40gmail%2ecom&item_name=Gravity%20Forms%20Addons&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8
Expand All @@ -11,6 +11,11 @@ Add directory capabilities and other functionality to the great Gravity Forms pl

== Description ==

> __GravityView is landing soon.__
> We're getting ready to release a totally re-written version of the Directory plugin!
>
> [Sign up for email updates](https://katz.co/gravityview/) to learn when it's released.

### Turn Gravity Forms into a Directory plugin

Gravity Forms is already the easiest form plugin...now, the Gravity Forms Directory & Addons plugin turns Gravity Forms into a great directory.
Expand Down Expand Up @@ -216,6 +221,9 @@ To fix this issue, add this to your theme's `functions.php` file:

== Changelog ==

= 3.5.4.2 (March 10, 2014) =
* Fix broken path to Change Lead Creator plugin

= 3.5.4.1 (March 10, 2014) =
* Small fix on showing the edit entry link for own user entries
* Renamed filename from `change-lead-creator.php` to `gravity-forms-lead-creator.php` as WordPress activates the first file with plugin info encountered in the directory (ordered by name) - this way, the main file `gravity-forms-addons.php` will appear first.
Expand Down Expand Up @@ -465,6 +473,9 @@ Note: This update has only been tested with WordPress 3.2 and Gravity Forms 1.5.

== Upgrade Notice ==

= 3.5.4.2 (March 10, 2014) =
* Fix broken path to Change Lead Creator plugin

= 3.5.4.1 (March 10, 2014) =
* Small fix on showing the edit entry link for own user entries
* Renamed filename from `change-lead-creator.php` to `gravity-forms-lead-creator.php` as WordPress activates the first file with plugin info encountered in the directory (ordered by name) - this way, the main file `gravity-forms-addons.php` will appear first.
Expand Down

0 comments on commit 28509f7

Please sign in to comment.