diff --git a/README.txt b/README.txt index dedab9e..e019940 100644 --- a/README.txt +++ b/README.txt @@ -2,7 +2,7 @@ Contributors: hadihosseini, mahdisarani, payping Tags: payping, gravity forms, iran, گرویتی فرم, پی پینگ Requires at least: 4.0.0 -Requires Plugin: گرویتی فرم فارسی +Requires Plugin: persian-gravity-forms Tested up to: 6.4.1 Requires PHP: 7.2 Stable tag: 2.3.1 @@ -24,4 +24,4 @@ This plugin leverages the following third-party services: == Privacy Policy == -This plugin follows strict privacy guidelines. When using the api.payping.ir service, user data is securely transmitted and stored following industry best practices. \ No newline at end of file +This plugin follows strict privacy guidelines. When using the api.payping.ir service, user data is securely transmitted and stored following industry best practices. diff --git a/payping-gravityforms.php b/payping-gravityforms.php index a61b2cf..8a8828b 100644 --- a/payping-gravityforms.php +++ b/payping-gravityforms.php @@ -6,9 +6,11 @@ Plugin URI: https://www.payping.ir/ Author: Hadi Hosseini Author URI: https://hosseini-dev.ir/ +Requires Plugins: persian-gravity-forms License: GPLv3 or later */ if (!defined('ABSPATH')) exit; + function callback_for_setting_up_scripts(){ wp_enqueue_script( 'gf-admin-scripts', plugin_dir_url( __FILE__ ) . 'assets/js/scripts.js', array(), false, false ); wp_enqueue_script( 'shamsi-chart', esc_url(GFPersian_Payments::get_base_url()) . '/assets/js/shamsi_chart.js', array('jquery'), null, false ); @@ -28,6 +30,5 @@ function callback_for_setting_up_scripts(){ } add_action( 'admin_enqueue_scripts', 'callback_for_setting_up_scripts' ); - - require_once('payping.php'); + diff --git a/payping.php b/payping.php index 2a5a0fa..dd6eef9 100644 --- a/payping.php +++ b/payping.php @@ -1857,6 +1857,8 @@ function IsConditionalLogicField(field) { return index >= 0; } + +