in the node_example_form() function there's:
$output .= form_textarea(t('Body'), 'body', $node->body, 60, 20, filter_tips_short());

which (as far as i can tell) is wrong... there's no filter_tips_short() anymore... it should read:
$output .= form_textarea(t('Body'), 'body', $node->body, 60, 20, '', NULL, TRUE);

Comments

_tag_@zibarda.mine.nu’s picture

sorry, forgot the line #
the offending line is in line 139

drewish’s picture

Component: Misc » Developer Guide

While this maybe an issue in 4.6 branch, in HEAD, the new forms API has replaced it.

Tresler’s picture

Assigned: Unassigned » Tresler
Status: Needs review » Closed (won't fix)

Forms API replaces this - also there was no patch attached.

shunting’s picture

There's a link in version 5 of the APIs to node_example.module here:

http://api.drupal.org/api/5/file/developer/examples/node_example.module

to the node_example.module here:

http://api.drupal.org/api/5/file/developer/examples/node_example.module/...

which I guess would be an opportunity to bring the example up to date...

nielsbom’s picture

Component: Developer Guide » Correction/Clarification

Changed the component to reflect the new component categorization. See http://drupal.org/node/301443
-nielsbom