[Plugin: Sociable] options panel
-
Hi guys,
Just wanted to share this “fix” I had to apply to stop the errors in my options-panel…
Line 1193 sociable.php: I added a value check in the foreach.
foreach($curconditionals as $condition=>$toggled) { $value = array_key_exists($condition, $_POST['conditionals']); $conditionals[$condition] = ( isset($value) && $value == 1 ) ? 1 : 0; }
And around line 1316 in sociable.php: I had to add a second parameter to checked(), being ‘1’.
<input type="checkbox" name="conditionals[is_home]"<?php checked($conditionals['is_home'], 1); ?> /> <?php _e("Front page of the blog", 'sociable'); ?><br />
and so for each input checkbox.
With kind regards,
Kim
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Sociable] options panel’ is closed to new replies.