wp/wp-includes/class-wp-widget.php
changeset 22 8c2e4d02f4ef
parent 21 48c4eec2b7e6
equal deleted inserted replaced
21:48c4eec2b7e6 22:8c2e4d02f4ef
   135 	/**
   135 	/**
   136 	 * Outputs the settings update form.
   136 	 * Outputs the settings update form.
   137 	 *
   137 	 *
   138 	 * @since 2.8.0
   138 	 * @since 2.8.0
   139 	 *
   139 	 *
   140 	 * @param array $instance Current settings.
   140 	 * @param array $instance The settings for the particular instance of the widget.
   141 	 * @return string Default return is 'noform'.
   141 	 * @return string|void Default return is 'noform'.
   142 	 */
   142 	 */
   143 	public function form( $instance ) {
   143 	public function form( $instance ) {
   144 		echo '<p class="no-options-widget">' . __( 'There are no options for this widget.' ) . '</p>';
   144 		echo '<p class="no-options-widget">' . __( 'There are no options for this widget.' ) . '</p>';
   145 		return 'noform';
   145 		return 'noform';
   146 	}
   146 	}