Title: writeclick's Replies | WordPress.org

---

# writeclick

  [  ](https://wordpress.org/support/users/writeclick/)

 *   [Profile](https://wordpress.org/support/users/writeclick/)
 *   [Topics Started](https://wordpress.org/support/users/writeclick/topics/)
 *   [Replies Created](https://wordpress.org/support/users/writeclick/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/writeclick/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/writeclick/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/writeclick/engagements/)
 *   [Favorites](https://wordpress.org/support/users/writeclick/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Front-end Editor] Warning: Missing argument 2 for FEE_Field_Widget_Text::wrap()](https://wordpress.org/support/topic/warning-missing-argument-2-for-fee_field_widget_textwrap/)
 *  [writeclick](https://wordpress.org/support/users/writeclick/)
 * (@writeclick)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/warning-missing-argument-2-for-fee_field_widget_textwrap/#post-2238685)
 * I was able to fix this error by removing the $instance argument from the function
   on line 101 of front-end-editor/php/fields/widget.php.
 * The new version looks like this:
 *     ```
       function wrap( $content, $id_base = null ) {
       	// Only target text widgets
       	if ( 'title' == $this->field && 'text' != $id_base )
       		return $content;
   
       	if ( 'text' == $this->field )
       		$content = $this->placehold($content);
   
       	return FEE_Field_Base::wrap( $content, array() );
       }
       ```
   
 * Hopefully this helps out a few people. No warranty or guarantees this won’t break
   something else, but so far, so good on several of my installs. For what it’s 
   worth, the $instance parameter of the wrap function above doesn’t seem to be 
   used in the function, so I’m not sure why it’s there anyway.

Viewing 1 replies (of 1 total)