Plugin Directory

Changeset 348391


Ignore:
Timestamp:
02/20/2011 11:52:14 PM (15 years ago)
Author:
himitsu
Message:

v1.1b

File:
1 edited

Legend:

Unmodified
Added
Removed
  • himis-plugin-organizer/trunk/himiplug.php

    r348381 r348391  
    22/**
    33 * Plugin Name: himi's Plugin Organizer
    4  * Plugin URI:  http://geheimniswelten.de/himiplug
     4 * Plugin URI:  http://geheimniswelten.de/himiPlug
    55 * Description: details link and plugin filter for admin>plugins
    66 *              details only works with plugins that are available on http://wordpress.org/extend/plugins/
    77 * Author:      himitsu
    8  * Version:     1.1b
     8 * Version:     1.1
    99 * Author URI:  http://geheimniswelten.de
    1010 *
     
    296296    $options['comment_enabled'] = (bool)$_POST['himiPluginComment_enabled'];
    297297    $options['comment_new_line'] = (bool)$_POST['himiPluginComment_new_line'];
    298     $options['comment_text_width'] = ($i = intval($_POST['himiPluginComment_text_width'])
    299       && ($i > 15) && ($i < 99)) ? $i : 50;
     298    $i = intval($_POST['himiPluginComment_text_width']);
     299    $options['comment_text_width'] = (($i == 0) ? 50 : min(max($i, 10), 99));
    300300    update_option('himiPlugin_options', $options);
    301301  }
Note: See TracChangeset for help on using the changeset viewer.