Hi, first of all thanks for this plugin, as it's made life a lot easier for me.
However, the 'Hide Thickbox Buttons' option resets to checked every time I visit the options page. It's fine if I uncheck it and save, but it will reset back to checked and my thickbox buttons disappear the next time I go to change options. The main reason I need the buttons visible is because I have other plugins which have added icons there to insert forms, etc.
Not a big problem, but would be great if you fixed this in a future version!
http://wordpress.org/extend/plugins/inline-attachments/
TheFluffyDoneky
Member
Posted 10 months ago #
Lovely Plugin, thanks!
However, update_option() on line 544 in inline-attachments.php 'fails' when new value is false. Doesn't seem to like your 'booleans'.
Got it 'fixed' with some quick and dirty hackery. In inline-attachments.php you may want to adjust the following lines to:
Line 77:
if (!in_array($abd, $active_plugins) && $enabled === 'true'){
Line 377:
if(get_option("ia_hide_thickbox_buttons") === 'true'){
Line 543:
$enabled = $_POST["features"][$count] == true ? $_POST["features"][$count] : 'false';
Line 674:
$enabled = get_option($feature[1]) === 'true' ? true : false;
Hope this helps. Cheers!
gn.ozdemir
Member
Posted 8 months ago #
Worked for me. Thank you dude.
janubande007
Member
Posted 1 month ago #
I'm seeing this problem and I don't have the ability to change code. Just a dumb user here. Can we get a Fix?