Posted by joachim on August 2, 2011 at 8:37am
5 followers
| Project: | Drupal core |
| Version: | 8.x-dev |
| Component: | documentation |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
| Issue tags: | needs backport to D7 |
Issue Summary
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.
Comments
#1
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.
#2
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.
#3
Committed to 7.x and 8.x. Thanks!
#4
Automatically closed -- issue fixed for 2 weeks with no activity.