Plugin Directory

Changeset 3216570


Ignore:
Timestamp:
01/03/2025 04:46:44 PM (15 months ago)
Author:
premila
Message:

Fixed reviewer issues.

Location:
gutensee
Files:
92 added
3 edited

Legend:

Unmodified
Added
Removed
  • gutensee/trunk/gutensee.php

    r3214101 r3216570  
    44* Plugin URI:
    55* Description:          Gutensee is a Gutenberg base block plugin that helps to build a beautiful block websites.
    6 * Version:              1.0.6
     6* Version:              1.0.7
    77* Requires at least:    5.3
    88* Requires PHP:         5.4
     
    1616*/
    1717if( !defined( 'ABSPATH' ) ) {exit(); }
    18 define('GUTENSEE_VERSION', '1.0.6');
     18define('GUTENSEE_VERSION', '1.0.7');
    1919define('GUTENSEE_PLUGIN_PATH',trailingslashit(plugin_dir_path(__FILE__)));
    2020define('GUTENSEE_PLUGIN_URL',trailingslashit(plugins_url('/',__FILE__)));
  • gutensee/trunk/inc/blocks/breadcrumbs.php

    r3213880 r3216570  
    2828
    2929    $output =wp_kses($attributes['addcss'], $allowed_tags);
    30     $heading_level = isset($attributes['headingLevel']) ? esc_attr($attributes['headingLevel']) : 'h2';
    31     $output .= '<div id="'.$attributes['advid'].'"><div id="'.$uniqueid.'" class="gutensee-breadcrumb '.$displayclass.' '.$animationclass.' '.$attributes['advclass'].'">';
     30    $valid_heading_levels = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'];
     31    $heading_level = in_array($attributes['headingLevel'], $valid_heading_levels) ? $attributes['headingLevel'] : 'h2';
     32    $output .= '<div id="'.esc_attr($attributes['advid']).'"><div id="'.esc_attr($uniqueid).'" class="gutensee-breadcrumb '.esc_attr($displayclass).' '.esc_attr($animationclass).' '.esc_attr($attributes['advclass']).'">';
    3233    // Initialize the output with the current page title or other relevant titles
    3334    $output .= '<' . esc_attr($heading_level) . '>';
  • gutensee/trunk/readme.txt

    r3214101 r3216570  
    55Requires at least: 5.3
    66Tested up to: 6.7.1
    7 Stable tag: 1.0.6
     7Stable tag: 1.0.7
    88Requires PHP: 5.4
    99License: GPLv2 or later
     
    4747
    4848== Changelog ==
     49
     50@Version 1.0.7
     51* Fixed reviewer issues.
    4952
    5053@Version 1.0.6
Note: See TracChangeset for help on using the changeset viewer.