From ccb77c523a49549ffe713720d9c56899f3be3a6c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 9 Oct 2024 20:15:12 +0000 Subject: [PATCH] Twenty Eleven: Document the `$instance` parameter in Ephemera widget form. Follow-up to [17669], [25625]. Props parthvataliya. See #62183. git-svn-id: https://develop.svn.wordpress.org/trunk@59200 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyeleven/inc/widgets.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-content/themes/twentyeleven/inc/widgets.php b/src/wp-content/themes/twentyeleven/inc/widgets.php index 5ba4f1a438874..7335daad86588 100644 --- a/src/wp-content/themes/twentyeleven/inc/widgets.php +++ b/src/wp-content/themes/twentyeleven/inc/widgets.php @@ -186,6 +186,8 @@ public function flush_widget_cache() { * Displays the form for this widget on the Widgets page of the WP Admin area. * * @since Twenty Eleven 1.0 + * + * @param array $instance The settings for the particular instance of the widget. */ public function form( $instance ) { $title = isset( $instance['title'] ) ? esc_attr( $instance['title'] ) : '';