Support » Plugin: Widget Wrangler » QuickEdit deletes code in Advanced Parsing

  • Resolved JochenT

    (@jochent)


    Hi Jonathan,

    I’ve encountered some problems during the last days. I put them in separate posts.
    This one is an old error reappearing. When using ‘QuickEdit’ mode the values are sent as GET parameters now. In your plugin you do check only for POST parameters. Also the current name ‘quickeditfix’ is misleading and results in wrong logic. I’ve found that QuickEdit sends a param ‘_inline_edit’. I think this is easier and more clear. You may replace in file ww-widget-class.php line 161:
    if (isset($_POST['quickeditfix']) && $_POST['quickeditfix'] != "true") { return; }
    with
    if (isset($_REQUEST['_inline_edit'])) { return; }

    Line 256 can be deleted.

    https://wordpress.org/plugins/widget-wrangler/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘QuickEdit deletes code in Advanced Parsing’ is closed to new replies.