You might be developing on a machine with PHP set to report few errors, hence you probably didn't see this issue. Here's a patch, though I'm not quite sure how it would be possible for 'widgets_mode' to exist in $_POST but not $_REQUEST.

CommentFileSizeAuthor
embed_widgets_undefined_index.diff780 bytesdalin

Comments

dalin’s picture

Status: Active » Needs review
jtsnow’s picture

Status: Needs review » Fixed

Yes, the latest dev version has been simplified to this one line:

$widgets_mode = $_REQUEST['widgets_mode'];

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.