| @@ -1,8 +1,8 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | defined( 'ABSPATH' ) || exit; |
| 3 | 3 | |
| 4 | -final class Elementor_ULTP_Extension { | |
| 4 | +final class ULTP_Elementor_Extension { | |
| 5 | 5 | |
| 6 | 6 | private static $_instance = null; |
| 7 | 7 | |
| 8 | 8 | public static function instance() { |
| @@ -34,12 +34,11 @@ | ||
| 34 | 34 | 'ultp-script', |
| 35 | 35 | 'ultp_data_frontend', |
| 36 | 36 | array( |
| 37 | 37 | 'url' => ULTP_URL, |
| 38 | - 'active' => ultimate_post()->is_lc_active(), | |
| 39 | 38 | 'ultpSavedDLMode' => ultimate_post()->get_dl_mode(), |
| 40 | 39 | 'ajax' => admin_url( 'admin-ajax.php' ), |
| 41 | - 'security' => wp_create_nonce( 'ultp-nonce' ), | |
| 40 | + 'security' => wp_create_nonce( 'ultp-public-nonce' ), | |
| 42 | 41 | 'home_url' => home_url(), |
| 43 | 42 | 'dark_logo' => get_option( 'ultp_site_dark_logo', false ), |
| 44 | 43 | ) |
| 45 | 44 | ); |
| @@ -50,7 +49,7 @@ | ||
| 50 | 49 | } |
| 51 | 50 | |
| 52 | 51 | public function register_widgets() { |
| 53 | 52 | $this->includes(); |
| 54 | - \Elementor\Plugin::instance()->widgets_manager->register( new \Gutenberg_Post_Blocks_Widget() ); | |
| 53 | + \Elementor\Plugin::instance()->widgets_manager->register( new \ULTP_Elementor_Post_Blocks_Widget() ); | |
| 55 | 54 | } |
| 56 | 55 | } |