Changeset 348391
- Timestamp:
- 02/20/2011 11:52:14 PM (15 years ago)
- File:
-
- 1 edited
-
himis-plugin-organizer/trunk/himiplug.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
himis-plugin-organizer/trunk/himiplug.php
r348381 r348391 2 2 /** 3 3 * Plugin Name: himi's Plugin Organizer 4 * Plugin URI: http://geheimniswelten.de/himi plug4 * Plugin URI: http://geheimniswelten.de/himiPlug 5 5 * Description: details link and plugin filter for admin>plugins 6 6 * details only works with plugins that are available on http://wordpress.org/extend/plugins/ 7 7 * Author: himitsu 8 * Version: 1.1 b8 * Version: 1.1 9 9 * Author URI: http://geheimniswelten.de 10 10 * … … 296 296 $options['comment_enabled'] = (bool)$_POST['himiPluginComment_enabled']; 297 297 $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)); 300 300 update_option('himiPlugin_options', $options); 301 301 }
Note: See TracChangeset
for help on using the changeset viewer.