WordPress.org

Ready to get started?Download WordPress

Forums

flickr-slideshow-wrapper
[resolved] Add isset() to fix WP_DEBUG header output (4 posts)

  1. Cliff Seal
    Member
    Posted 1 year ago #

    Hi! Thanks for the plugin—just what a particular client needed.

    Would you consider easing development with WP_DEBUG turned on, by checking if $_POST['action_fssw'] is there first? I've remedied this personally by changing the first lines of the plugin to:

    if ( isset($_POST['action_fssw']) ) {
    	if ('insert' == $_POST['action_fssw']) {
    		update_option("fssw_width",$_POST['fssw_width']);
    		update_option("fssw_height",$_POST['fssw_height']);
    		update_option("fssw_border",$_POST['fssw_border']);
    		update_option("fssw_scroll",$_POST['fssw_scroll']);
    		update_option("fssw_sfli_w",$_POST['fssw_sfli_w']);
    		update_option("fssw_sfli_h",$_POST['fssw_sfli_h']);
    		update_option("fssw_userid",$_POST['fssw_userid']);
        }
    }

    If you have a better suggestion, please let me know. Thanks!

    http://wordpress.org/extend/plugins/flickr-slideshow-wrapper/

  2. Jeannot Muller
    Member
    Posted 1 year ago #

    Hi Cliff!

    Implemented in the latest release (>= 5.2.2), hope it will work for you.

    Cheers,
    Jeannot

  3. Cliff Seal
    Member
    Posted 1 year ago #

    I noticed! Thank you much, Jeannot!

  4. Jeannot Muller
    Member
    Posted 1 year ago #

    My pleasure, sorry for the delay, I wasn't yet subscribed to this forum.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.