Plugin Directory

Changeset 3212536


Ignore:
Timestamp:
12/24/2024 10:26:37 AM (12 months ago)
Author:
xavivars
Message:

v1.40: Increase source column length (changet to text)

Location:
xv-random-quotes/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • xv-random-quotes/trunk/changelog.txt

    r3212515 r3212536  
    11== XV Random Quotes ==
     2= 1.40 =
     3Increases length of source
     4* See https://wordpress.org/support/topic/when-a-source-has-a-long-url/
     5
    26= 1.38 =
    37Fixes unnecessary logging
  • xv-random-quotes/trunk/lib/class.constants.php

    r3212515 r3212536  
    1616
    1717    const PLUGIN_OPTIONS = 'stray_quotes_options';
    18     const VERSION = '1.38';
     18    const VERSION = '1.40';
    1919    const DEFAULT_CATEGORY_OPTION    = 'stray_default_category';
    2020    const DEFAULT_RELOAD_TEXT_OPTION     = 'stray_loader';
  • xv-random-quotes/trunk/readme.txt

    r3212515 r3212536  
    44Tags: quotes, random, widget, sidebar, random quotes, random words, quotations, words, randomness, shortcodes
    55Requires at least: 2.3
    6 Tested up to: 6.3
    7 Stable tag: 1.38
     6Tested up to: 6.7
     7Stable tag: 1.40
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • xv-random-quotes/trunk/xv-random-quotes.php

    r3212515 r3212536  
    55Author: Xavi Ivars
    66Author URI: http://xavi.ivars.me/
    7 Version: 1.38
     7Version: 1.40
    88License: http://www.gnu.org/copyleft/gpl.html GNU General Public License
    99*/
     
    583583    }
    584584
     585    // <= 1.40
     586    if( $quotesoptions['stray_quotes_version'] < 1400) {
     587        $wpdb->query('ALTER TABLE `' . XV_RANDOMQUOTES_TABLE . '` MODIFY `source` TEXT NOT NULL');
     588    }
     589
    585590    //!!  CHANGE THIS WITH EVERY NEW VERSION !!
    586     $quotesoptions['stray_quotes_version'] = 199;
     591    $quotesoptions['stray_quotes_version'] = 1400;
    587592   
    588593    //reset the removal option for everyone
Note: See TracChangeset for help on using the changeset viewer.