Make CRM exports download reliably
All checks were successful
Test and publish WordPress plugin / release (push) Successful in 19s
All checks were successful
Test and publish WordPress plugin / release (push) Successful in 19s
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* Plugin URI: https://hostlabs.pro/
|
||||
* Update URI: https://git.labs.casa/josh/jenhomeforms
|
||||
* Description: Jen Home Houzez contact fields, inquiry ownership and protected CSV exports.
|
||||
* Version: 1.3.0
|
||||
* Version: 1.4.0
|
||||
* Requires at least: 6.2
|
||||
* Requires PHP: 8.1
|
||||
* Author: Josh Stevens Sr
|
||||
@@ -13,7 +13,7 @@
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
final class Jenhome_Contact_Exports {
|
||||
const VERSION = '1.3.0';
|
||||
const VERSION = '1.4.0';
|
||||
const INQUIRY_OWNER_ID = 7;
|
||||
const ACTIONS = ['houzez_ele_inquiry_form', 'houzez_ele_contact_form', 'houzez_property_agent_contact', 'houzez_schedule_send_message', 'houzez_contact_realtor'];
|
||||
// Verified Elementor widgets: contact page and the two Get Started popups.
|
||||
@@ -80,6 +80,7 @@ final class Jenhome_Contact_Exports {
|
||||
wp_localize_script('jenhome-contact-exports', 'JenhomeContact', [
|
||||
'actions' => self::ACTIONS, 'referralForms' => self::REFERRAL_FORMS,
|
||||
'referrals' => self::referrals(), 'nonce' => wp_create_nonce('jenhome_contact'),
|
||||
'ajaxUrl' => admin_url('admin-ajax.php'),
|
||||
'exportNonce' => is_user_logged_in() ? wp_create_nonce('jenhome_export') : '',
|
||||
]);
|
||||
wp_register_style('jenhome-contact-exports', false, [], self::VERSION);
|
||||
|
||||
Reference in New Issue
Block a user