Plugin Directory

Changeset 2919300


Ignore:
Timestamp:
05/30/2023 08:35:15 PM (3 years ago)
Author:
doubledome
Message:
  • Fixed Category delete issue and Table install issue on specific servers.
  • Releasing Plugin version 1.1
Location:
doubledome-resource-link-library
Files:
11 added
4 edited

Legend:

Unmodified
Added
Removed
  • doubledome-resource-link-library/trunk/doubledome-resource-link-library.php

    r2911204 r2919300  
    66 * Author:      DoubleDome Digital Marketing
    77 * Author URI:  https://www.doubledome.com/doubledome-resource-link-library
    8  * Version:     1.0
     8 * Version:     1.1
    99 * License:     GPL-2.0+
    1010 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
     
    1616define( 'DDRLL_ROOT', __DIR__ ); // Setup plugin directory Root path
    1717define( 'DDRLL_URL', plugins_url('',__FILE__) ); // Setup plugin URL path
    18 define( 'DDRLL_VERSION', "1.0");
     18define( 'DDRLL_VERSION', "1.1");
    1919
    2020require_once(DDRLL_ROOT . '/includes/class-ddrll.php');
  • doubledome-resource-link-library/trunk/includes/class-ddrll-install.php

    r2911204 r2919300  
    5555
    5656        $categorysql = "
    57         CREATE TABLE {$wpdb->prefix}ddrll_category (
     57        CREATE TABLE IF NOT EXISTS {$wpdb->prefix}ddrll_category (
    5858          CatID INT UNSIGNED NOT NULL AUTO_INCREMENT,
    5959          CatName VARCHAR(100) NOT NULL,
    6060          IsDeleted TINYINT(1) NOT NULL DEFAULT '0',
    6161          CreatedDate DATETIME NOT NULL,
    62           UpdatedDate DATETIME NOT NULL DEFAULT  CURRENT_TIMESTAMP,
    63           PRIMARY KEY  (CatID),
     62          UpdatedDate DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
     63          PRIMARY KEY  (`CatID`),
    6464          INDEX(`CatName`)
    6565        ) $collate;
     
    6767       
    6868        $resourcesql = "
    69         CREATE TABLE {$wpdb->prefix}ddrll_resource (
     69        CREATE TABLE IF NOT EXISTS {$wpdb->prefix}ddrll_resource (
    7070            `ResourceID` INT UNSIGNED NOT NULL AUTO_INCREMENT,
    7171            `Title` VARCHAR(255) NOT NULL,
    72             `Link` VARCHAR(500) NOT NULL,
     72            `Link` VARCHAR(255) NOT NULL,
    7373            `IsDeleted` TINYINT(1) NOT NULL DEFAULT '0',
    7474            `CreatedDate` DATETIME NOT NULL,
     
    8181
    8282        $resourcecatlinksql = "
    83         CREATE TABLE {$wpdb->prefix}ddrll_resource_category (
     83        CREATE TABLE IF NOT EXISTS {$wpdb->prefix}ddrll_resource_category (
    8484            `LinkID` INT UNSIGNED NOT NULL AUTO_INCREMENT,
    8585            `ResourceID` INT UNSIGNED NOT NULL,
  • doubledome-resource-link-library/trunk/includes/class-ddrll.php

    r2911204 r2919300  
    2727        add_submenu_page( '', 'Edit Category', 'Edit Category','edit_posts','ddrll_edit_category', array($this,'ddrll_edit_category_function'));
    2828        add_submenu_page( '', 'Delete Resource', 'Delete Resource','edit_posts','ddrll_delete_resource', array($this,'ddrll_delete_resource_function'));
     29        add_submenu_page( '', 'Delete Category', 'Delete Category','edit_posts','ddrll_delete_category', array($this,'ddrll_category_delete_function'));
    2930        add_submenu_page( 'ddrll_resource_link_library', 'Plugin Support', 'Plugin Support','read','ddrll_plugin_support', array($this,'ddrll_plugin_support_function'));   
    3031    }
  • doubledome-resource-link-library/trunk/readme.txt

    r2911204 r2919300  
    33Tags: resource file library, video link library, pdf resources library, save links with categories
    44Requires at least: 5.4
    5 Tested up to: 6.2
    6 Stable tag: 1.0
     5Tested up to: 6.2.2
     6Stable tag: 1.1
    77License: GPL-2.0+
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3838== Changelog ==
    3939
     40= 1.1 =
     41* Fixed category delete issue and an issue with table field varchar limit on specific servers.
     42
    4043= 1.0 =
    4144* Initial release of the plugin.
Note: See TracChangeset for help on using the changeset viewer.