Plugin Directory

Changeset 3363037


Ignore:
Timestamp:
09/17/2025 09:32:06 AM (7 months ago)
Author:
amuselabs
Message:

Release version 1.2.2

Location:
puzzleme
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • puzzleme/trunk/puzzleme.php

    r3352423 r3363037  
    22/*
    33   Plugin Name: PuzzleMe for WordPress
    4    Version: 1.2.1
     4   Version: 1.2.2
    55   Description: Embed PuzzleMe puzzles in your posts and pages with a shortcode
    66   Author: Amuse Labs
     
    6767        )
    6868    );
     69   
     70    $attributionHTMLTags = array(
     71        'a' => array(
     72            'href' => true,
     73            'target' => true,
     74            'style' => true
     75        )
     76    );
    6977
    7078    $valid_embed_types = array('crossword', 'sudoku', 'wordsearch', 'quiz', 'krisskross', 'wordf', 'codeword', 'wordrow', 'jigsaw', 'date-picker');
     
    116124                    }
    117125                    if (isset($attributes['attribution'])) {
    118                         $embed_variables['$attribution_text'] = esc_html($attributes['attribution']);
     126                        $embed_variables['$attribution_text'] = wp_kses($attributes['attribution'], $attributionHTMLTags);
    119127                        return wp_kses(strtr($embed_html_attributions, $embed_variables), $allowedHTMLtags);
    120128                    } else {
  • puzzleme/trunk/readme.txt

    r3352423 r3363037  
    44Requires at least: 3.9
    55Tested up to: 6.8.2
    6 Stable tag: 1.2.1
     6Stable tag: 1.2.2
    77Requires PHP: 7.0
    88License: GPLv2 or later
Note: See TracChangeset for help on using the changeset viewer.