| @@ -27,9 +27,9 @@ | ||
| 27 | 27 | /* translators: %s: Link to freemius.com */ |
| 28 | 28 | fs_text_inline( 'For compliance with the WordPress.org guidelines, before we start the trial we ask that you opt in with your user and non-sensitive site information, allowing the %s to periodically send data to %s to check for version updates and to validate your trial.', 'start-trial-prompt-message', $slug ), |
| 29 | 29 | $fs->get_module_type(), |
| 30 | 30 | sprintf( |
| 31 | - '<a href="%s" target="_blank">%s</a>', | |
| 31 | + '<a href="%s" target="_blank" rel="noopener">%s</a>', | |
| 32 | 32 | 'https://freemius.com', |
| 33 | 33 | 'freemius.com' |
| 34 | 34 | ) |
| 35 | 35 | ); |
| @@ -79,9 +79,9 @@ | ||
| 79 | 79 | |
| 80 | 80 | var $button = $(this); |
| 81 | 81 | |
| 82 | 82 | $.ajax({ |
| 83 | - url : ajaxurl, | |
| 83 | + url : <?php echo Freemius::ajax_url() ?>, | |
| 84 | 84 | method : 'POST', |
| 85 | 85 | data : { |
| 86 | 86 | action : '<?php echo $fs->get_ajax_action( 'start_trial' ) ?>', |
| 87 | 87 | security : '<?php echo $fs->get_ajax_security( 'start_trial' ) ?>', |