API page: http://api.drupal.org/api/drupal/modules--node--node.pages.inc/function/...

Describe the problem you have found:

> Menu callback; presents the node editing form, or redirects to delete confirmation.

I don't think this function does the 'redirects to delete confirmation' part.

CommentFileSizeAuthor
#1 1236594-01-node_page_edit-comment.patch415 byteslinclark
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anonymous’s picture

Component: node.module » documentation
Status: Active » Needs review
FileSize
415 bytes

You're right. While it will pass through node_page_edit again on the way to delete confirmation, the logic isn't in this function.

Similar functions, such as user_profile_form, do not have this comment even though they function in the same way, so it makes sense to remove the comment.

jhodgdon’s picture

Title: Documentation problem with node_page_edit » node_page_edit doc has wrong information
Status: Needs review » Reviewed & tested by the community
Issue tags: +Needs backport to D7

Patch is OK for 7.x/8.x. We need to make some standards for menu callback docs... I think there was an issue that never was resolved. Sigh. They're all over the map currently, but no reason to hold this correction up.

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 7.x and 8.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.