Skip to content

Commit a6841a6

Browse files
committed
Added GPLv2 license and removed unneeded files.
1 parent 61fa503 commit a6841a6

File tree

5 files changed

+353
-138
lines changed

5 files changed

+353
-138
lines changed

class-gwiz-gf-openai.php

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
<?php
2-
2+
/**
3+
* @package gravityforms-openai
4+
* @author Gravity Wiz <[email protected]>
5+
* @license GPLv2
6+
* @link https://github.com/gravitywiz/gravityforms-openai
7+
*/
38
defined( 'ABSPATH' ) || die();
49

510
GFForms::include_feed_addon_framework();
611

712
/*
8-
* @todo Mapping completions/edits to a field
913
* @todo Make notes configurable
1014
* @todo Make saving to meta configurable
1115
*

gravityforms-openai.php

+8-4
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,30 @@
22
/**
33
* Plugin Name: Gravity Forms OpenAI
44
* Description: Pair the magic of OpenAI's robust models with Gravity Forms' flexibility.
5-
* Plugin URI: https://github.com/gravitywiz/gravityforms-openai
5+
* Plugin URI: https://gravitywiz.com/gravity-forms-openai/
66
* Version: 1.0-alpha-1
77
* Author: Gravity Wiz
88
* Author URI: https://gravitywiz.com/
99
* License: GPL2
1010
* Perk: True
1111
* Text Domain: gravityforms-openai
1212
* Domain Path: /languages
13+
*
14+
* @package gravityforms-openai
15+
* @author Gravity Wiz <[email protected]>
16+
* @license GPLv2
17+
* @link https://github.com/gravitywiz/gravityforms-openai
1318
*/
1419

15-
defined( 'ABSPATH' ) || die();
16-
1720
define( 'GWIZ_GF_OPENAI_VERSION', '1.0-alpha-1' );
1821

22+
defined( 'ABSPATH' ) || die();
23+
1924
add_action( 'gform_loaded', function() {
2025
if ( ! method_exists( 'GFForms', 'include_feed_addon_framework' ) ) {
2126
return;
2227
}
2328

24-
require plugin_dir_path( __FILE__ ) . 'includes/autoload.php';
2529
require plugin_dir_path( __FILE__ ) . 'class-gwiz-gf-openai.php';
2630

2731
GFAddOn::register( 'GWiz_GF_OpenAI' );

includes/autoload.php

-55
This file was deleted.

includes/class-gp-bootstrap.php

-77
This file was deleted.

0 commit comments

Comments
 (0)