Yeah, I was getting to that too…it fixed a debug error but it’s obviously missing something.

Here’s the codex article on it http://codex.wordpress.org/Widgets_API

Kind Regards, 
Trisha Salas

On January 19, 2014 at 8:54:16 PM, luke crouch (notifications@github.com) wrote:

In promote-mdn.php:

> @@ -489,7 +480,7 @@ public function form( $instance ) {
>  <?php
>          }
>   
> -        public function update( $new_instance ) {
> +        public function update( $new_instance, $old_instance ) {
Looks like this is causing the test error on the Travis CI build.

The fix is probably to add an $old_instance argument to WidgetTest.php:16

—
Reply to this email directly or view it on GitHub.