• 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/

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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!

    Worked for me. Thank you dude.

    janubande007

    (@janubande007)

    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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Inline Attachments] Hide Thickbox Buttons option resetting’ is closed to new replies.