You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use the WP-Admin widget area to add a new instance of this plugin as a widget, it will always use the default or first item from the WP-Admin settings area. Title and other attributes seem to stick, but the username does not. So if more than one Twitter account is authorized, you can still only use one as a widget.
As a temporary workaround, I redefine the $instance['username'] in public function widget to the value in $instance['title'] so I could get it to work, but it would be great if WP-Admin could save the correct values on widget save.
The $_POST values do appear to be correct when saved to WordPress, but then the AJAX response contains the default Twitter handle.
The text was updated successfully, but these errors were encountered:
If you use the WP-Admin widget area to add a new instance of this plugin as a widget, it will always use the default or first item from the WP-Admin settings area. Title and other attributes seem to stick, but the username does not. So if more than one Twitter account is authorized, you can still only use one as a widget.
As a temporary workaround, I redefine the $instance['username'] in public function widget to the value in $instance['title'] so I could get it to work, but it would be great if WP-Admin could save the correct values on widget save.
The $_POST values do appear to be correct when saved to WordPress, but then the AJAX response contains the default Twitter handle.
The text was updated successfully, but these errors were encountered: