_menu_navigation_links_rebuild has poorly-written comments:

  // Updated items and customized items which router paths are gone need new
  // router paths.

s/which/whose

  // Find any items where their router path does not exist any more.

s/where their/whose yet again.

Comments

ax’s picture

Component: menu system » documentation
Status: Active » Reviewed & tested by the community
StatusFileSize
new1.6 KB

made a patch. it's 2 comment lines, so i set it to rtbc.

catch’s picture

Changes looks good.

dries’s picture

Status: Reviewed & tested by the community » Needs work

Patch no longer applies. Oops.

ax’s picture

Status: Needs work » Reviewed & tested by the community
StatusFileSize
new891 bytes

it applies cleanly against DRUPAL-6, for which it is filed. attached a patch against HEAD.

cburschka’s picture

The HEAD patch is missing the first correction to _menu_navigation_links_rebuild ("which"). Leaving as RTBC for D6, however.

ax’s picture

StatusFileSize
new1.6 KB

sorry, had a somehow sticky HEAD version here with a menu.inc not up-to-date. new patch against HEAD has both corrections.

gábor hojtsy’s picture

Version: 6.x-dev » 7.x-dev

Committed #1 to 6.x. Still RTBC for 7.x (for which #6 was rolled).

dries’s picture

Status: Reviewed & tested by the community » Needs work

This patch no longer applies and needs to be re-rolled.

cburschka’s picture

Title: Doxygen comments, bad English » _menu_navigation_links_rebuild comments have bad English
Status: Needs work » Needs review
StatusFileSize
new1.58 KB

Fixed title because these aren't actually doxygen comments. Rerolled, too.

floretan’s picture

Status: Needs review » Reviewed & tested by the community

Patch applies cleanly to HEAD.

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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