Plugin Directory

Changeset 2551420


Ignore:
Timestamp:
06/21/2021 12:44:49 PM (5 years ago)
Author:
serviceslbk
Message:

init 1.0.2

Location:
lbk-table-of-content
Files:
11 added
2 edited

Legend:

Unmodified
Added
Removed
  • lbk-table-of-content/trunk/lbk-toc.php

    r2541662 r2551420  
    88 * @license GPL-2.0-or-later
    99 * @category plugin
    10  * @version 1.0.1
     10 * @version 1.0.2
    1111 *
    1212 * @wordpress-plugin
     
    1414 * Plugin URI:        https://lbk.vn/
    1515 * Description:       LBK Table Of Content
    16  * Version:           1.0.1
    17  * Requires at least: 1.0.1
     16 * Version:           1.0.2
     17 * Requires at least: 1.0.2
    1818 * Requires PHP:      7.4
    1919 * Author:            Briki - LBK
     
    5252         * @var string
    5353         */
    54         const VERSION = '1.0.0';
     54        const VERSION = '1.0.2';
    5555
    5656        /**
     
    157157         */
    158158        public static function add_toc($content) {
    159             if ( is_single() ) {
     159            if ( is_single() && ! empty( $content ) ) {
    160160                $dom = new DOMDocument();
    161161                $previous_value = libxml_use_internal_errors(TRUE);
  • lbk-table-of-content/trunk/readme.txt

    r2541662 r2551420  
    33Donate link: https://lbk.vn/
    44Tags: table of content, lbk-toc, lbk, toc
    5 Requires at least: 1.0.1
     5Requires at least: 1.0.2
    66Tested up to: 5.7
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.2
    88Requires PHP: 7.4
    99License: GPLv2 or later
Note: See TracChangeset for help on using the changeset viewer.