WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#13829 closed task (blessed) (fixed)

Introduce menu_page_url($hookname) so plugins don't hardcode menu links

Reported by: nacin Owned by: westi
Milestone: 3.0 Priority: normal
Severity: normal Version:
Component: Plugins Keywords:
Focuses: Cc:

Description (last modified by westi)

menu_page_url($slug, $echo = true)

Attachments (1)

menu_page_url.diff (2.2 KB) - added by westi 4 years ago.
Kittehs first patch

Download all attachments as: .zip

Change History (5)

comment:1 westi4 years ago

  • Owner set to westi
  • Status changed from new to accepted

comment:2 westi4 years ago

  • Description modified (diff)

Kitteh iz writing this with me

westi4 years ago

Kittehs first patch

comment:4 westi4 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

Fixed in [15203]: Introduce menu_page_url() for plugins to use to get the url for the pages they have added. Fixes #13829 props o'malley for all the cuteness.

Note: See TracTickets for help on using tickets.