PluginProbe
BlockSpare – Gutenberg Blocks, AI Content Generator & Site Builder for News, Magazine & Blogs / 5.0.1
BlockSpare – Gutenberg Blocks, AI Content Generator & Site Builder for News, Magazine & Blogs v5.0.1
5.0.1 4.1.0 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.1.0 1.1.1 1.1.2 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 2.1.2 2.5.0 2.5.3 All 39 releases
← All changes | freemius/templates/add-ons.php +8 -11 1.2.3 → 5.0.1 View file →
@@ -331,13 +331,13 @@
331 331 );
332 332 }
333 333 ?>
334 334 <?php else : ?>
335 - <a target="_blank" class="button button-primary" href="<?php echo $latest_download_local_url ?>"><?php echo esc_html( $download_latest_text ) ?></a>
335 + <a target="_blank" rel="noopener" class="button button-primary" href="<?php echo $latest_download_local_url ?>"><?php echo esc_html( $download_latest_text ) ?></a>
336 336 <?php endif ?>
337 337 <div class="button button-primary fs-dropdown-arrow-button"><span class="fs-dropdown-arrow"></span><ul class="fs-dropdown-list" style="display: none">
338 338 <?php if ( $is_allowed_to_install && ! empty( $latest_download_local_url ) ) : ?>
339 - <li><a target="_blank" href="<?php echo $latest_download_local_url ?>"><?php echo esc_html( $download_latest_text ) ?></a></li>
339 + <li><a target="_blank" rel="noopener" href="<?php echo $latest_download_local_url ?>"><?php echo esc_html( $download_latest_text ) ?></a></li>
340 340 <?php endif ?>
341 341 <li><?php
342 342 echo sprintf(
343 343 $view_details_link,
@@ -373,8 +373,14 @@
373 373 <?php $fs->do_action( 'addons/after_addons' ) ?>
374 374 </div>
375 375 <script type="text/javascript">
376 376 (function( $, undef ) {
377 + $( 'a.thickbox' ).on( 'click', function () {
378 + setTimeout( function () {
379 + $( '#TB_window' ).addClass( 'plugin-details-modal' );
380 + }, 0 );
381 + } );
382 +
377 383 <?php if ( $open_addon ) : ?>
378 384
379 385 var interval = setInterval(function () {
380 386 // Open add-on information page.
@@ -490,13 +496,4 @@
490 496 <?php
491 497 if ( $has_tabs ) {
492 498 $fs->_add_tabs_after_content();
493 499 }
494 -
495 - $params = array(
496 - 'page' => 'addons',
497 - 'module_id' => $fs->get_id(),
498 - 'module_type' => $fs->get_module_type(),
499 - 'module_slug' => $slug,
500 - 'module_version' => $fs->get_plugin_version(),
501 - );
502 - fs_require_template( 'powered-by.php', $params );