Plugin Directory

Changeset 3370747


Ignore:
Timestamp:
09/30/2025 11:12:59 PM (3 months ago)
Author:
tryinteract
Message:

Update to version 3.2 in trunk

Location:
interact-quiz-embed/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • interact-quiz-embed/trunk/interact-quiz-embed.php

    r2990262 r3370747  
    55Description: Use this plugin to embed your Interact quiz into your Wordpress site.
    66Author: The Quiz Collective Inc.
    7 Version: 3.1
     7Version: 3.2
    88Author URI: https://www.tryinteract.com
    99
     
    169169function interact_option_page(){
    170170
    171     if(isset($_POST['interact_promotion_id'])) {
     171    if(isset($_POST['interact_promotion_id']) && wp_verify_nonce($_POST['interact_promotion_nonce'], 'interact_promotion_action')) {
    172172        $updatedPromoId = false;
    173173        $newId = sanitize_text_field($_POST['interact_promotion_id']);
     
    190190        <h1>Interact Quiz Embed Plugin</h1>
    191191        <hr/>
    192         <h2>Embed your Quiz, Poll, or Giveaway with a Shortcode</h2>
     192        <h2>Embed your Quiz with a Shortcode</h2>
    193193        <p>This plugin generates a shortcode which embeds your Interact App into your WordPress content. <a href='https://en.support.wordpress.com/shortcodes/' target='_blank'>How do I use a shortcode?</a></p>
    194194        <?php
    195         if(isset($_POST['app_url'])) {
     195        if(isset($_POST['app_url']) && wp_verify_nonce($_POST['interact_shortcode_nonce'], 'interact_shortcode_action')) {
    196196
    197197            $app_url = sanitize_url($_POST['app_url']);
     
    236236        ?>
    237237        <form action="" method="post" id="interact-embed-form">
     238            <?php wp_nonce_field('interact_shortcode_action', 'interact_shortcode_nonce'); ?>
    238239            <table class="form-table">
    239240                <tr>
     
    272273        <h2>Promote your Quiz with a Popup or Announcement Bar</h2>
    273274        <form action="" method="post">
     275            <?php wp_nonce_field('interact_promotion_action', 'interact_promotion_nonce'); ?>
    274276            <p>Enter your <b>Promotion ID</b> which can be found in your dashboard under 'Embed &amp; Share'</p>
    275277            <table class="form-table">
  • interact-quiz-embed/trunk/readme.txt

    r2990262 r3370747  
    33Tags: interact, quiz, poll, giveaway, embed, shortcode, promotion
    44Requires at least: 3.0.1
    5 Tested up to: 6.3.2
    6 Stable tag: 3.1
     5Tested up to: 6.8.2
     6Stable tag: 3.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.