Changeset 3320473
- Timestamp:
- 07/01/2025 09:22:43 AM (9 months ago)
- Location:
- section-blocks/trunk
- Files:
-
- 5 added
- 2 edited
-
appsero (added)
-
appsero/src (added)
-
appsero/src/Client.php (added)
-
appsero/src/Insights.php (added)
-
appsero/src/License.php (added)
-
readme.txt (modified) (2 diffs)
-
section-blocks.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
section-blocks/trunk/readme.txt
r3318999 r3320473 3 3 Tags: gutenberg, blocks, sections,Layout,Design 4 4 Tested up to: 6.8.1 5 Stable tag: 1.2. 15 Stable tag: 1.2.2 6 6 License: GPL-2.0 0r later 7 7 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 95 95 96 96 == Changelog == 97 = 1.2.2 = 98 * Added analytics integration with Appsero for plugin usage insights 99 * Implemented user permission-based data collection and tracking 100 * Enhanced plugin performance monitoring capabilities 101 * Updated minimum PHP requirement from 7.0 to 7.4 for better compatibility 102 * Added comprehensive analytics tracking system with user consent 103 * Improved plugin architecture for better maintainability 104 * Enhanced security and performance benefits with PHP 7.4+ requirement 105 97 106 = 1.2.1 = 98 107 * Added Services Section block with service cards and CTA buttons -
section-blocks/trunk/section-blocks.php
r3318999 r3320473 20 20 exit; 21 21 } 22 define('SECTION_BLOCKS_VERSION', '1.2.1'); 23 define('SECTION_BLOCKS_PLUGIN_DIR', plugin_dir_path(__FILE__)); 24 define('SECTION_BLOCKS_PLUGIN_URL', plugin_dir_url(__FILE__)); 25 26 /** 27 * Initialize the plugin tracker 28 * 29 * @return void 30 */ 31 function appsero_init_tracker_section_blocks() 32 { 33 34 if (! class_exists('Appsero\Client')) { 35 require_once __DIR__ . '/appsero/src/Client.php'; 36 } 37 38 $client = new Appsero\Client('45b26c49-c55e-4d6c-b4fb-9da005eb546b', 'Section Blocks', __FILE__); 39 40 // Active insights 41 $client->insights()->init(); 42 } 43 44 appsero_init_tracker_section_blocks(); 22 45 /** 23 46 * Registers the block using a `blocks-manifest.php` file, which improves the performance of block type registration. … … 318 341 $recaptcha_secret_key = get_option('section_blocks_recaptcha_secret_key', ''); 319 342 ?> 320 <div class="wrap">321 <h1>Newsletter Settings</h1>322 <form method="post" action="">323 <table class="form-table">324 <tr>325 <th scope="row">Mailchimp API Key</th>326 <td>327 <input type="text" name="mailchimp_api_key" value="<?php echo esc_attr($mailchimp_api_key); ?>"328 class="regular-text" />329 <p class="description">Enter your Mailchimp API key for newsletter integration.</p>330 </td>331 </tr>332 <tr>333 <th scope="row">reCAPTCHA Site Key</th>334 <td>335 <input type="text" name="recaptcha_site_key" value="<?php echo esc_attr($recaptcha_site_key); ?>"336 class="regular-text" />337 <p class="description">Enter your Google reCAPTCHA site key.</p>338 </td>339 </tr>340 <tr>341 <th scope="row">reCAPTCHA Secret Key</th>342 <td>343 <input type="text" name="recaptcha_secret_key"344 value="<?php echo esc_attr($recaptcha_secret_key); ?>" class="regular-text" />345 <p class="description">Enter your Google reCAPTCHA secret key.</p>346 </td>347 </tr>348 </table>349 <?php submit_button(); ?>350 </form>351 352 <h2>Newsletter Subscribers</h2>353 <?php343 <div class="wrap"> 344 <h1>Newsletter Settings</h1> 345 <form method="post" action=""> 346 <table class="form-table"> 347 <tr> 348 <th scope="row">Mailchimp API Key</th> 349 <td> 350 <input type="text" name="mailchimp_api_key" value="<?php echo esc_attr($mailchimp_api_key); ?>" 351 class="regular-text" /> 352 <p class="description">Enter your Mailchimp API key for newsletter integration.</p> 353 </td> 354 </tr> 355 <tr> 356 <th scope="row">reCAPTCHA Site Key</th> 357 <td> 358 <input type="text" name="recaptcha_site_key" value="<?php echo esc_attr($recaptcha_site_key); ?>" 359 class="regular-text" /> 360 <p class="description">Enter your Google reCAPTCHA site key.</p> 361 </td> 362 </tr> 363 <tr> 364 <th scope="row">reCAPTCHA Secret Key</th> 365 <td> 366 <input type="text" name="recaptcha_secret_key" 367 value="<?php echo esc_attr($recaptcha_secret_key); ?>" class="regular-text" /> 368 <p class="description">Enter your Google reCAPTCHA secret key.</p> 369 </td> 370 </tr> 371 </table> 372 <?php submit_button(); ?> 373 </form> 374 375 <h2>Newsletter Subscribers</h2> 376 <?php 354 377 global $wpdb; 355 378 $table_name = $wpdb->prefix . 'newsletter_subscribers'; … … 373 396 } 374 397 ?> 375 </div>398 </div> 376 399 <?php 377 400 }
Note: See TracChangeset
for help on using the changeset viewer.