Plugin Directory

Changeset 3274497


Ignore:
Timestamp:
04/16/2025 10:13:44 AM (12 months ago)
Author:
theluckywp
Message:

2.1.14

Location:
luckywp-table-of-contents
Files:
146 added
3 edited

Legend:

Unmodified
Added
Removed
  • luckywp-table-of-contents/trunk/luckywp-table-of-contents.php

    r3267883 r3274497  
    44Plugin URI: https://theluckywp.com/product/table-of-contents/
    55Description: Creates a table of contents for your posts/pages. Works automatically or manually (via shortcode, Gutenberg block or widget).
    6 Version: 2.1.13
     6Version: 2.1.14
    77Author: LuckyWP
    88Author URI: https://theluckywp.com/
     
    5050
    5151$config = require(__DIR__ . '/config/plugin.php');
    52 (new \luckywp\tableOfContents\plugin\Plugin($config))->run('2.1.13', __FILE__, 'lwptoc_');
     52(new \luckywp\tableOfContents\plugin\Plugin($config))->run('2.1.14', __FILE__, 'lwptoc_');
    5353
    5454require_once __DIR__ . '/functions.php';
  • luckywp-table-of-contents/trunk/plugin/Shortcode.php

    r3267883 r3274497  
    1515use function count;
    1616use function is_bool;
     17use function is_scalar;
    1718use function is_string;
    1819
     
    284285        $shortcode = '[' . $this->getTag();
    285286        foreach ($attrs as $k => $v) {
    286             if ($v !== null) {
     287            if (is_scalar($v)) {
    287288                if (is_string($v)) {
    288289                    $v = wp_slash(
  • luckywp-table-of-contents/trunk/readme.txt

    r3267883 r3274497  
    55Requires at least: 4.7
    66Tested up to: 6.7
    7 Stable tag: 2.1.13
     7Stable tag: 2.1.14
    88Requires PHP: 5.6.20
    99License: GPLv2 or later
     
    161161== Changelog ==
    162162
     163= 2.1.14 — 2025-04-16 =
     164* Fix bug with array to string conversion.
     165
    163166= 2.1.13 — 2025-04-07 =
    164167* Minor performance improvements.
Note: See TracChangeset for help on using the changeset viewer.