Skip to content

Commit

Permalink
Twenty Eleven: Document the $instance parameter in Ephemera widget …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
SergeyBiryukov committed Oct 9, 2024
1 parent 2ae4473 commit ccb77c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/wp-content/themes/twentyeleven/inc/widgets.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'] ) : '';
Expand Down

0 comments on commit ccb77c5

Please sign in to comment.